blog added

This commit is contained in:
Justine Pelletreau
2022-06-19 13:57:11 +02:00
parent 9c6bb08620
commit 8380588edc
5 changed files with 84 additions and 0 deletions

26
blog/blog-daemonset.yaml Normal file
View File

@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
run: blog
name: blog
spec:
selector:
matchLabels:
run: blog
template:
metadata:
labels:
run: blog
spec:
containers:
- image: nginx:latest
name: blog
volumeMounts:
- mountPath: /usr/share/nginx/html
name: blog
restartPolicy: Always
volumes:
- name: blog
persistentVolumeClaim:
claimName: blog