big-jordan-45387
02/03/2023, 5:02 PMbig-jordan-45387
02/03/2023, 5:02 PMstale-spring-20280
02/03/2023, 6:28 PMbig-jordan-45387
02/03/2023, 6:28 PMbig-jordan-45387
02/03/2023, 6:29 PMlimited-scooter-44108
02/03/2023, 8:23 PMhelpful-helmet-41924
02/04/2023, 9:15 AM01:12:01 root@T7910-k3sm1 ~ → curl -sfL <http://get.k3s.io> | INSTALL_K3S_VERSION=v1.24.10+k3s1 sh -
[INFO] Using v1.24.10+k3s1 as release
[INFO] Downloading hash <https://github.com/k3s-io/k3s/releases/download/v1.24.10+k3s1/sha256sum-amd64.txt>
[INFO] Skipping binary downloaded, installed k3s matches hash
Rancher K3s Common (stable) 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'rancher-k3s-common-stable':
- Curl error (35): SSL connect error for <https://rpm.rancher.io/k3s/stable/common/centos/8/noarch/repodata/repomd.xml> [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to <http://rpm.rancher.io:443|rpm.rancher.io:443> ]
Error: Failed to download metadata for repo 'rancher-k3s-common-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
abundant-noon-17295
02/05/2023, 3:35 AMimportant-gpu-85873
02/05/2023, 1:23 PM--node-external-ip
must be provided as argument to the primary K3s node, which I did (steps are documented here). Still the setup of K3s fails with this error:
[root@az-japaneast-node azureuser]$ curl -sfL <https://get.k3s.io> | K3S_URL=<https://10.0.0.1:6443> K3S_TOKEN=$K3S_TOKEN sh -
[INFO] Finding release for channel stable
[INFO] Using v1.25.6+k3s1 as release
[INFO] Downloading hash <https://github.com/k3s-io/k3s/releases/download/v1.25.6+k3s1/sha256sum-amd64.txt>
[INFO] Downloading binary <https://github.com/k3s-io/k3s/releases/download/v1.25.6+k3s1/k3s>
[INFO] Verifying binary download
[INFO] Installing k3s to /usr/local/bin/k3s
[INFO] Skipping installation of SELinux RPM
[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-agent-uninstall.sh
[INFO] env: Creating environment file /etc/systemd/system/k3s-agent.service.env
[INFO] systemd: Creating service file /etc/systemd/system/k3s-agent.service
[INFO] systemd: Enabling k3s-agent unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s-agent.service → /etc/systemd/system/k3s-agent.service.
[INFO] systemd: Starting k3s-agent
Job for k3s-agent.service failed because the control process exited with error code.
See "systemctl status k3s-agent.service" and "journalctl -xe" for details.
The systemd status is as follows:
[root@az-japaneast-node azureuser]$ systemctl status k3s-agent.service
● k3s-agent.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s-agent.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2023-02-03 19:08:40 UTC; 845ms ago
Docs: <https://k3s.io>
Process: 21049 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service (code=exited, status=0/SUCCESS)
Process: 21051 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
Process: 21052 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
Process: 21053 ExecStart=/usr/local/bin/k3s agent (code=exited, status=1/FAILURE)
Main PID: 21053 (code=exited, status=1/FAILURE)
CPU: 101ms
Feb 03 19:08:40 az-japaneast-node systemd[1]: k3s-agent.service: Main process exited, code=exited, status=1/FAILURE
Feb 03 19:08:40 az-japaneast-node systemd[1]: k3s-agent.service: Failed with result 'exit-code'.
Feb 03 19:08:40 az-japaneast-node systemd[1]: Failed to start Lightweight Kubernetes.
Does anyone maybe have an idea how to resolve that?bland-lawyer-97062
02/05/2023, 10:03 PMhelm plugin
installed in my cluster managed via rancher, to be precise I would like to install helm spray plugin: https://github.com/ThalesGroup/helm-spray
and use it like helm spray to deploy umbrella chart .. So far, I didn't find any clue on how we can install helm plugins within a rancher cluster keeping GitOps CD pipeline intact so I can deploy via gitlabaverage-tailor-37854
02/06/2023, 1:29 AMdry-angle-39747
02/06/2023, 3:30 AMrancher/chart/Chart.yaml
contain some dummy text need to replace with the right version (Ex: appVersion: %APP_VERSION%
). My question is:
1. How can i replace that value? I find the file scripts/chart/build
but don't see any document explain what parameter need passing to it.
Thank for you support.red-vegetable-45199
02/06/2023, 7:59 AMbland-lawyer-97062
02/06/2023, 8:52 AMsalmon-portugal-38278
02/06/2023, 9:02 AMlevel=error msg="Failed to look up user based on cookie" error="user token not found"
Hitting my dashboard got this :
Notice: However downgrading to v7.y.z resolve the problem
Could this be related to my problem
https://grafana.com/tutorials/run-grafana-behind-a-proxy/best-traffic-37390
02/06/2023, 10:07 AMbest-traffic-37390
02/06/2023, 10:13 AMkube-master-01:~/rancher$ kubectl -n cattle-system get pods
NAME READY STATUS RESTARTS AGE
rancher-658645db48-2ljtg 1/1 Running 0 36m
rancher-658645db48-7bmql 1/1 Running 0 36m
rancher-658645db48-xmmxm 1/1 Running 1 (36m ago) 36m
I saw anyway some errors
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulled 37m (x2 over 37m) kubelet Container image "rancher/rancher:v2.7.1" already present on machine
Normal Created 37m (x2 over 37m) kubelet Created container rancher
Normal Started 37m (x2 over 37m) kubelet Started container rancher
Normal Scheduled 37m default-scheduler Successfully assigned cattle-system/rancher-658645db48-xmmxm to kube-worker-01
Warning Unhealthy 36m (x2 over 37m) kubelet Readiness probe failed: Get "<http://192.168.188.132:80/healthz>": dial tcp 192.168.188.132:80: connect: connection refused
And on my traefik i see the entrypoint and services
kube-master-01:~/rancher$ kubectl get services -n cattle-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
rancher ClusterIP 10.99.96.200 <none> 80/TCP,443/TCP 40m
millions-australia-37092
02/06/2023, 10:18 AMquaint-church-90626
02/06/2023, 10:18 AMError: connect ECONNREFUSED 172.27.100.13:6443
2023-02-06T095525.224Z: Registered distributions: Ubuntu,rancher-desktop,rancher-desktop-data 2023-02-06T095531.416Z: Registered distributions: Ubuntu,rancher-desktop,rancher-desktop-data 2023-02-06T095538.026Z: Registered distributions: Ubuntu,rancher-desktop,rancher-desktop-data 2023-02-06T095543.904Z: Registered distributions: Ubuntu,rancher-desktop,rancher-desktop-data 2023-02-06T095543.904Z: data distro already registered 2023-02-06T095637.958Z: Did not find a valid mount, mounting /mnt/wsl/rancher-desktop/run/data 2023-02-06T095722.403Z: Installing C:\Users\stefan.depagter\AppData\Local\Programs\Rancher Desktop\resources\resources\linux\internal\trivy as /mnt/c/Users/stefan.depagter/AppData/Local/Programs/Rancher Desktop/resources/resources/linux/internal/trivy into /usr/local/bin/trivy ... 2023-02-06T100008.191Z: Installing C:\Users\stefan.depagter\AppData\Local\Programs\Rancher Desktop\resources\resources\linux\internal\rancher-desktop-guestagent as /mnt/c/Users/stefan.depagter/AppData/Local/Programs/Rancher Desktop/resources/resources/linux/internal/rancher-desktop-guestagent into /usr/local/bin//rancher-desktop-guestagent ...clean-magazine-82953
02/06/2023, 10:43 AMenough-memory-12110
02/06/2023, 11:39 AMk scale deploy rancher -n cattle-system --replicas=0
enough-memory-12110
02/06/2023, 11:39 AMrich-receptionist-74395
02/06/2023, 2:05 PMerror: resource mapping not found for name: "c8-ingress" namespace: "" from "zeebe-traefik.yaml": no matches for kind "Ingress" in version "extensions/v1beta1"
ensure CRDs are installed first
This seems to be because of the an old apiVersion
used in the yaml file. How to do it the right way?
Thanks.busy-flag-55906
02/06/2023, 2:53 PMGet "<https://10.43.116.54/k8s/clusters/c-m-gz28sbhl/version?timeout=15s>": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
force update is not working and cluster agents are full with these logs
time="2023-02-06T14:52:08Z" level=error msg="Failed to connect to proxy. Response status: 400 - 400 Bad Request. Response body: cluster not found" error="websocket: bad handshake"
time="2023-02-06T14:52:08Z" level=error msg="Remotedialer proxy error" error="websocket: bad handshake"
little-smartphone-40189
02/06/2023, 3:34 PMeager-london-83975
02/06/2023, 3:42 PMancient-army-24563
02/06/2023, 5:04 PMancient-army-24563
02/06/2023, 5:05 PMancient-army-24563
02/06/2023, 5:05 PMancient-army-24563
02/06/2023, 5:05 PM