initial commit
This commit is contained in:
commit
99a66f4cfd
15 changed files with 287 additions and 0 deletions
29
k8s/deployment.yaml.template
Normal file
29
k8s/deployment.yaml.template
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue