-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add e2e test on k8s 1.25.2 #13358
Add e2e test on k8s 1.25.2 #13358
Conversation
Codecov ReportBase: 86.54% // Head: 86.45% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #13358 +/- ##
==========================================
- Coverage 86.54% 86.45% -0.09%
==========================================
Files 196 196
Lines 14549 14549
==========================================
- Hits 12591 12578 -13
- Misses 1660 1671 +11
- Partials 298 300 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
555a3d9
to
e324b73
Compare
We'll need to bump metallb to the latest version for it to work with k8s v1.25, which also requires a little tweak in how we do the setup, something like: # Install metallb
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.5/config/manifests/metallb-native.yaml
# Add Layer 2 config
network=$(docker network inspect kind -f "{{(index .IPAM.Config 0).Subnet}}" | cut -d '.' -f1,2)
cat <<EOF | kubectl apply -f -
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- $network.255.1-$network.255.250
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: example
namespace: metallb-system
EOF |
.github/workflows/kind-e2e.yaml
Outdated
@@ -109,17 +109,17 @@ jobs: | |||
# This is attempting to make it a bit clearer what's being tested. | |||
# See: https://github.com/kubernetes-sigs/kind/releases | |||
# https://hub.docker.com/r/kindest/node/tags | |||
- k8s-version: v1.22.9 | |||
- k8s-version: v1.23.12 | |||
kind-version: v0.14.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we update all kind version to v0.16.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will try that
We may need to disable the webhook-mode because there is a bug:metallb/metallb#1597 like https://github.com/karmada-io/karmada/pull/2560/files, it happens sometimes |
e324b73
to
a68e6ff
Compare
a68e6ff
to
6ae39fd
Compare
The error is exactly what I meet before: Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "ipaddresspoolvalidationwebhook.metallb.io": failed to call webhook: Post "[https://webhook-service.metallb-system.svc:443/validate-metallb-io-v1beta1-ipaddresspool?timeout=10s](https://webhook-service.metallb-system.svc/validate-metallb-io-v1beta1-ipaddresspool?timeout=10s)": dial tcp 10.96.116.26:443: connect: connection refused
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "l2advertisementvalidationwebhook.metallb.io": failed to call webhook: Post "[https://webhook-service.metallb-system.svc:443/validate-metallb-io-v1beta1-l2advertisement?timeout=10s](https://webhook-service.metallb-system.svc/validate-metallb-io-v1beta1-l2advertisement?timeout=10s)": dial tcp 10.96.116.26:443: connect: connection refused Should disable the webhook mode, we are sure the yaml is right, so disable the webhook mode is ok. |
6ae39fd
to
48c3b11
Compare
yes, I was trying to do that, but I guess the disable code was wrong, trying again now |
48c3b11
to
77b77f2
Compare
something is up with net-istio and 1.25, @nak3 I think net-isito might need a to bump the version of isito? |
Sorry it is an |
I sent the workaround knative-extensions/net-istio#994 for now. |
/retest |
/easycla |
/retest |
1 similar comment
/retest |
I think #13375 needs to be merged. |
lets try again now that 13375 (net-isitio update) is merged /retest |
looks like we're running into carvel-dev/kapp#620 |
The latest log still displays old sha
|
77b77f2
to
898bb1d
Compare
just did a rebase now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nader-ziada, psschwei The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #
Proposed Changes
Release Note