-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(localpv-hostpath): support provisioning on nodes with taints (#1560
) Provisioning Local PV with hostpath requires launching of helper pods to create or delete the PV directory. This feature support launching helper pods on nodes that have taints. The provisioner will get the taints applied on the node and apply them as tolerations to the helper pods. Refer: openebs/openebs#2860 This commit does the following: - Adds - Taints information to the podOpts - Extends the Pod Builder with a new method that will convert taints to tolerations - A node object is passed to the PV creation, so taints are easily extracted. - During PV deletion, fetch the node object from hostname - used during delete of the volume Signed-off-by: Rahul M Chheda <[email protected]>
- Loading branch information
1 parent
d550021
commit 5228dc2
Showing
4 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters