Skip to content

Commit

Permalink
pinger: use fully qualified domain name (#3032)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Jul 12, 2023
1 parent b5b0eea commit 6af54f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ POD_GATEWAY="10.16.0.1"
SVC_CIDR="10.96.0.0/12" # Do NOT overlap with NODE/POD/JOIN CIDR
JOIN_CIDR="100.64.0.0/16" # Do NOT overlap with NODE/POD/SVC CIDR
PINGER_EXTERNAL_ADDRESS="114.114.114.114" # Pinger check external ip probe
PINGER_EXTERNAL_DOMAIN="alauda.cn" # Pinger check external domain probe
PINGER_EXTERNAL_DOMAIN="alauda.cn." # Pinger check external domain probe
SVC_YAML_IPFAMILYPOLICY=""
if [ "$IPV6" = "true" ]; then
POD_CIDR="fd00:10:16::/64" # Do NOT overlap with NODE/SVC/JOIN CIDR
POD_GATEWAY="fd00:10:16::1"
SVC_CIDR="fd00:10:96::/112" # Do NOT overlap with NODE/POD/JOIN CIDR
JOIN_CIDR="fd00:100:64::/64" # Do NOT overlap with NODE/POD/SVC CIDR
PINGER_EXTERNAL_ADDRESS="2400:3200::1"
PINGER_EXTERNAL_DOMAIN="google.com"
PINGER_EXTERNAL_DOMAIN="google.com."
fi
if [ "$DUAL_STACK" = "true" ]; then
POD_CIDR="10.16.0.0/16,fd00:10:16::/64" # Do NOT overlap with NODE/SVC/JOIN CIDR
POD_GATEWAY="10.16.0.1,fd00:10:16::1"
SVC_CIDR="10.96.0.0/12,fd00:10:96::/112" # Do NOT overlap with NODE/POD/JOIN CIDR
JOIN_CIDR="100.64.0.0/16,fd00:100:64::/64" # Do NOT overlap with NODE/POD/SVC CIDR
PINGER_EXTERNAL_ADDRESS="114.114.114.114,2400:3200::1"
PINGER_EXTERNAL_DOMAIN="google.com"
PINGER_EXTERNAL_DOMAIN="google.com."
SVC_YAML_IPFAMILYPOLICY="ipFamilyPolicy: PreferDualStack"
fi

Expand Down
2 changes: 1 addition & 1 deletion yamls/kube-ovn-dual-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ spec:
command:
- /kube-ovn/kube-ovn-pinger
- --external-address=114.114.114.114,2400:3200::1
- --external-dns=alauda.cn
- --external-dns=google.com.
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down
2 changes: 1 addition & 1 deletion yamls/kube-ovn-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ spec:
command:
- /kube-ovn/kube-ovn-pinger
- --external-address=2400:3200::1
- --external-dns=alauda.cn
- --external-dns=google.com.
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down
2 changes: 1 addition & 1 deletion yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ spec:
command:
- /kube-ovn/kube-ovn-pinger
- --external-address=114.114.114.114
- --external-dns=alauda.cn
- --external-dns=alauda.cn.
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down

0 comments on commit 6af54f9

Please sign in to comment.