-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(k8s): avoid issues with NFS provisioner on node/pod eviction
Enabling persistence hould avoid problems when pods are evicted, e.g. due to resource constraints or node upgrades. We're making the transition relatively seamless by creating a new storage class, and switching from StatefulSet to Deployment (which makes the underlying volume easier to manage and manipulate). This needed a fork of the Helm chart, so we now need to track that manually.
- Loading branch information
Showing
25 changed files
with
767 additions
and
33 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
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
2 changes: 1 addition & 1 deletion
2
garden-service/static/kubernetes/system/build-sync/templates/volume.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,9 @@ resources: | |
storage: | ||
request: 2Gi | ||
|
||
pvc: | ||
name: garden-build-sync | ||
|
||
nodeSelector: {} | ||
|
||
tolerations: [] | ||
|
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
17 changes: 17 additions & 0 deletions
17
garden-service/static/kubernetes/system/nfs-provisioner/Chart.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
appVersion: 2.2.3-0 | ||
description: nfs-server-provisioner is an out-of-tree dynamic provisioner for Kubernetes. | ||
You can use it to quickly & easily deploy shared storage that works almost anywhere. | ||
home: https://github.com/kubernetes/charts/tree/master/stable/nfs-server-provisioner | ||
keywords: | ||
- nfs | ||
- storage | ||
maintainers: | ||
- email: [email protected] | ||
name: kiall | ||
- email: [email protected] | ||
name: joaocc | ||
name: nfs-server-provisioner | ||
sources: | ||
- https://github.com/kubernetes-incubator/external-storage/tree/master/nfs | ||
version: 0.4.0-0 |
Oops, something went wrong.