/
Redeploy Cluster-cattle-agent pod
Redeploy Cluster-cattle-agent pod
Motivation
Customer cluster is shown as unavailable in rancher master for no obvious reason (no issue on network, firewall side)
Customer can receive update with fleet but cluster shown as unavailable and message is cluster agent is not connected
Redeploying cluster-cattle-agent
Get cluster ID for downstream cluster
On the management cluster find cluster ID with the below command to ensure that ID is good
kubectl get clusters.management.cattle.io =><REPLACE_WITH_CLUSTERID>
Apply below command, this command should trigger redeploy of image and settings for cluster-cattle-agent
kubectl patch clusters.management.cattle.io <REPLACE_WITH_CLUSTERID> -p '{"status":{"agentImage":"dummy"}}' --type merge
Wait for some time (15-30 min) to ensure that cluster return to available state
, multiple selections available,
Related content
Configuring Rancher and Fleet agent to run behind a HTTP proxy if cluster was previously registered
Configuring Rancher and Fleet agent to run behind a HTTP proxy if cluster was previously registered
More like this
Prerequisites for k3s on RHEL/CentOS/Oracle Linux
Prerequisites for k3s on RHEL/CentOS/Oracle Linux
Read with this
Re-register cluster in rancher
Re-register cluster in rancher
More like this
Register a Customer in Rancher without a Licensing Portal – Reseller
Register a Customer in Rancher without a Licensing Portal – Reseller
Read with this
Configuring Rancher and Fleet agent to run behind a HTTP proxy
Configuring Rancher and Fleet agent to run behind a HTTP proxy
Read with this
Classified as Getvisibility - Partner/Customer Confidential