This commit is contained in:
25
debug-pod.yaml
Normal file
25
debug-pod.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: alpine-debug
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: alpine-debug
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: alpine-debug
|
||||
spec:
|
||||
containers:
|
||||
- name: alpine-debug
|
||||
image: alpine:latest
|
||||
command: ["sleep", "3600"]
|
||||
volumeMounts:
|
||||
- name: knot-config
|
||||
mountPath: /mnt
|
||||
volumes:
|
||||
- name: knot-config
|
||||
persistentVolumeClaim:
|
||||
claimName: knot-dns-config
|
||||
Reference in New Issue
Block a user