Update remoteBuild.md

This commit is contained in:
Jeff Regan
2019-04-29 10:06:41 -07:00
committed by GitHub
parent 2ec8189c1c
commit 865348695f

View File

@@ -14,14 +14,15 @@ one pod in the output:
<!-- @remoteOverlayBuild @test --> <!-- @remoteOverlayBuild @test -->
``` ```
target=github.com/kubernetes-sigs/kustomize//examples/multibases/dev/?ref=v1.0.6 target="github.com/kubernetes-sigs/kustomize//examples/multibases/dev/?ref=v1.0.6"
test 1 == \ test 1 == \
$(kustomize build $target | grep cluster-a-dev-myapp-pod | wc -l); \ $(kustomize build $target | grep dev-myapp-pod | wc -l); \
echo $? echo $?
``` ```
Or run against the overlay that combines the dev, staging and prod bases Run against the overlay in that example to get three pods
in that example (you get three pods): (the overlay combines the dev, staging and prod bases for
someone who wants to send them all at the same time):
<!-- @remoteBuild @test --> <!-- @remoteBuild @test -->
``` ```
@@ -44,7 +45,9 @@ namePrefix: remote-
EOF EOF
``` ```
Build this to confirm all three pods (from the base) have the `remote-` prefix. Build this to confirm that all three pods from the base
have the `remote-` prefix.
<!-- @remoteBases @test --> <!-- @remoteBases @test -->
``` ```
test 3 == \ test 3 == \