Skip to content

Commit

Permalink
Update calico ippool (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
lou-lan authored Aug 3, 2023
1 parent 7b36949 commit 58ae14a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/common/eip.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ func CheckEipInClientPod(f *framework.Framework, pod *corev1.Pod, eIP, serverIP
default:
out, err := GetClientPodLog(f, pod, serverIP, connectionTimeout, logDuration)
Expect(err).NotTo(HaveOccurred())
GinkgoWriter.Printf("the client-pod log: \n%s\n", out)
if err != nil {
GinkgoWriter.Printf("the client-pod log: \n%s\n", out)
}
if expect {
if strings.Contains(out, WEBSOCKET) && strings.Contains(out, eIP) {
webSocketOk = true
Expand Down
2 changes: 2 additions & 0 deletions test/yaml/calico.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4495,6 +4495,8 @@ spec:
# Use Kubernetes API as the backing datastore.
- name: DATASTORE_TYPE
value: "kubernetes"
- name: "CALICO_IPV6POOL_NAT_OUTGOING"
value: "true"
# Wait for the datastore.
- name: WAIT_FOR_DATASTORE
value: "true"
Expand Down

0 comments on commit 58ae14a

Please sign in to comment.