Skip to content

Commit 3c4f621

Browse files
authored
Merge pull request #35704 from aojea/kindnet_post
Kindnet post
2 parents a3d3d5b + 8dbb17a commit 3c4f621

File tree

5 files changed

+249
-0
lines changed

5 files changed

+249
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
postsubmits:
2+
kubernetes-sigs/kindnet:
3+
- name: post-kindnet-image
4+
skip_branches:
5+
# do not run on dependabot branches, these exist prior to merge
6+
# only merged code should trigger these jobs
7+
- '^dependabot'
8+
cluster: k8s-infra-prow-build-trusted
9+
annotations:
10+
testgrid-dashboards: sig-network-kindnet, sig-k8s-infra-gcb
11+
testgrid-alert-email: [email protected],[email protected]
12+
testgrid-num-columns-recent: '3'
13+
decorate: true
14+
spec:
15+
serviceAccountName: gcb-builder
16+
containers:
17+
- image: gcr.io/k8s-staging-test-infra/image-builder:v20250914-3092127382
18+
command:
19+
- /run.sh
20+
args:
21+
- --project=k8s-staging-networking
22+
- --scratch-bucket=gs://k8s-staging-networking-gcb
23+
- --env-passthrough=PULL_BASE_SHA
24+
- --build-dir=.
25+
- --with-git-dir
26+
- .
27+
env:
28+
- name: LOG_TO_STDOUT
29+
value: "y"
30+
rerun_auth_config:
31+
github_team_ids:
32+
- 2921947 # kind-maintainers
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# See the OWNERS docs at https://go.k8s.io/owners
2+
3+
reviewers:
4+
- bentheelder
5+
- aojea
6+
approvers:
7+
- bentheelder
8+
- aojea
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
periodics:
2+
- interval: 24h
3+
name: ci-kubernetes-kindnet-conformance-parallel
4+
cluster: k8s-infra-prow-build
5+
labels:
6+
preset-service-account: "true"
7+
preset-dind-enabled: "true"
8+
preset-kind-volume-mounts: "true"
9+
decorate: true
10+
extra_refs:
11+
- org: kubernetes-sigs
12+
repo: kindnet
13+
base_ref: main
14+
path_alias: sigs.k8s.io/kindnet
15+
- org: kubernetes
16+
repo: kubernetes
17+
base_ref: master
18+
path_alias: k8s.io/kubernetes
19+
spec:
20+
containers:
21+
- image: gcr.io/k8s-staging-test-infra/krte:v20250925-95b5a2c7a5-master
22+
env:
23+
- name: KUBE_PROXY_MODE
24+
value: "nftables"
25+
- name: "PARALLEL"
26+
value: "true"
27+
- name: LABEL_FILTER
28+
value: "!Slow && !Disruptive && !Flaky && Feature: containsAny NetworkPolicy || Conformance"
29+
- name: SKIP
30+
value: \[Feature:SCTPConnectivity\]
31+
command:
32+
- wrapper.sh
33+
- bash
34+
- -c
35+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/kindnet/hack/ci/e2e.sh
36+
# we need privileged mode in order to do docker in docker
37+
securityContext:
38+
privileged: true
39+
resources:
40+
limits:
41+
cpu: "4"
42+
memory: 9000Mi
43+
requests:
44+
cpu: "4"
45+
memory: 9000Mi
46+
annotations:
47+
testgrid-dashboards: sig-network-kindnet
48+
testgrid-tab-name: kindnet conformance, master (dev) [non-serial]
49+
testgrid-alert-email: [email protected],[email protected]
50+
# conformance test against kubernetes master branch with `kind` ipv6
51+
- interval: 24h
52+
name: ci-kubernetes-kindnet-conformance-parallel-ipv6
53+
cluster: k8s-infra-prow-build
54+
labels:
55+
preset-service-account: "true"
56+
preset-dind-enabled: "true"
57+
preset-kind-volume-mounts: "true"
58+
decorate: true
59+
extra_refs:
60+
- org: kubernetes-sigs
61+
repo: kindnet
62+
base_ref: main
63+
path_alias: sigs.k8s.io/kindnet
64+
- org: kubernetes
65+
repo: kubernetes
66+
base_ref: master
67+
path_alias: k8s.io/kubernetes
68+
spec:
69+
containers:
70+
- image: gcr.io/k8s-staging-test-infra/krte:v20250925-95b5a2c7a5-master
71+
env:
72+
# enable IPV6 in bootstrap image
73+
- name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
74+
value: "true"
75+
# tell kind CI script to use ipv6
76+
- name: "IP_FAMILY"
77+
value: "ipv6"
78+
- name: KUBE_PROXY_MODE
79+
value: "nftables"
80+
- name: "PARALLEL"
81+
value: "true"
82+
- name: LABEL_FILTER
83+
value: "!Slow && !Disruptive && !Flaky && Feature: containsAny NetworkPolicy || Conformance"
84+
- name: SKIP
85+
value: \[Feature:SCTPConnectivity\]
86+
command:
87+
- wrapper.sh
88+
- bash
89+
- -c
90+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/kindnet/hack/ci/e2e.sh
91+
# we need privileged mode in order to do docker in docker
92+
securityContext:
93+
privileged: true
94+
resources:
95+
limits:
96+
cpu: "4"
97+
memory: 9000Mi
98+
requests:
99+
cpu: "4"
100+
memory: 9000Mi
101+
annotations:
102+
testgrid-dashboards: sig-network-kindnet
103+
testgrid-tab-name: kindnet (IPv6), master (dev) [non-serial]
104+
testgrid-alert-email: [email protected],[email protected]
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# sigs.k8s.io/kindnet presubmits
2+
presubmits:
3+
kubernetes-sigs/kindnet:
4+
- name: pull-kindnet-nftables
5+
cluster: k8s-infra-prow-build
6+
labels:
7+
preset-service-account: "true"
8+
preset-dind-enabled: "true"
9+
always_run: true
10+
optional: false
11+
decorate: true
12+
extra_refs:
13+
- org: kubernetes
14+
repo: kubernetes
15+
base_ref: master
16+
path_alias: k8s.io/kubernetes
17+
path_alias: sigs.k8s.io/kindnet
18+
decoration_config:
19+
timeout: 60m
20+
spec:
21+
containers:
22+
- image: gcr.io/k8s-staging-test-infra/krte:v20250925-95b5a2c7a5-master
23+
env:
24+
- name: KUBE_PROXY_MODE
25+
value: "nftables"
26+
- name: "PARALLEL"
27+
value: "true"
28+
- name: LABEL_FILTER
29+
value: "!Slow && !Disruptive && !Flaky && Feature: containsAny NetworkPolicy"
30+
- name: SKIP
31+
value: \[Feature:SCTPConnectivity\]
32+
command:
33+
- wrapper.sh
34+
- bash
35+
- -c
36+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/kindnet/hack/ci/e2e.sh
37+
# we need privileged mode in order to do docker in docker
38+
securityContext:
39+
privileged: true
40+
resources:
41+
limits:
42+
cpu: "4"
43+
memory: 9000Mi
44+
requests:
45+
cpu: "4"
46+
memory: 9000Mi
47+
annotations:
48+
testgrid-dashboards: sig-network-kindnet
49+
testgrid-tab-name: pull-kindnet conformance, master (dev) [non-serial]
50+
testgrid-alert-email: [email protected],[email protected]
51+
- name: pull-kindnet-nftables-ipv6
52+
cluster: k8s-infra-prow-build
53+
labels:
54+
preset-service-account: "true"
55+
preset-dind-enabled: "true"
56+
always_run: true
57+
optional: false
58+
decorate: true
59+
extra_refs:
60+
- org: kubernetes
61+
repo: kubernetes
62+
base_ref: master
63+
path_alias: k8s.io/kubernetes
64+
path_alias: sigs.k8s.io/kindnet
65+
decoration_config:
66+
timeout: 60m
67+
spec:
68+
containers:
69+
- image: gcr.io/k8s-staging-test-infra/krte:v20250925-95b5a2c7a5-master
70+
env:
71+
# enable IPV6 in bootstrap image
72+
- name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
73+
value: "true"
74+
# tell kind CI script to use ipv6
75+
- name: "IP_FAMILY"
76+
value: "ipv6"
77+
- name: KUBE_PROXY_MODE
78+
value: "nftables"
79+
- name: "PARALLEL"
80+
value: "true"
81+
- name: LABEL_FILTER
82+
value: "!Slow && !Disruptive && !Flaky && Feature: containsAny NetworkPolicy"
83+
- name: SKIP
84+
value: \[Feature:SCTPConnectivity\]
85+
command:
86+
- wrapper.sh
87+
- bash
88+
- -c
89+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && $GOPATH/src/sigs.k8s.io/kindnet/hack/ci/e2e.sh
90+
# we need privileged mode in order to do docker in docker
91+
securityContext:
92+
privileged: true
93+
resources:
94+
limits:
95+
cpu: "4"
96+
memory: 9000Mi
97+
requests:
98+
cpu: "4"
99+
memory: 9000Mi
100+
annotations:
101+
testgrid-dashboards: sig-network-kindnet
102+
testgrid-tab-name: pull-kindnet-ipv6 conformance, master (dev) [non-serial]
103+
testgrid-alert-email: [email protected],[email protected]

config/testgrids/kubernetes/sig-network/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dashboard_groups:
1515
- sig-network-node-ipam-controller
1616
- sig-network-gwctl
1717
- sig-network-nat64
18+
- sig-network-kindnet
1819

1920
dashboards:
2021
- name: sig-network-dns
@@ -106,3 +107,4 @@ dashboards:
106107
- name: sig-network-node-ipam-controller
107108
- name: sig-network-gwctl
108109
- name: sig-network-nat64
110+
- name: sig-network-kindnet

0 commit comments

Comments
 (0)