Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Add sshbarrier to ssh plugin #3587

Merged
merged 9 commits into from
Sep 10, 2019
Merged

Add sshbarrier to ssh plugin #3587

merged 9 commits into from
Sep 10, 2019

Conversation

wangdian
Copy link
Member

@wangdian wangdian commented Sep 6, 2019

If sshbarrier is defined, the ssh will wait until all configured taskrole containers can be attached.

userssh:
type: string
value: string
```
- jobssh: true to enable job container wise ssh, false to disable.
- sshbarrier: wait until can ssh to all defined taskrole's job containers. Only valid when jobssh is true.
Copy link
Contributor

@fanyangCS fanyangCS Sep 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please define sshbarrier for the whole job level, instead of the task role level. I mean, you can just define sshbarrier as a boolean, when true, all containers should wait until sshd is ready.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now sshbarrier is a boolean to define if barrier is enabled.
Use optional param sshbarriertaskroles to identify specific taskroles that barrier watches to meet advanced requirements.

@fanyangCS fanyangCS requested review from ydye and joveryz September 6, 2019 12:39
@abuccts abuccts mentioned this pull request Sep 9, 2019
42 tasks
@abuccts abuccts requested a review from Binyang2014 September 9, 2019 06:28
@wangdian wangdian requested a review from fanyangCS September 10, 2019 02:07
Add error spec for SSH barrier.
Refine code based on code review
Copy link
Contributor

@Binyang2014 Binyang2014 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@wangdian wangdian merged commit 91a6d2a into master Sep 10, 2019
@wangdian wangdian deleted the diawang/k8s-sshbarrier branch November 28, 2019 08:52
@hzy46 hzy46 mentioned this pull request Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants