22 lines
346 B
YAML
22 lines
346 B
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: my-daemonset
|
|
labels:
|
|
app: foo
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: foo
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: foo
|
|
spec:
|
|
containers:
|
|
- name: foo
|
|
image: microsoft/windowsservercore:1709
|
|
nodeSelector:
|
|
kubernetes.io/os: windows
|
|
|