This message was deleted.
# rke2
a
This message was deleted.
c
why are you doing that with rancher api instead of just
kubectl drain
or
kubectl uncordon
?
that talks directly to the kubernetes api
q
since we are air-gapped, and we have to connect to multiple jumphost to login and connect to nodes, basically im trying to have all the clusters(mgmt, internal, external) of all our env be managed via one single admin server, which is why we thought of placing api calls to do all the admin related work.
c
you can tunnel through rancher to reach the downstream clusters, and just use standard kubectl commands to do that. you don’t have to use the rancher api
h
Yeah, certainly easier ways to do this. We've even been using our internal jenkins to call our internal clusters over the kube-api via HTTPS.
q
Thank you so much @creamy-pencil-82913 and @hallowed-breakfast-56871