File tree Expand file tree Collapse file tree 6 files changed +25
-20
lines changed Expand file tree Collapse file tree 6 files changed +25
-20
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ gce-pd-driver:
2828 go build -ldflags " -X main.vendorVersion=${STAGINGVERSION} " -o bin/gce-pd-csi-driver ./cmd/
2929
3030build-container :
31- ifndef GCE_PD_CSI_STAGING_IMAGE
32- $(error "Must set environment variable GCE_PD_CSI_STAGING_IMAGE to staging image repository")
33- endif
31+ ifndef GCE_PD_CSI_STAGING_IMAGE
32+ $(error "Must set environment variable GCE_PD_CSI_STAGING_IMAGE to staging image repository")
33+ endif
3434 docker build --build-arg TAG=$(STAGINGVERSION) -t $(STAGINGIMAGE):$(STAGINGVERSION) .
3535
3636push-container : build-container
Original file line number Diff line number Diff line change 11WARNING: This driver is in ALPHA currently. This means that there may be
22potentially backwards compatability breaking changes moving forward. Do NOT use
3- this drive in a production environment in its current state.
3+ this driver in a production environment in its current state.
4+
5+ WARNING: The ALPHA driver is NOT compatible with Kubernetes versions 1.12+.
46
57DISCLAIMER: This is not an officially supported Google product
68
@@ -23,7 +25,10 @@ Latest image: `gcr.io/google-containers/volume-csi/gcp-compute-persistent-disk-c
2325This plugin is compatible with CSI versions [ v0.2.0] ( https://github.com/container-storage-interface/spec/blob/v0.2.0/spec.md ) and [ v0.3.0] ( https://github.com/container-storage-interface/spec/blob/v0.3.0/spec.md )
2426
2527### Kubernetes Compatibility
26- This plugin can be used as-is beginning with Kubernetes v1.10.5
28+ | GCE PD CSI Driver\Kubernetes Version | 1.10.5 - 1.11 | 1.12+ |
29+ | --------------------------------------| ---------------| ------|
30+ | v0.1.0.alpha (stable) | yes | no |
31+ | dev | no | yes |
2732
2833### Known Issues
2934See Github [ Issues] ( https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/issues )
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ spec:
1717 containers :
1818 - name : csi-provisioner
1919 imagePullPolicy : Always
20- image : quay.io/k8scsi/csi-provisioner:v0.2.0
20+ image : quay.io/k8scsi/csi-provisioner:v0.3.1
2121 args :
2222 - " --v=5"
23- - " --provisioner=csi-gce-pd "
23+ - " --provisioner=com.google. csi.gcepd "
2424 - " --csi-address=$(ADDRESS)"
2525 env :
2626 - name : ADDRESS
3030 mountPath : /csi
3131 - name : csi-attacher
3232 imagePullPolicy : Always
33- image : quay.io/k8scsi/csi-attacher:v0.2 .0
33+ image : quay.io/k8scsi/csi-attacher:v0.3 .0
3434 args :
3535 - " --v=5"
3636 - " --csi-address=$(ADDRESS)"
Original file line number Diff line number Diff line change @@ -16,22 +16,23 @@ spec:
1616 containers :
1717 - name : csi-driver-registrar
1818 imagePullPolicy : Always
19- image : quay.io/k8scsi/driver-registrar:v0.2 .0
19+ image : quay.io/k8scsi/driver-registrar:v0.3 .0
2020 args :
2121 - " --v=5"
2222 - " --csi-address=$(ADDRESS)"
23+ - " --kubelet-registration-path=/var/lib/kubelet/plugins/com.google.csi.gcepd/csi.sock"
2324 env :
2425 - name : ADDRESS
25- value : /csi/csi.sock
26+ value : /var/lib/kubelet/plugins/com.google. csi.gcepd /csi.sock
2627 - name : KUBE_NODE_NAME
2728 valueFrom :
2829 fieldRef :
2930 fieldPath : spec.nodeName
3031 volumeMounts :
3132 - name : plugin-dir
32- mountPath : /csi
33- # - name: registrar-socket -dir
34- # mountPath: /var/lib/csi/sockets/
33+ mountPath : /var/lib/kubelet/plugins/com.google. csi.gcepd/
34+ - name : registration -dir
35+ mountPath : /registration
3536 - name : gce-pd-driver
3637 securityContext :
3738 privileged : true
@@ -52,11 +53,10 @@ spec:
5253 - name : device-dir
5354 mountPath : /host/dev
5455 volumes :
55- # TODO(#92): this will work when kublet registrar functionality exists
56- # - name: registrar-socket-dir
57- # hostPath:
58- # path: /var/lib/kubelet/device-plugins/
59- # type: DirectoryOrCreate
56+ - name : registration-dir
57+ hostPath :
58+ path : /var/lib/kubelet/plugins/
59+ type : Directory
6060 - name : kubelet-dir
6161 hostPath :
6262 path : /var/lib/kubelet
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
22kind : StorageClass
33metadata :
44 name : csi-gce-pd
5- provisioner : csi-gce-pd
5+ provisioner : com.google. csi.gcepd
66parameters :
77 type : pd-standard
88 replication-type : regional-pd
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
22kind : StorageClass
33metadata :
44 name : csi-gce-pd
5- provisioner : csi-gce-pd
5+ provisioner : com.google. csi.gcepd
66parameters :
77 type : pd-standard
88volumeBindingMode : Immediate
You can’t perform that action at this time.
0 commit comments