mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
28 lines
679 B
YAML
28 lines
679 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: etcd-empty-dir-cleanup
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: etcd-empty-dir-cleanup
|
|
kubernetes.io/cluster-service: "true"
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: etcd-empty-dir-cleanup
|
|
namespace: kube-system
|
|
annotations:
|
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
labels:
|
|
k8s-app: etcd-empty-dir-cleanup
|
|
spec:
|
|
priorityClassName: system-node-critical
|
|
serviceAccountName: etcd-empty-dir-cleanup
|
|
hostNetwork: true
|
|
dnsPolicy: Default
|
|
containers:
|
|
- name: etcd-empty-dir-cleanup
|
|
image: k8s.gcr.io/etcd-empty-dir-cleanup:3.1.10.0
|