Can't figure out how to change this yaml file on google cloud platform

10/10/2018

Maybe i just don't get how to maneuver on GCP, but this tutorial:

'https://cloud.google.com/nodejs/docs/tutorials/bookshelf-on-kubernetes-engine'

Doesn't explain how I change the ".yaml" file.. there's no directory I can just open the file and change it.

Suggestions?

-- ben sweez
google-kubernetes-engine

2 Answers

9/9/2019

You can use the cloud shell code editor:

enter image description here

-- Maja Okholm
Source: StackOverflow

10/16/2018

You can change the .yaml file locally on your computer and then run

kubectl apply -f [path to the yaml file]

You can also edit the yaml on kubernetes dashboard. Go to GCP console, select the Kubernetes section, select workloads, go the specific workload and click 'edit'. It will take you to the .yaml file and then you can change.

-- Yehuda
Source: StackOverflow