Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] test on ipv6 #1633

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/configs/kind-config-ipv6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
ipFamily: ipv6
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
- |
kind: KubeletConfiguration
serverTLSBootstrap: true
- |
kind: ClusterConfiguration
scheduler:
extraArgs:
bind-address: "[::]"
apiServer:
extraArgs:
bind-address: "[::]"
controllerManager:
extraArgs:
bind-address: "[::]"
etcd:
local:
extraArgs:
listen-metrics-urls: "http://[::]:2381"
- |
kind: KubeProxyConfiguration
metricsBindAddress: "[::]:10249"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
5 changes: 4 additions & 1 deletion .github/workflows/functional_test_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
- functional
- histogram
- configuration_switching
kind-setup:
- kind-config.yaml
- kind-config-ipv6.yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -57,7 +60,7 @@ jobs:
node_image: kindest/node:${{ matrix.k8s-version }}
kubectl_version: ${{ matrix.k8s-version }}
cluster_name: kind
config: ./.github/workflows/configs/kind-config.yaml
config: ./.github/workflows/configs/${{ matrix.kind-setup }}
- name: Fix kubelet TLS server certificates
run: |
kubectl get csr -o=jsonpath='{range.items[?(@.spec.signerName=="kubernetes.io/kubelet-serving")]}{.metadata.name}{" "}{end}' | xargs kubectl certificate approve
Expand Down
Loading