File tree 6 files changed +25
-20
lines changed
6 files changed +25
-20
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ gce-pd-driver:
28
28
go build -ldflags " -X main.vendorVersion=${STAGINGVERSION} " -o bin/gce-pd-csi-driver ./cmd/
29
29
30
30
build-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
34
34
docker build --build-arg TAG=$(STAGINGVERSION) -t $(STAGINGIMAGE):$(STAGINGVERSION) .
35
35
36
36
push-container : build-container
Original file line number Diff line number Diff line change 1
1
WARNING: This driver is in ALPHA currently. This means that there may be
2
2
potentially 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+.
4
6
5
7
DISCLAIMER: This is not an officially supported Google product
6
8
@@ -23,7 +25,10 @@ Latest image: `gcr.io/google-containers/volume-csi/gcp-compute-persistent-disk-c
23
25
This 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 )
24
26
25
27
### 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 |
27
32
28
33
### Known Issues
29
34
See 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:
17
17
containers :
18
18
- name : csi-provisioner
19
19
imagePullPolicy : Always
20
- image : quay.io/k8scsi/csi-provisioner:v0.2.0
20
+ image : quay.io/k8scsi/csi-provisioner:v0.3.1
21
21
args :
22
22
- " --v=5"
23
- - " --provisioner=csi-gce-pd "
23
+ - " --provisioner=com.google. csi.gcepd "
24
24
- " --csi-address=$(ADDRESS)"
25
25
env :
26
26
- name : ADDRESS
30
30
mountPath : /csi
31
31
- name : csi-attacher
32
32
imagePullPolicy : Always
33
- image : quay.io/k8scsi/csi-attacher:v0.2 .0
33
+ image : quay.io/k8scsi/csi-attacher:v0.3 .0
34
34
args :
35
35
- " --v=5"
36
36
- " --csi-address=$(ADDRESS)"
Original file line number Diff line number Diff line change @@ -16,22 +16,23 @@ spec:
16
16
containers :
17
17
- name : csi-driver-registrar
18
18
imagePullPolicy : Always
19
- image : quay.io/k8scsi/driver-registrar:v0.2 .0
19
+ image : quay.io/k8scsi/driver-registrar:v0.3 .0
20
20
args :
21
21
- " --v=5"
22
22
- " --csi-address=$(ADDRESS)"
23
+ - " --kubelet-registration-path=/var/lib/kubelet/plugins/com.google.csi.gcepd/csi.sock"
23
24
env :
24
25
- name : ADDRESS
25
- value : /csi/csi.sock
26
+ value : /var/lib/kubelet/plugins/com.google. csi.gcepd /csi.sock
26
27
- name : KUBE_NODE_NAME
27
28
valueFrom :
28
29
fieldRef :
29
30
fieldPath : spec.nodeName
30
31
volumeMounts :
31
32
- 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
35
36
- name : gce-pd-driver
36
37
securityContext :
37
38
privileged : true
@@ -52,11 +53,10 @@ spec:
52
53
- name : device-dir
53
54
mountPath : /host/dev
54
55
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
60
60
- name : kubelet-dir
61
61
hostPath :
62
62
path : /var/lib/kubelet
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
2
2
kind : StorageClass
3
3
metadata :
4
4
name : csi-gce-pd
5
- provisioner : csi-gce-pd
5
+ provisioner : com.google. csi.gcepd
6
6
parameters :
7
7
type : pd-standard
8
8
replication-type : regional-pd
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
2
2
kind : StorageClass
3
3
metadata :
4
4
name : csi-gce-pd
5
- provisioner : csi-gce-pd
5
+ provisioner : com.google. csi.gcepd
6
6
parameters :
7
7
type : pd-standard
8
8
volumeBindingMode : Immediate
You can’t perform that action at this time.
0 commit comments