future-grass-75901
04/29/2022, 2:26 PMacceptable-gigabyte-29847
04/29/2022, 3:09 PMbland-jackal-22983
05/01/2022, 12:52 AMrke
, we need to use services_kubelet->extra-binds
to add a mapping in cluster.yaml
like:
/opt/rke/var/lib/kubelet/plugins:/var/lib/kubelet/plugins
specifically i am trying to do this
just wondering how can we add the extra binds if it's rke2
, do i need to? i can't find corresponding server/agent config flag for this in the rke2 docmysterious-parrot-80714
05/01/2022, 6:16 PMfuture-truck-59205
05/02/2022, 8:19 AMacceptable-gigabyte-29847
05/02/2022, 10:17 AMwonderful-helicopter-16401
05/03/2022, 4:23 AM/var/lib/rancher/rke2/*server/manifests*
to configure nginx as a daemonset as outlined in these docs. It appears the permissions for the server
directory are not set properly on any of the nodes in this cluster. I'm seeing the steps were tested in 2.5.6. So, is this a bug or intended? Also, what permissions should I set on that directory to complete the final step in those docs?numerous-country-20400
05/03/2022, 11:21 AMfaint-airport-83518
05/04/2022, 2:39 PMmagnificent-caravan-81252
05/04/2022, 3:47 PMnarrow-noon-75604
05/05/2022, 11:06 AMcreamy-scooter-43304
05/05/2022, 1:37 PMacceptable-gigabyte-29847
05/05/2022, 3:21 PMcurved-caravan-26314
05/07/2022, 10:19 PMripe-queen-73614
05/08/2022, 9:23 AMcurved-caravan-26314
05/08/2022, 6:04 PMhallowed-breakfast-56871
05/08/2022, 11:12 PMcurved-caravan-26314
05/08/2022, 11:25 PMEvents:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 45s default-scheduler Successfully assigned cattle-system/rancher-webhook-6958cfcddf-jzqd7 to k42
Warning FailedMount 45s (x2 over 45s) kubelet MountVolume.SetUp failed for volume "tls" : secret "rancher-webhook-tls" not found
Normal Pulled 41s kubelet Container image "rancher/rancher-webhook:v0.2.5" already present on machine
Normal Created 40s kubelet Created container rancher-webhook
Normal Started 39s kubelet Started container rancher-webhook
sparse-continent-53433
05/09/2022, 2:00 PMlevel=error msg="CA cert validation failed: Get \"<https://127.0.0.1:6444/cacerts>\": x509: certificate has expired or is not yet valid
hundreds-airport-66196
05/09/2022, 9:03 PMbusy-orange-63415
05/09/2022, 11:53 PMsilly-jordan-81965
05/10/2022, 11:31 AMfaint-ram-5049
05/11/2022, 7:05 PMvictorious-analyst-3332
05/12/2022, 12:59 AM/var/lib/rancher/rke2/server/manifests
approach, but don’t fully understand the ramifications of the AddOn custom resources
detail mentioned there. Thanks a lot for any help you can give.silly-jordan-81965
05/13/2022, 7:45 AMrke_config {
cloud_provider {
name = "openstack"
openstack_cloud_provider {
global {
auth_url = var.openstack_auth_url
username = var.openstack_username
password = var.openstack_password
tenant_id = var.openstack_tenant_id
}
}
}
machine_global_config = <<EOF
Anyone that can point me in the right direction?rapid-helmet-86074
05/13/2022, 1:32 PMrefined-magician-25478
05/13/2022, 3:48 PMhundreds-airport-66196
05/13/2022, 10:08 PMbroad-farmer-70498
05/16/2022, 8:07 PMbland-jackal-22983
05/17/2022, 8:55 AMrke2-server
installation would fail when i set the node-label
values?
in the /etc/rancher/rke2/config.yaml
i have:
node-label:
- <http://node-role.kubernetes.io/master|node-role.kubernetes.io/master>
- <http://openebs.io/engine=mayastor|openebs.io/engine=mayastor>
now if i install rke2 with everything the same as before but with this new node-label
, i would have this error:
May 17 08:48:26 698F191 rke2[121465]: time="2022-05-17T08:48:26Z" level=error msg="Kubelet exited: exit status 1"
May 17 08:48:28 698F191 rke2[121465]: {"level":"warn","ts":"2022-05-17T08:48:28.923Z","logger":"etcd-client","caller":"v3@v3.5.3-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000955340/127.0.0.1:2379>","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused\""}
May 17 08:48:28 698F191 rke2[121465]: time="2022-05-17T08:48:28Z" level=info msg="Failed to test data store connection: context deadline exceeded"
May 17 08:48:30 698F191 rke2[121465]: {"level":"warn","ts":"2022-05-17T08:48:30.005Z","logger":"etcd-client","caller":"v3@v3.5.3-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000955340/127.0.0.1:2379>","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused\""}
May 17 08:48:30 698F191 rke2[121465]: time="2022-05-17T08:48:30Z" level=error msg="Failed to check local etcd status for learner management: context deadline exceeded"
May 17 08:48:30 698F191 rke2[121465]: time="2022-05-17T08:48:30Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: <https://127.0.0.1:9345/v1-rke2/readyz>: 500 Internal Server Error"
if i don't have this node-label
section, the installation goes through.
os: ubuntu 20..04
rke2 version: v1.22.9