wide-island-42056
05/25/2023, 11:56 PMpurple-spoon-91771
05/26/2023, 12:17 PMdamp-umbrella-95144
05/26/2023, 12:37 PM/var/lib/rancher/k3s
and /run/k3s
and the installation works fine.
Just want to confirm if there wouldn't be any other edge cases or any other problems that we could run into later due to this solution.mammoth-winter-72426
05/26/2023, 4:53 PMfreezing-queen-46671
05/26/2023, 9:36 PMfancy-car-52195
05/27/2023, 9:31 AMfancy-car-52195
05/27/2023, 9:34 AMechoing-pencil-88157
05/27/2023, 11:19 AMbig-judge-33880
05/29/2023, 1:06 PMgray-coat-59270
05/30/2023, 5:48 PMmammoth-winter-72426
05/30/2023, 9:57 PMpurple-spoon-91771
05/31/2023, 8:10 AMgray-coat-59270
05/31/2023, 4:17 PMimportant-tomato-46085
05/31/2023, 4:45 PMjolly-needle-57963
05/31/2023, 9:27 PMk3s ctr images pull
. However, when I have my image defined in a pod, I see the successful message at first in the pods events, but it ultimately ends up in a failed state with CreateContainerError
. This is because after pulling from my private registry, it seemingly is still trying to then pull the image from <http://docker.io/library/myimage:latest|docker.io/library/myimage:latest>
. Which obviously, it shouldn't need to do if I've already successfully grabbed the image. Not sure what config needs to change to fix this behaviorastonishing-mouse-9587
06/01/2023, 8:42 AMcurl -sfL <https://get.k3s.io> | \
K3S_KUBECONFIG_OUTPUT="/root/.kube/config" \
K3S_KUBECONFIG_MODE="0600" \
sh -s - \
--data-dir /foo \
--cluster-cidr 241.80.0.0/16 \
--service-cidr 241.90.0.0/16
but flannel keeps failing with this error from the log:
level=fatal msg="flannel exited: failed to acquire lease: subnet \"241.80.0.0/16\" specified in the flannel net config doesn't contain \"10.42.0.0/24\" PodCIDR of the \"bar\" node"
Is there a way that I should force flannel to use the new cidr instead of assuming that I am using the default one?powerful-florist-21503
06/01/2023, 1:46 PM[ERROR] Failed to find the k3s-selinux policy, please install:
dnf install -y container-selinux
dnf install -y <https://rpm.rancher.io/k3s/stable/common/centos/9/noarch/>
Installing of container-selinux works, but the latter one does not:
[root@localhost uus]# dnf install -y <https://rpm.rancher.io/k3s/stable/common/centos/9/noarch/>
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 49 kB/s | 4.5 kB 00:00
Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 38 kB/s | 4.1 kB 00:00
repo-zabbix-50-rhel-9-x86_64 24 kB/s | 2.0 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 42 kB/s | 4.1 kB 00:00
repo-elasticsearch-rhel-9-x86_64 23 kB/s | 2.0 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - Supplementary (RPMs) 41 kB/s | 3.7 kB 00:00
repo-postgresql_common-rhel-9-x86_64 26 kB/s | 2.0 kB 00:00
repo-postgresql_11-rhel-9-x86_64 30 kB/s | 2.3 kB 00:00
repo-cassandra-rhel-9-x86_64 26 kB/s | 2.0 kB 00:00
Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs) 40 kB/s | 3.8 kB 00:00
repo-epel-rhel-9-x86_64 31 kB/s | 2.3 kB 00:00
Cannot open /var/cache/dnf/commandline-5fd3bd7dde2b1c5e/packages/.: Is a directory
Can you help?fast-airline-86487
06/02/2023, 2:05 AMagreeable-caravan-39742
06/02/2023, 10:26 AMcurl -sfL <https://get.k3s.io> | INSTALL_K3S_EXEC="--node-external-ip 192.168.0.10 --service-node-port-range 7777-32767" \
sh -s - --disable=traefik --disable=local-storage --kubelet-arg system-reserved=cpu=500m,memory=1Gi,ephemeral-storage=1Gi \
--kubelet-arg system-reserved=cpu=300m,memory=500Mi --kubelet-arg eviction-hard='memory.available<500Mi,nodefs.available<10%' \
--token ${NODE_TOKEN} \
--datastore-endpoint="mysql://${MYSQL_USER}:${MYSQL_PWD}/tcp(<${MYSQL_URI}:${MYSQL_PORT}>)/${MYSQL_DATABASE}"
brief-ability-87157
06/02/2023, 8:38 PM[INFO] plugin/ready: Still waiting on "kubernetes"
[WARNING] plugin/kubernetes: starting server with unsynced Kubernetes API
.53
...
[INFO] plugin/ready: Still waiting on "kubernetes"
Does it mean that coredns cannot reach Kubernetes API?brief-ability-87157
06/02/2023, 10:11 PMeager-hair-74809
06/05/2023, 7:31 PMred-lizard-14453
06/06/2023, 1:17 AMearly-toddler-93127
06/06/2023, 10:24 AMgray-coat-59270
06/06/2023, 4:13 PMthousands-judge-15997
06/07/2023, 2:34 AMloud-daybreak-83328
06/07/2023, 3:25 PM1 - the first proxy_pass in the http stanza complains that it's not allowed here.
2 - I get this error: host not found in upstream "rancher_servers_https" in /etc/nginx/nginx.conf
The Rancher 2.5 documentation doesn't have that http section in it at all. I'm running this on RedHat8
any ideas?loud-daybreak-83328
06/07/2023, 3:50 PMmammoth-winter-72426
06/07/2023, 11:25 PM