Skip to content

Commit 865a0fd

Browse files
committed
cluster-api: add IPv6 kind presubmit for debugging
1 parent 8447b63 commit 865a0fd

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

config/jobs/kubernetes-sigs/cluster-api/cluster-api-main-presubmits.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,3 +532,57 @@ presubmits:
532532
annotations:
533533
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
534534
testgrid-tab-name: capi-pr-e2e-latestk8s-main
535+
# network test against kubernetes master branch with `kind` ipv6
536+
- name: capi-kubernetes-kind-network-ipv6
537+
cluster: eks-prow-build-cluster
538+
labels:
539+
preset-service-account: "true"
540+
preset-dind-enabled: "true"
541+
preset-kind-volume-mounts: "true"
542+
optional: true
543+
decorate: true
544+
decoration_config:
545+
timeout: 200m
546+
extra_refs:
547+
- org: kubernetes-sigs
548+
repo: kind
549+
base_ref: main
550+
path_alias: sigs.k8s.io/kind
551+
- org: kubernetes
552+
repo: kubernetes
553+
base_ref: master
554+
path_alias: k8s.io/kubernetes
555+
spec:
556+
containers:
557+
- image: gcr.io/k8s-staging-test-infra/krte:v20250717-57d1ca3de9-master
558+
command:
559+
- cd ./../kind &&
560+
- wrapper.sh
561+
- bash
562+
- -c
563+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
564+
env:
565+
# enable IPV6 in bootstrap image
566+
- name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
567+
value: "true"
568+
# tell kind CI script to use ipv6
569+
- name: "IP_FAMILY"
570+
value: "ipv6"
571+
- name: FOCUS
572+
value: \[sig-network\]|\[Conformance\]
573+
- name: SKIP
574+
value: Alpha|Beta|LoadBalancer|Disruptive|Flaky|Networking-IPv4|IPv6DualStack|Internet.connection|PerformanceDNS|upstream.nameserver|SCTPConnectivity
575+
# we need privileged mode in order to do docker in docker
576+
securityContext:
577+
privileged: true
578+
resources:
579+
limits:
580+
cpu: 4
581+
memory: 9Gi
582+
requests:
583+
cpu: 4
584+
memory: 9Gi
585+
annotations:
586+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
587+
testgrid-tab-name: capi-kubernetes-kind-network-ipv6
588+
description: For debugging IPv6 issues. Runs network tests using KIND against latest kubernetes master with an IPv6 kubernetes-in-docker cluster

0 commit comments

Comments
 (0)