Comments (2)
I need this for testing IPv6-only clusters, as I don't have external ipv6 connectivity in my environment :/
from k3s.
Validated on master branch with commit 06b6444
Environment Details
Infrastructure
- Cloud
- Hosted
Node(s) CPU architecture, OS, and Version:
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
$ uname -m
x86_64
Cluster Configuration:
HA: 3 server/ 1 agent
Config.yaml:
token: xxxx
cluster-init: true
system-default-registry: "[fd7c:53a5:aef5::242:ac11:7]"
write-kubeconfig-mode: "0644"
node-external-ip: 1.1.1.1
node-label:
- k3s-upgrade=server
Testing Steps
- Copy config.yaml
$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s
- Install k3s
curl -sfL https://get.k3s.io | sudo INSTALL_K3S_COMMIT='06b6444904294c415b314c78c41cf424e7e749d6' sh -s - server
- Check the image is with double quotes for ipv6 in all yaml files and that there are no parse manifest errors:
$ sudo journalctl -xeu k3s | grep coredns | grep ParseManifestFailed
$ sudo grep image: /var/lib/rancher/k3s/server/manifests/coredns.yaml
$ sudo grep -rni image: /var/lib/rancher/k3s/server/manifests
Replication Results:
- k3s version used for replication:
$ k3s -v
k3s version v1.29.3+k3s1 (8aecc26b)
go version go1.21.8
$ sudo journalctl -xeu k3s | grep coredns | grep ParseManifestFailed
Apr 16 19:34:41 ip-172-31-21-32 k3s[66038]: I0416 19:34:41.361395 66038 event.go:376] "Event occurred" object="kube-system/coredns" fieldPath="" kind="Addon" apiVersion="k3s.cattle.io/v1" type="Warning" reason="ParseManifestFailed" message="Parse manifest at \"/var/lib/rancher/k3s/server/manifests/coredns.yaml\" failed: yaml: line 44: did not find expected key"
$ sudo grep image: /var/lib/rancher/k3s/server/manifests/coredns.yaml
image: [fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-coredns-coredns:1.10.1
$ sudo grep -rni image: /var/lib/rancher/k3s/server/manifests
/var/lib/rancher/k3s/server/manifests/metrics-server/metrics-server-deployment.yaml:47: image: [fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-metrics-server:v0.7.0
/var/lib/rancher/k3s/server/manifests/local-storage.yaml:70: image: [fd7c:53a5:aef5::242:ac11:7]/rancher/local-path-provisioner:v0.0.26
/var/lib/rancher/k3s/server/manifests/local-storage.yaml:158: image: [fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-library-busybox:1.36.1
/var/lib/rancher/k3s/server/manifests/traefik.yaml:28: image:
/var/lib/rancher/k3s/server/manifests/coredns.yaml:123: image: [fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-coredns-coredns:1.10.1
Validation Results:
- k3s version used for validation:
$ k3s -v
k3s version v1.29.3+k3s-06b64449 (06b64449)
go version go1.21.8
$ sudo journalctl -xeu k3s | grep coredns | grep ParseManifestFailed
$ sudo grep image: /var/lib/rancher/k3s/server/manifests/coredns.yaml
image: "[fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-coredns-coredns:1.10.1"
$ sudo grep -rni image: /var/lib/rancher/k3s/server/manifests
/var/lib/rancher/k3s/server/manifests/metrics-server/metrics-server-deployment.yaml:47: image: "[fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-metrics-server:v0.7.0"
/var/lib/rancher/k3s/server/manifests/local-storage.yaml:70: image: "[fd7c:53a5:aef5::242:ac11:7]/rancher/local-path-provisioner:v0.0.26"
/var/lib/rancher/k3s/server/manifests/local-storage.yaml:159: image: "[fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-library-busybox:1.36.1"
/var/lib/rancher/k3s/server/manifests/traefik.yaml:29: image:
/var/lib/rancher/k3s/server/manifests/coredns.yaml:123: image: "[fd7c:53a5:aef5::242:ac11:7]/rancher/mirrored-coredns-coredns:1.10.1"
from k3s.
Related Issues (20)
- Add tests to `pkg/agent/loadbalancer`
- Agent loadbalancer may deadlock when servers are removed
- k3s fails to start on netbooted devices HOT 1
- `k3s etcd-snapshot` commands run against server specified in config file, instead of local server HOT 3
- [Release-1.29] - Agent loadbalancer may deadlock when servers are removed HOT 1
- [Release-1.28] - Agent loadbalancer may deadlock when servers are removed
- [Release-1.27] - Agent loadbalancer may deadlock when servers are removed HOT 1
- [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 HOT 1
- [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 3
- 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
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.