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