parent
b224cfb516
commit
a9c959d924
@ -5,12 +5,12 @@ metadata:
|
|||||||
name: csi-rbdplugin-provisioner
|
name: csi-rbdplugin-provisioner
|
||||||
namespace: ceph-csi
|
namespace: ceph-csi
|
||||||
labels:
|
labels:
|
||||||
app: csi‑metrics
|
app: csi-metrics
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: csi‑rbdplugin‑provisioner
|
app: csi-rbdplugin-provisioner
|
||||||
ports:
|
ports:
|
||||||
- name: http‑metrics
|
- name: http-metrics
|
||||||
port: 8080
|
port: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8680
|
targetPort: 8680
|
||||||
@ -19,17 +19,17 @@ spec:
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: csi‑rbdplugin‑provisioner
|
name: csi-rbdplugin-provisioner
|
||||||
namespace: ceph-csi
|
namespace: ceph-csi
|
||||||
spec:
|
spec:
|
||||||
replicas: 3
|
replicas: 3
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: csi‑rbdplugin‑provisioner
|
app: csi-rbdplugin-provisioner
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: csi‑rbdplugin‑provisioner
|
app: csi-rbdplugin-provisioner
|
||||||
spec:
|
spec:
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
@ -39,12 +39,12 @@ spec:
|
|||||||
- key: app
|
- key: app
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- csi‑rbdplugin‑provisioner
|
- csi-rbdplugin-provisioner
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
serviceAccountName: rbd‑csi‑provisioner
|
serviceAccountName: rbd-csi-provisioner
|
||||||
priorityClassName: system‑cluster‑critical
|
priorityClassName: system-cluster-critical
|
||||||
containers:
|
containers:
|
||||||
- name: csi‑rbdplugin
|
- name: csi-rbdplugin
|
||||||
image: quay.io/cephcsi/cephcsi:v3.15
|
image: quay.io/cephcsi/cephcsi:v3.15
|
||||||
args:
|
args:
|
||||||
- "--nodeid=$(NODE_ID)"
|
- "--nodeid=$(NODE_ID)"
|
||||||
|
|||||||
@ -2,24 +2,24 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
name: csi‑rbdplugin
|
name: csi-rbdplugin
|
||||||
namespace: ceph-csi
|
namespace: ceph-csi
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: csi‑rbdplugin
|
app: csi-rbdplugin
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: csi‑rbdplugin
|
app: csi-rbdplugin
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: rbd‑csi‑nodeplugin
|
serviceAccountName: rbd-csi-nodeplugin
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
hostPID: true
|
hostPID: true
|
||||||
priorityClassName: system‑node‑critical
|
priorityClassName: system-node-critical
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
containers:
|
containers:
|
||||||
- name: csi‑rbdplugin
|
- name: csi-rbdplugin
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
capabilities:
|
capabilities:
|
||||||
@ -89,7 +89,7 @@ spec:
|
|||||||
- name: oidc-token
|
- name: oidc-token
|
||||||
mountPath: /run/secrets/tokens
|
mountPath: /run/secrets/tokens
|
||||||
readOnly: true
|
readOnly: true
|
||||||
# possibly sidecars like driver‑registrar, liveness, etc.
|
# possibly sidecars like driver-registrar, liveness, etc.
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
@ -144,12 +144,12 @@ metadata:
|
|||||||
name: csi-metrics-rbdplugin
|
name: csi-metrics-rbdplugin
|
||||||
namespace: ceph-csi
|
namespace: ceph-csi
|
||||||
labels:
|
labels:
|
||||||
app: csi‑metrics
|
app: csi-metrics
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: http‑metrics
|
- name: http-metrics
|
||||||
port: 8080
|
port: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8680
|
targetPort: 8680
|
||||||
selector:
|
selector:
|
||||||
app: csi‑rbdplugin
|
app: csi-rbdplugin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user