May 2018
Intermediate to advanced
554 pages
13h 51m
English
We need to integrate to pull an image from the Kubernetes node, which requires a long-lived credential that can be stored to the Kubernetes secret. To do that, perform the following steps:
$ gcloud iam service-accounts create container-sa Created service account [container-sa]. //full name is as below $ gcloud iam service-accounts list | grep container container-sa@kubernetes-cookbook.iam.gserviceaccount.com
$ gcloud projects add-iam-policy-binding kubernetes-cookbook \> --member serviceAccount:container-sa@kubernetes-cookbook.iam.gserviceaccount.com \> --role=roles/storage.admin ...