Skip to content

Instantly share code, notes, and snippets.

@flrichar
Last active March 3, 2025 16:29
Show Gist options
  • Save flrichar/4b10d7a2483b6f4700dcb9b7c20e7f10 to your computer and use it in GitHub Desktop.
Save flrichar/4b10d7a2483b6f4700dcb9b7c20e7f10 to your computer and use it in GitHub Desktop.
Fleet Cluster Labels
kubectl get cluster.fleet.cattle.io/cluster-xxx765123 -n clusters -o jsonpath='{.metadata.labels}' | jq
{
  "env": "opm-lab",
  "fleet.cattle.io/cluster": "cluster-xxx765123",
  "fleet.cattle.io/created-by-agent-pod": "fleet-agent-0",
  "management.cattle.io/cluster-display-name": "r12700.F"
}
keep close watch on label operations

find /data -mtime -1 -ls

  • tofu placeholder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment