Comments (1)
##Environment Details
Validated using COMMIT=bba3e3c66b22bbf112dc316a9b5dbd27f68f4ba8
Infrastructure
- Cloud
Node(s) CPU architecture, OS, and version:
Linux 5.14.21-150500.53-default x86_64 GNU/Linux
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP5"
Cluster Configuration:
$ kgn
NAME STATUS ROLES AGE VERSION
ip-11-2-3-101 Ready control-plane,etcd,master 6m22s v1.29.2+k3s-bba3e3c6
Config.yaml:
node-external-ip: 11.2.3.101
token: YOUR_TOKEN_HERE
write-kubeconfig-mode: 644
debug: true
protect-kernel-defaults: true
cluster-init: true
embedded-registry: true
Reproduction
$ curl https://get.k3s.io --output install-"k3s".sh
$ sudo chmod +x install-"k3s".sh
$ sudo groupadd --system etcd && sudo useradd -s /sbin/nologin --system -g etcd etcd
$ sudo modprobe ip_vs_rr
$ sudo modprobe ip_vs_wrr
$ sudo modprobe ip_vs_sh
$ sudo printf "on_oovm.panic_on_oom=0 \nvm.overcommit_memory=1 \nkernel.panic=10 \nkernel.panic_ps=1 \nkernel.panic_on_oops=1 \n" > ~/90-kubelet.conf
$ sudo cp 90-kubelet.conf /etc/sysctl.d/
$ sudo systemctl restart systemd-sysctl
$ COMMIT=bba3e3c66b22bbf112dc316a9b5dbd27f68f4ba8
$ sudo vim /etc/rancher/k3s/registries.yaml
$ sudo INSTALL_K3S_COMMIT=$COMMIT INSTALL_K3S_EXEC=server INSTALL_K3S_SKIP_ENABLE=true ./install-k3s.sh
$ sudo vim /etc/systemd/system/k3s.service.env
$ sudo systemctl start k3s
$ kgp -A
$ kgn
$ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/_default/hosts.toml
Results:
$ kgp -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-6799fbcd5-vkbtv 1/1 Running 0 8m11s
kube-system helm-install-traefik-crd-zvkm8 0/1 Completed 0 8m12s
kube-system helm-install-traefik-x8zd6 0/1 Completed 1 8m12s
kube-system local-path-provisioner-6c86858495-z4mcv 1/1 Running 0 8m11s
kube-system metrics-server-54fd9b65b-kq279 1/1 Running 0 8m11s
kube-system svclb-traefik-e3b71e6f-6w4vw 2/2 Running 0 7m58s
kube-system traefik-f4564c4f4-7zsj5 1/1 Running 0 7m58s
$ sudo cat /etc/rancher/k3s/registries.yaml
mirrors:
"*":
note the below file now has the server = "" by default without any intervention from the admin
$ sudo cat /var/lib/rancher/k3s/agent/etc/containerd/certs.d/_default/hosts.toml
# File generated by k3s. DO NOT EDIT.
server = ""
capabilities = ["pull", "resolve", "push"]
[host."https://127.0.0.1:6443/v2"]
capabilities = ["pull", "resolve"]
ca = ["/var/lib/rancher/k3s/agent/server-ca.crt"]
client = [["/var/lib/rancher/k3s/agent/client-k3s-controller.crt", "/var/lib/rancher/k3s/agent/client-k3s-controller.key"]]
from k3s.
Related Issues (20)
- Cannot override k3s default kubelet-args via user-provided kubelet config file HOT 10
- service ip is unreachable from pod HOT 2
- How do I know which container of this path belongs to HOT 1
- Node cannot get itΒ΄s IP - host IP unknown; known addresses: [] HOT 2
- etcd issues when removing and re-adding nodes HOT 1
- Validate SLES 15 SP6
- Validate Amazon Linux 2
- Validate RHEL/Rocky/Oracle 8.10 HOT 1
- Validate RHEL/Rocky/Oracle 9.4 HOT 2
- k3s server crashes abruptly when approximately 300 requests are sent in a span of 60 seconds (client QPS is 5 and bursty limit is 10) HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 7
- Configuration problem with static CPU manager HOT 1
- Migrate Docker tests from Drone to GHA
- [Release 1.29] Bump flannel v0.25.4 and fix issue with IPv6Masq HOT 1
- [Release 1.27] Bump flannel v0.25.4 and fix issue with IPv6Masq
- [Release 1.28] Bump flannel v0.25.4 and fix issue with IPv6Masq HOT 1
- Install systemd unit to run cleanup on shutdown or reboot
- Ingress is going on all the nodes HOT 4
- k3s-agent not starting on ec2 error "failed to get CA certs" HOT 2
- Ingress is going on all the nodes 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.