This function runs the gcloud installation routine via apt-get install google-cloud-sdk. It also installs the kubectl package for Kubernetes functionality. For more information, see the "Getting started" vignette.

kub_install_gcloud()

Value

The path where gcloud was installed

Sudo

To install gcloud, this function requires sudo privileges. To do that, it prompts the user for their password and maintains it until the end of execution. All commands run this way are printed to the console so the user can know everything that's happening.

References

https://cloud.google.com/sdk/docs/downloads-apt-get