Skip to content

Instantly share code, notes, and snippets.

@rtrentin73
Last active June 19, 2022 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrentin73/92944f0a7277f995e5363141e7339e46 to your computer and use it in GitHub Desktop.
Save rtrentin73/92944f0a7277f995e5363141e7339e46 to your computer and use it in GitHub Desktop.
steps:
- name: "gcr.io/cloud-builders/kubectl"
args: ['get', 'nodes']
env:
- 'CLOUDSDK_COMPUTE_REGION=us-central1-c'
- 'CLOUDSDK_CONTAINER_CLUSTER=gke-us-central1-cluster'
options:
workerPool:
'projects/rtrentin01/locations/us-central1/workerPools/private-pool-spoke60'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment