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)
- Enhance install script to support Suse Liberty Linux HOT 2
- [v1.29.3+k3s1] Certificate rotation on k3s-agent fails to include sans addressing, causing api requests via kubectl to potentially fail if kube-vip is in use HOT 1
- Add etcd snapshot s3 config secret support
- Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 2
- [Release-1.29] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 1
- [Release-1.28] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 1
- [Release-1.27] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 1
- kubectl logs selectively timing out based on the host CIDR range HOT 4
- v1.30.2-rc3 Images missing HOT 4
- rpm.rancher.io RHEL 9 packages missing/removed HOT 3
- k3s crashes completely with "Observed a panic: "integer divide by zero"" HOT 10
- Allow configuration of Rootlesskit's CopyUpDirs through an environment variable
- Embedded registry mirror pulling failed
- Snapshot option discrepancy with --etcd-snapshot-name
- Support for dynamic ports all the way up to 65535.
- How can I stop k3s apiserver listening {IP}:6443/static/charts directory? HOT 2
- Extreme CPU Usage on small cluster HOT 1
- kubelet service is missing on single node cluster HOT 3
- Cannot override k3s default kubelet-args via user-provided kubelet config file HOT 10
- service ip is unreachable from pod HOT 2
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.