Skip to content

Commit

Permalink
fix yurthub dnsPolicy when using pool-coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
JameKeal committed Mar 21, 2023
1 parent 056ba74 commit 04f2690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/setup/yurthub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: yurt-hub
namespace: kube-system
spec:
dnsPolicy: ClusterFirstWithHostNet
volumes:
- name: hub-dir
hostPath:
Expand Down
1 change: 1 addition & 0 deletions pkg/yurtadm/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ metadata:
name: yurt-hub
namespace: kube-system
spec:
dnsPolicy: ClusterFirstWithHostNet
volumes:
- name: hub-dir
hostPath:
Expand Down

0 comments on commit 04f2690

Please sign in to comment.