Comments (1)
Validated on Version:
-$ k3s version v1.28.10+k3s-7de7adb2 (7de7adb2)
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:
ubuntu@ip-:~$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-6799fbcd5-fv27p 1/1 Running 0 19s
kube-system helm-install-traefik-94622 1/1 Running 0 19s
kube-system helm-install-traefik-crd-6w4jx 1/1 Running 0 19s
kube-system local-path-provisioner-6f5d79df6-ffzfk 1/1 Running 0 19s
kube-system metrics-server-54fd9b65b-84hd9 0/1 Running 0 19s
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-f72eefad-zhrzq 2/2 Running 0 13s
ubuntu@ip-:~$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-6799fbcd5-fv27p 1/1 Running 0 60s
kube-system helm-install-traefik-94622 0/1 Completed 1 60s
kube-system helm-install-traefik-crd-6w4jx 0/1 Completed 0 60s
kube-system local-path-provisioner-6f5d79df6-ffzfk 1/1 Running 0 60s
kube-system metrics-server-54fd9b65b-84hd9 1/1 Running 0 60s
kube-system svclb-traefik-f72eefad-zhrzq 2/2 Running 0 23s
kube-system traefik-7d5f6474df-z47hz 1/1 Running 0 36s
from k3s.
Related Issues (20)
- [Release-1.28] - Agent loadbalancer may deadlock when servers are removed
- [Release-1.27] - Agent loadbalancer may deadlock when servers are removed
- [Release-1.29] - `k3s etcd-snapshot` commands run against server specified in config file, instead of local server HOT 1
- [Release-1.28] - `k3s etcd-snapshot` commands run against server specified in config file, instead of local server HOT 1
- [Release-1.27] - `k3s etcd-snapshot` commands run against server specified in config file, instead of local server HOT 1
- kube-proxy with ipvs and lc does not work as expected (perhaps a conflict with flannel rules) HOT 3
- [Release-1.30] - Agent loadbalancer may deadlock when servers are removed
- [Release-1.30] - `k3s etcd-snapshot` commands run against server specified in config file, instead of local server HOT 1
- Update the Traefik chart HOT 2
- Respect XDG base directory HOT 3
- Install script fails without sudo due to missing $SUDO prefix in transactional-update commands
- Logging of kube-scheduler HOT 5
- NVIDIA GPU detection doesn't work with all the drivers & toolkits installed HOT 2
- Containerd not installed by startup script - invalid capacity 0 on image filesystem warning when starting k3s node HOT 3
- SyncLoadBalancerFailed when using a very long (yet valid) service name
- "Section 3 Control Plane Configuration" in CIS Kubernetes Benchmark v1.8.0 is not applicable for K3s hardening ?
- K3s Multus + Whereabouts doesn't work
- v1.30.2+k3s2: 502 bad gateway when trying to get pod logs HOT 2
- Certificate rotation has no affect on client if server directory is present HOT 1
- Allow duplication of keys in containerd config.toml.tmpl HOT 3
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.