mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Update version of GCE PD CSI Driver deployed in tests
This commit is contained in:
parent
6eba154f6e
commit
c6c0bb254a
@ -13,11 +13,15 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: gcp-compute-persistent-disk-csi-driver
|
app: gcp-compute-persistent-disk-csi-driver
|
||||||
spec:
|
spec:
|
||||||
|
# Host network must be used for interaction with Workload Identity in GKE
|
||||||
|
# since it replaces GCE Metadata Server with GKE Metadata Server. Remove
|
||||||
|
# this requirement when issue is resolved and before any exposure of
|
||||||
|
# metrics ports
|
||||||
|
hostNetwork: true
|
||||||
serviceAccountName: csi-gce-pd-controller-sa
|
serviceAccountName: csi-gce-pd-controller-sa
|
||||||
containers:
|
containers:
|
||||||
- name: csi-snapshotter
|
- name: csi-snapshotter
|
||||||
# TODO: replace with official 2.0.0 release when ready
|
image: quay.io/k8scsi/csi-snapshotter:v2.0.1
|
||||||
image: quay.io/k8scsi/csi-snapshotter:v2.0.0-rc2
|
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=/csi/csi.sock"
|
- "--csi-address=/csi/csi.sock"
|
||||||
@ -35,7 +39,7 @@ spec:
|
|||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: gcr.io/gke-release/csi-attacher:v2.0.0-gke.0
|
image: gcr.io/gke-release/csi-attacher:v2.1.1-gke.0
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=/csi/csi.sock"
|
- "--csi-address=/csi/csi.sock"
|
||||||
@ -51,7 +55,7 @@ spec:
|
|||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
- name: gce-pd-driver
|
- name: gce-pd-driver
|
||||||
image: gcr.io/gke-release/gcp-compute-persistent-disk-csi-driver:v0.6.0-gke.0
|
image: gcr.io/gke-release/gcp-compute-persistent-disk-csi-driver:v0.6.2-gke.0
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--endpoint=unix:/csi/csi.sock"
|
- "--endpoint=unix:/csi/csi.sock"
|
||||||
|
@ -11,6 +11,11 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: gcp-compute-persistent-disk-csi-driver
|
app: gcp-compute-persistent-disk-csi-driver
|
||||||
spec:
|
spec:
|
||||||
|
# Host network must be used for interaction with Workload Identity in GKE
|
||||||
|
# since it replaces GCE Metadata Server with GKE Metadata Server. Remove
|
||||||
|
# this requirement when issue is resolved and before any exposure of
|
||||||
|
# metrics ports.
|
||||||
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: csi-driver-registrar
|
- name: csi-driver-registrar
|
||||||
image: gcr.io/gke-release/csi-node-driver-registrar:v1.2.0-gke.0
|
image: gcr.io/gke-release/csi-node-driver-registrar:v1.2.0-gke.0
|
||||||
@ -35,7 +40,7 @@ spec:
|
|||||||
- name: gce-pd-driver
|
- name: gce-pd-driver
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
image: gcr.io/gke-release/gcp-compute-persistent-disk-csi-driver:v0.6.0-gke.0
|
image: gcr.io/gke-release/gcp-compute-persistent-disk-csi-driver:v0.6.2-gke.0
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--endpoint=unix:/csi/csi.sock"
|
- "--endpoint=unix:/csi/csi.sock"
|
||||||
@ -47,7 +52,8 @@ spec:
|
|||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
- name: device-dir
|
- name: device-dir
|
||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
# The following mounts are required to trigger host udevadm from container
|
# The following mounts are required to trigger host udevadm from
|
||||||
|
# container
|
||||||
- name: udev-rules-etc
|
- name: udev-rules-etc
|
||||||
mountPath: /etc/udev
|
mountPath: /etc/udev
|
||||||
- name: udev-rules-lib
|
- name: udev-rules-lib
|
||||||
@ -73,7 +79,8 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /dev
|
path: /dev
|
||||||
type: Directory
|
type: Directory
|
||||||
# The following mounts are required to trigger host udevadm from container
|
# The following mounts are required to trigger host udevadm from
|
||||||
|
# container
|
||||||
- name: udev-rules-etc
|
- name: udev-rules-etc
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/udev
|
path: /etc/udev
|
||||||
@ -90,3 +97,10 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
type: Directory
|
type: Directory
|
||||||
|
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||||
|
# See "special case". This will tolerate everything. Node component should
|
||||||
|
# be scheduled on all nodes.
|
||||||
|
tolerations:
|
||||||
|
- operator: Exists
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/os: linux
|
Loading…
Reference in New Issue
Block a user