Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document strategy to do something like "get k8s version" once for each cluster #3329

Closed
consideRatio opened this issue Oct 26, 2023 · 1 comment

Comments

@consideRatio
Copy link
Contributor

This is examplified in #3224, but not documented as a generally useful strategy for misc things yet. We should document that!

@consideRatio
Copy link
Contributor Author

Here is a fresh example of doing this where we rely on deployer config get-clusters --provider=gcp to get all GCP clusters for example.

deployer config get-clusters --provider=gcp | xargs -I {} deployer use-cluster-credentials {} 'echo {} && kubectl get cm -n kube-system -o yaml calico-typha-horizontal-autoscaler | yq eval ".data.ladder" - | yq eval ".nodesToReplicas[1]" -'

@consideRatio consideRatio closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Needs Shaping / Refinement
Development

No branches or pull requests

2 participants