Skip to content

Commit

Permalink
Merge pull request #45 from ArangoGutierrez/dns
Browse files Browse the repository at this point in the history
Enable service DNS for nfd-master
  • Loading branch information
k8s-ci-robot authored Jan 25, 2021
2 parents 75c4031 + ce11ab8 commit 1a6e624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/worker/0700_worker_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
- key: node-role.kubernetes.io/node
operator: Exists
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccount: nfd-worker
readOnlyRootFilesystem: true
containers:
Expand All @@ -41,7 +42,7 @@ spec:
- "nfd-worker"
args:
- "--sleep-interval=60s"
- "--server=$(NFD_MASTER_SERVICE_HOST):$(NFD_MASTER_SERVICE_PORT)"
- "--server=nfd-master:$(NFD_MASTER_SERVICE_PORT)"
volumeMounts:
- name: host-boot
mountPath: "/host-boot"
Expand Down

0 comments on commit 1a6e624

Please sign in to comment.