mirror of https://github.com/k3s-io/k3s
19 lines
330 B
YAML
19 lines
330 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: DaemonSet
|
||
|
metadata:
|
||
|
name: test-daemonset
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
k8s-app: test-daemonset
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: test-daemonset
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: webserver
|
||
|
image: nginx
|
||
|
ports:
|
||
|
- containerPort: 80
|