File tree 7 files changed +20
-21
lines changed
7 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 46
46
args :
47
47
- " --v=5"
48
48
- " --endpoint=$(CSI_ENDPOINT)"
49
- - " --nodeid=$(KUBE_NODE_NAME)"
50
49
env :
51
50
- name : CSI_ENDPOINT
52
51
value : unix:/csi/csi.sock
53
- - name : KUBE_NODE_NAME
54
- valueFrom :
55
- fieldRef :
56
- fieldPath : spec.nodeName
57
52
- name : GOOGLE_APPLICATION_CREDENTIALS
58
53
value : " /etc/cloud-sa/cloud-sa.json"
59
54
volumeMounts :
Original file line number Diff line number Diff line change @@ -11,5 +11,7 @@ readonly KUBEDEPLOY="${PKGDIR}/deploy/kubernetes"
11
11
12
12
kubectl delete -f " ${KUBEDEPLOY} /node.yaml" --ignore-not-found
13
13
kubectl delete -f " ${KUBEDEPLOY} /controller.yaml" --ignore-not-found
14
+ kubectl delete -f " ${KUBEDEPLOY} /zonal-sc.yaml" --ignore-not-found
15
+ kubectl delete -f " ${KUBEDEPLOY} /regional-sc.yaml" --ignore-not-found
14
16
kubectl delete -f " ${KUBEDEPLOY} /setup-cluster.yaml" --ignore-not-found
15
17
kubectl delete secret cloud-sa --ignore-not-found
Original file line number Diff line number Diff line change 28
28
fi
29
29
30
30
kubectl apply -f " ${KUBEDEPLOY} /setup-cluster.yaml"
31
+ kubectl apply -f " ${KUBEDEPLOY} /zonal-sc.yaml"
31
32
kubectl apply -f " ${KUBEDEPLOY} /node.yaml"
32
33
kubectl apply -f " ${KUBEDEPLOY} /controller.yaml"
Original file line number Diff line number Diff line change 40
40
args :
41
41
- " --v=5"
42
42
- " --endpoint=$(CSI_ENDPOINT)"
43
- - " --nodeid=$(KUBE_NODE_NAME)"
44
43
env :
45
44
- name : CSI_ENDPOINT
46
45
value : unix:/csi/csi.sock
47
- - name : KUBE_NODE_NAME
48
- valueFrom :
49
- fieldRef :
50
- fieldPath : spec.nodeName
51
46
volumeMounts :
52
47
- name : kubelet-dir
53
48
mountPath : /var/lib/kubelet
Original file line number Diff line number Diff line change
1
+ apiVersion : storage.k8s.io/v1beta1
2
+ kind : StorageClass
3
+ metadata :
4
+ name : csi-gce-pd
5
+ provisioner : csi-gce-pd
6
+ parameters :
7
+ type : pd-standard
8
+ replication-type : regional-pd
9
+ volumeBindingMode : Immediate
Original file line number Diff line number Diff line change 1
- apiVersion : storage.k8s.io/v1beta1
2
- kind : StorageClass
3
- metadata :
4
- name : csi-gce-pd
5
- provisioner : csi-gce-pd
6
- parameters :
7
- type : pd-standard
8
- volumeBindingMode : Immediate
9
-
10
- ---
11
-
12
1
kind : ClusterRole
13
2
apiVersion : rbac.authorization.k8s.io/v1
14
3
metadata :
Original file line number Diff line number Diff line change
1
+ apiVersion : storage.k8s.io/v1beta1
2
+ kind : StorageClass
3
+ metadata :
4
+ name : csi-gce-pd
5
+ provisioner : csi-gce-pd
6
+ parameters :
7
+ type : pd-standard
8
+ volumeBindingMode : Immediate
You can’t perform that action at this time.
0 commit comments