Open wofr opened 2 years ago
This looks like the cluster registration is broken. fleet-agent tries to read the registration secret (ClusterRegistrationToken.status.secretName
) and doesn't have access. In fleet versions < 0.6.0 any user was allowed to retrieve secrets from the system registration namespace, they did have random names though.
Maybe this cluster is hardened?
I tried to deploy the simple app "https://github.com/rancher/fleet-examples/tree/master/simple" to one of my clusters (running on GKE). Unfortunalty it always stucks in "waitApplied", and it does not matter which of cluster I pick for the deployment, exepct for the local cluster (where the rancher-server is running) for this one the deployment went fine.
The yaml file of the deploy job looks like this
The log file of the gitjob on my local cluster looks suspicious
I also found a completed job on my local cluster, which offers me following information
The log of the job itself looks like the following
One more screenshot from the rancher - ui
So for me it seems the deplyoment does not really make it to the destination cluster, It seems I do already have problems making it available on the "local" system.