Closed Rambou closed 5 years ago
I'm having the same issue, even with the latest 0.10.2 release.
pi@k3s-master:~ $ uname -a
Linux k3s-master 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
pi@k3s-master:~ $ curl -sfL https://get.k3s.io | sh -
[INFO] Finding latest release
[INFO] Using v0.10.2 as release
[INFO] Downloading hash https://github.com/rancher/k3s/releases/download/v0.10.2/sha256sum-arm.txt
[INFO] Downloading binary https://github.com/rancher/k3s/releases/download/v0.10.2/k3s-armhf
[INFO] Verifying binary download
[INFO] Installing k3s to /usr/local/bin/k3s
[INFO] Creating /usr/local/bin/kubectl symlink to k3s
[INFO] Creating /usr/local/bin/crictl symlink to k3s
[INFO] Creating /usr/local/bin/ctr symlink to k3s
[INFO] Creating killall script /usr/local/bin/k3s-killall.sh
[INFO] Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO] env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO] systemd: Creating service file /etc/systemd/system/k3s.service
[INFO] systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO] systemd: Starting k3s
Job for k3s.service failed because the control process exited with error code.
See "systemctl status k3s.service" and "journalctl -xe" for details.
pi@k3s-master:~ $ systemctl status k3s.service -l
● k3s.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2019-11-03 13:24:36 GMT; 10s ago
Docs: https://k3s.io
Process: 1199 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
Process: 1200 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
Main PID: 1201 (k3s-server)
Tasks: 20
Memory: 155.1M
CGroup: /system.slice/k3s.service
└─1201 /usr/local/bin/k3s server
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.658133 1201 plugins.go:161] Loaded 7 validating admission controNov 03 13:24:40 k3s-master k3s[1201]: time="2019-11-03T13:24:40.694211700Z" level=info msg="Running kube-scheduler --binNov 03 13:24:40 k3s-master k3s[1201]: time="2019-11-03T13:24:40.697247528Z" level=info msg="Running kube-controller-manaNov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.741120 1201 controllermanager.go:161] Version: v1.16.2-k3s.1
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.744373 1201 deprecated_insecure_serving.go:53] Serving insecurelNov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.747053 1201 server.go:143] Version: v1.16.2-k3s.1
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.747503 1201 defaults.go:91] TaintNodesByCondition is enabled, PoNov 03 13:24:40 k3s-master k3s[1201]: W1103 13:24:40.754004 1201 authorization.go:47] Authorization is disabled
Nov 03 13:24:40 k3s-master k3s[1201]: W1103 13:24:40.754087 1201 authentication.go:79] Authentication is disabled
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.754143 1201 deprecated_insecure_serving.go:51] Serving healthz ilines 1-22/22 (END)...skipping...
● k3s.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2019-11-03 13:24:36 GMT; 10s ago
Docs: https://k3s.io
Process: 1199 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
Process: 1200 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
Main PID: 1201 (k3s-server)
Tasks: 20
Memory: 155.1M
CGroup: /system.slice/k3s.service
└─1201 /usr/local/bin/k3s server
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.658133 1201 plugins.go:161] Loaded 7 validating admission controller(s) successfully in the following order:
Nov 03 13:24:40 k3s-master k3s[1201]: time="2019-11-03T13:24:40.694211700Z" level=info msg="Running kube-scheduler --bind-address=127.0.0.1 --kubeconfig=/var/lib/ran
Nov 03 13:24:40 k3s-master k3s[1201]: time="2019-11-03T13:24:40.697247528Z" level=info msg="Running kube-controller-manager --allocate-node-cidrs=true --bind-address
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.741120 1201 controllermanager.go:161] Version: v1.16.2-k3s.1
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.744373 1201 deprecated_insecure_serving.go:53] Serving insecurely on [::]:10252
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.747053 1201 server.go:143] Version: v1.16.2-k3s.1
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.747503 1201 defaults.go:91] TaintNodesByCondition is enabled, PodToleratesNodeTaints predicate is mandatory
Nov 03 13:24:40 k3s-master k3s[1201]: W1103 13:24:40.754004 1201 authorization.go:47] Authorization is disabled
Nov 03 13:24:40 k3s-master k3s[1201]: W1103 13:24:40.754087 1201 authentication.go:79] Authentication is disabled
Nov 03 13:24:40 k3s-master k3s[1201]: I1103 13:24:40.754143 1201 deprecated_insecure_serving.go:51] Serving healthz insecurely on [::]:10251
pi@k3s-master:/tmp $ curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v0.9.1 INSTALL_K3S_EXEC="--write-kubeconfig-mode 644" sh -
[INFO] Using v0.9.1 as release
[INFO] Downloading hash https://github.com/rancher/k3s/releases/download/v0.9.1/sha256sum-arm.txt
[INFO] Downloading binary https://github.com/rancher/k3s/releases/download/v0.9.1/k3s-armhf
[INFO] Verifying binary download
[INFO] Installing k3s to /usr/local/bin/k3s
[INFO] Creating /usr/local/bin/kubectl symlink to k3s
[INFO] Creating /usr/local/bin/crictl symlink to k3s
[INFO] Creating /usr/local/bin/ctr symlink to k3s
[INFO] Creating killall script /usr/local/bin/k3s-killall.sh
[INFO] Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO] env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO] systemd: Creating service file /etc/systemd/system/k3s.service
[INFO] systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO] systemd: Starting k3s
pi@k3s-master:/tmp $
I have the same issue with the same errors. Also with the version 0.10.2
Hello, this is a duplicate of https://github.com/rancher/k3s/issues/970 (TLS Handshake timeout error) If there are errors unlike this let's open a separate issue please.
Version: I've tried all the version above v0.4.0 and all of them fail (except 0.9.1 - latest known version to work). The latest version 0.10.0 fails with an error below.
Describe the bug The k3s service fails immediately after installation
curl -sfL https://get.k3s.io | sh -
To Reproduce Get a Raspberry Pi 3 Model B install Rasbian Lite or Ubuntu server 18.04.3 ARMHF image. run
curl -sfL https://get.k3s.io | sh -
Service installation will failExpected behavior Service k3s to run and k8s cluster to be up and running.
Actual behavior k3s service fails.
149 deprecated_insecure_serving.go:51] Serving healthz insecurely on [::]:10251
Additional context I've tested with my Rasp Pi 4, 4GB model and works fine