Comments (1)
Validated on Version:
-$ k3s version v1.27.14+k3s-5f656d12 (5f656d12)
Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
Ubuntu
AMD
Cluster Configuration:
-1 nodes
Steps to validate the fix
- start k3s with --node-ip=1pv4,1pv6
- Patch service traefik to -p '{"spec": {"externalTrafficPolicy": "Local"}}'
- Validate nodes, pods,serviceLB
Reproduction Issue:
k3s version v1.30.1+k3s-5cf4d757 (5cf4d757)
kubectl patch service traefik -n kube-system -p '{"spec": {"externalTrafficPolicy": "Local"}}'
service/traefik patched
kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
NAME READY STATUS RESTARTS AGE
svclb-traefik-a436cc37-mwskr 0/2 CrashLoopBackOff 2 (13s ago) 15s
~$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system local-path-provisioner-75bb9ff978-bf7fw 1/1 Running 0 4m59s
kube-system coredns-576bfc4dc7-h8nlj 1/1 Running 0 4m59s
kube-system helm-install-traefik-crd-x84bt 0/1 Completed 0 4m59s
kube-system helm-install-traefik-4bbh4 0/1 Completed 1 4m59s
kube-system metrics-server-557ff575fb-sfwzq 1/1 Running 0 4m59s
kube-system traefik-5fb479b77-8nmm8 1/1 Running 0 4m32s
kube-system svclb-traefik-a436cc37-mwskr 0/2 CrashLoopBackOff 10 (12s ago) 2m56s
Validation Results:
$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-77ccd57875-zt2qm 1/1 Running 0 15s
kube-system helm-install-traefik-crd-th465 1/1 Running 0 16s
kube-system helm-install-traefik-hv82q 1/1 Running 0 16s
kube-system local-path-provisioner-5c6c7f7cd-lmpsd 1/1 Running 0 15s
kube-system metrics-server-c44988498-2rhcr 0/1 Running 0 15s
ubuntu@ip-:~$ kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
No resources found in kube-system namespace.
ubuntu@ip-:~$ kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
NAME READY STATUS RESTARTS AGE
svclb-traefik-cabd2baa-cflzt 0/2 ContainerCreating 0 2s
ubuntu@ip-:~$ kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
NAME READY STATUS RESTARTS AGE
svclb-traefik-cabd2baa-cflzt 2/2 Running 0 6s
ubuntu@ip-:~$ kubectl patch service traefik -n kube-system -p '{"spec": {"externalTrafficPolicy": "Local"}}'
service/traefik patched
ubuntu@ip-:~$ kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
NAME READY STATUS RESTARTS AGE
svclb-traefik-cabd2baa-cflzt 2/2 Terminating 0 15s
ubuntu@ip-:~$ kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
NAME READY STATUS RESTARTS AGE
svclb-traefik-cabd2baa-s54mv 2/2 Running 0 2s
ubuntu@ip-:~$ kubectl get pod -n kube-system -l svccontroller.k3s.cattle.io/svcname=traefik
NAME READY STATUS RESTARTS AGE
svclb-traefik-cabd2baa-s54mv 2/2 Running 0 4s
ubuntu@ip-:~$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-77ccd57875-zt2qm 1/1 Running 0 53s
kube-system helm-install-traefik-crd-th465 0/1 Completed 0 54s
kube-system helm-install-traefik-hv82q 0/1 Completed 1 54s
kube-system local-path-provisioner-5c6c7f7cd-lmpsd 1/1 Running 0 53s
kube-system metrics-server-c44988498-2rhcr 1/1 Running 0 53s
kube-system svclb-traefik-cabd2baa-s54mv 2/2 Running 0 13s
kube-system traefik-7d5c94d587-wlcld 1/1 Running 0 29s
from k3s.
Related Issues (20)
- [Release-1.28] - Bump containerd to v1.7.20 HOT 1
- [Release-1.27] - Bump containerd to v1.7.20 HOT 1
- k3s kube-system pods failure when using --bind-address HOT 4
- Can we upgrade Traefik to version 3. x?
- Can we make the busybox images configurable?
- Strimzi is unable to deploy Kafka with LoadBalancer
- Add mention of MariaDB support?
- Failure to read certificates and key files during k3s certificate rotate-ca HOT 5
- Getting net.ipv6.conf.all.forwarding=1 restriction when using IPv4 ipFamily with ipFamilyPolicy SingleStack HOT 1
- tls: failed to verify certificate: x509: certificate is valid for *. traefik. default, not docker. io.
- Incompatible change in patch version breaks downstream/ users of k3s HOT 3
- Inacuracy in documentation? HOT 1
- [Release-1.30] - Customize servicelb daemonset tolerations (traefik) HOT 1
- [Release-1.29] - Customize servicelb daemonset tolerations (traefik) HOT 1
- [Release-1.28] - Customize servicelb daemonset tolerations (traefik) HOT 1
- [Release-1.27] - Customize servicelb daemonset tolerations (traefik) HOT 1
- `k3s-killall.sh` does not work if data-dir doesn't end with `/k3s` HOT 3
- Allow users to use letsencript certificates when they install k3s HOT 5
- MariaDB support? HOT 1
- Bump coredns to v1.11.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3s.