Skip to content

Commit b6331e2

Browse files
authored
Merge pull request #349 from pohly/deploy-distributed-capacity
deploy: move distributed example from alpha to beta CSIStorageCapacity
2 parents a05f826 + 7155408 commit b6331e2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

deploy/kubernetes-distributed/deploy.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ done
174174
# changed via CSI_PROVISIONER_TAG, so we cannot just check for the version currently
175175
# listed in the YAML file.
176176
case "$CSI_PROVISIONER_TAG" in
177-
"") csistoragecapacities_api=v1alpha1;; # unchanged, assume version from YAML
178-
*) csistoragecapacities_api=v1beta1;; # set, assume that it is more recent *and* a version that uses v1beta1 (https://github.com/kubernetes-csi/external-provisioner/pull/584)
177+
*) csistoragecapacities_api=v1beta1;; # we currently always use that version
179178
esac
180179
get_csistoragecapacities=$(kubectl get csistoragecapacities.${csistoragecapacities_api}.storage.k8s.io 2>&1 || true)
181180
if echo "$get_csistoragecapacities" | grep -q "the server doesn't have a resource type"; then

deploy/kubernetes-distributed/hostpath/csi-hostpath-driverinfo.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ spec:
1717
podInfoOnMount: true
1818
# No attacher needed.
1919
attachRequired: false
20-
# alpha: opt into capacity-aware scheduling
2120
storageCapacity: true

0 commit comments

Comments
 (0)