mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-07-22 06:18:43 -04:00
add things resources from the last 5 years over machines
This commit is contained in:
parent
ac9c955e0b
commit
b0a4e417ee
77 changed files with 2327 additions and 84 deletions
10
gcloud/get_kb8_clusters.sh
Executable file
10
gcloud/get_kb8_clusters.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
projects=$(gcloud projects list | tail -n +2 | awk '{ print $1}');
|
||||
|
||||
for x in $projects;
|
||||
do
|
||||
project_json=$(gcloud container clusters list --project $x --format json)
|
||||
echo $project_json | jq -e -r '.[] | .endpoint'
|
||||
done
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue