mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Merge pull request #31617 from jsafrane/default-storage-class
Automatic merge from submit-queue Deploy a default StorageClass instance on AWS and GCE This needs a newer kubectl in kube-addons-manager container. It's quite tricky to test as I cannot push new container image to gcr.io and I must copy the newer container manually. cc @kubernetes/sig-storage **Release note**: ```release-note Kubernetes now installs a default StorageClass object when deployed on AWS, GCE and OpenStack with kube-up.sh scripts. This StorageClass will automatically provision a PeristentVolume in corresponding cloud for a PersistentVolumeClaim that cannot be satisfied by any existing matching PersistentVolume in Kubernetes. To override this default provisioning, administrators must manually delete this default StorageClass. ```
This commit is contained in:
@@ -637,6 +637,7 @@ KUBE_ADDON_REGISTRY: $(yaml-quote ${KUBE_ADDON_REGISTRY:-})
|
||||
MULTIZONE: $(yaml-quote ${MULTIZONE:-})
|
||||
NON_MASQUERADE_CIDR: $(yaml-quote ${NON_MASQUERADE_CIDR:-})
|
||||
KUBE_UID: $(yaml-quote ${KUBE_UID:-})
|
||||
ENABLE_DEFAULT_STORAGE_CLASS: $(yaml-quote ${ENABLE_DEFAULT_STORAGE_CLASS:-})
|
||||
EOF
|
||||
if [ -n "${KUBELET_PORT:-}" ]; then
|
||||
cat >>$file <<EOF
|
||||
|
Reference in New Issue
Block a user