fuckeduppdp/k8s/deployment.yaml.template

30 lines
588 B
Plaintext
Raw Normal View History

2023-10-26 01:25:51 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: pdp
labels:
app.kubernetes.io/name: pdp
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: pdp
template:
metadata:
labels:
app.kubernetes.io/name: pdp
spec:
volumes:
- name: disk
persistentVolumeClaim:
claimName: pdp-disk
containers:
- name: pdp
image: <TAG>
volumeMounts:
- name: disk
mountPath: /mnt
securityContext:
allowPrivilegeEscalation: true
privileged: true