apiVersion: apps/v1
kind: DaemonSet
metadata:
name: test-daemonset
spec:
selector:
matchLabels:
k8s-app: test-daemonset
template:
labels:
containers:
- name: webserver
image: nginx
ports:
- containerPort: 80