RKE2 installation fails

I’m trying to deploy portworx essentials on RKE2 but I receive this error:
time=“2022-05-11T19:50:21Z” level=info msg=“Updated arguments: /px-oci-mon -c px-cluster-50720127-e54a-4a91-82ae-b0156bcc0f56 -x kubernetes -b -s /dev/xvdd -kvdb_dev /dev/xvdc -secret_type k8s” install-opts=–upgrade
time=“2022-05-11T19:51:21Z” level=error msg=“Could not init scheduler ‘kubernetes’: Could not find my node in Kubernetes cluster: Get https://10.43.0.1:443/api/v1/nodes: Service Unavailable”

I’ve tried to deploy both with operator and deployment mode, with CSI and without.
I’ve checked also the name of the host and it is the same on the cluster:

[root@pcak01svc01 portworx (⎈ |pcak02:kube-system)]# k get nodes
NAME STATUS ROLES AGE VERSION
pcak02mgr01.du.local Ready control-plane,etcd,master 3h45m v1.22.9+rke2r1
pcak02mgr02.du.local Ready control-plane,etcd,master 63m v1.22.9+rke2r1
pcak02mgr03.du.local Ready control-plane,etcd,master 68m v1.22.9+rke2r1
pcak02wor01.du.local Ready worker 163m v1.22.9+rke2r1
pcak02wor02.du.local Ready worker 163m v1.22.9+rke2r1
pcak02wor03.du.local Ready worker 163m v1.22.9+rke2r1
[root@pcak01svc01 portworx (⎈ |pcak02:kube-system)]# ssh pcak02wor01
Last login: Wed May 11 21:17:35 2022 from 10.220.221.61
[root@pcak02wor01 ~]# hostname
pcak02wor01.du.local

Thanks

I’ve solved by myself configuring correctly the proxy with PX_HTTP_PROXY env

1 Like