k8s-samples/CKA_Course/advanced_allocation/daemonset.yaml

17 lines
267 B
YAML
Raw Permalink Normal View History

2022-08-17 02:59:58 +00:00
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: my-daemonset
spec:
selector:
matchLabels:
app: my-daemonset
template:
metadata:
labels:
app: my-damonset
spec:
containers:
- name: nginx
image: nginx:1.19.1