README: clarify gcr image updating
Looks like this is still confusing users. Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
228105d229
commit
ea02858fad
1 changed files with 8 additions and 5 deletions
13
README.md
13
README.md
|
@ -110,12 +110,15 @@ Find **Protocol Buffers Descriptions** at the [`./pb` directory](./pb).
|
||||||
|
|
||||||
gcloud auth configure-docker -q
|
gcloud auth configure-docker -q
|
||||||
|
|
||||||
3. Edit `skaffold.yaml`, prepend your GCR registry host (`gcr.io/YOUR_PROJECT/`)
|
3. Set your project ID on image names:
|
||||||
to all `imageName:` fields (or update the existing project name).
|
|
||||||
|
|
||||||
4. Edit the Deployment manifests in
|
- Edit `skaffold.yaml`, update the `imageName:` fields that look lik
|
||||||
[`./kubernetes-manifests`](./kubernetes-manifests) directory and update the
|
`gcr.io/[PROJECT_ID]` with your own GCP project ID.
|
||||||
`image:` fields to match the changes you made in the previous step.
|
|
||||||
|
- Similarly, edit all Kubernetes Deployment manifests in the
|
||||||
|
[`./kubernetes-manifests`](./kubernetes-manifests) directory. Find the
|
||||||
|
`image:` fields with `gcr.io/...` and change them to your own GCP project
|
||||||
|
ID.
|
||||||
|
|
||||||
5. Run `skaffold run` from the root of this repository. This command:
|
5. Run `skaffold run` from the root of this repository. This command:
|
||||||
- builds the container images
|
- builds the container images
|
||||||
|
|
Loading…
Add table
Reference in a new issue