modified: infrastructure/rook-ceph/cluster.yaml modified: infrastructure/rook-ceph/objectstore.yaml new file: infrastructure/rook-ceph/toolbox.yaml
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: rook-ceph-tools
|
|
namespace: rook-ceph
|
|
labels:
|
|
app: rook-ceph-tools
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: rook-ceph-tools
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: rook-ceph-tools
|
|
spec:
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
containers:
|
|
- name: rook-ceph-tools
|
|
image: quay.io/ceph/ceph:v18.2.2
|
|
command: ["/bin/bash"]
|
|
args: ["-c", "while true; do sleep 10; done"]
|
|
securityContext:
|
|
runAsUser: 0
|
|
runAsNonRoot: false
|
|
volumeMounts:
|
|
- mountPath: /etc/ceph
|
|
name: mon-endpoint-volume
|
|
- mountPath: /var/lib/rook
|
|
name: rook-config
|
|
volumes:
|
|
- name: mon-endpoint-volume
|
|
configMap:
|
|
name: rook-ceph-mon-endpoints
|
|
items:
|
|
- key: data
|
|
path: mon-endpoints
|
|
- name: rook-config
|
|
emptyDir: {}
|
|
tolerations:
|
|
- key: "node.kubernetes.io/unreachable"
|
|
operator: "Exists"
|
|
effect: "NoExecute"
|
|
tolerationSeconds: 5
|