blog added
This commit is contained in:
26
blog/blog-daemonset.yaml
Normal file
26
blog/blog-daemonset.yaml
Normal 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
|
||||
Reference in New Issue
Block a user