Merge pull request #2063 from Omnition/selector

Add required selector option to daemonset
This commit is contained in:
David Ashpole 2018-10-04 15:22:45 -07:00 committed by GitHub
commit 43a86a3cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,13 @@ metadata:
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
selector:
matchLabels:
name: cadvisor
template:
metadata:
labels:
name: cadvisor
spec:
containers:
- name: cadvisor