fix the command output (#9957)

I have verified on version v1.11
This commit is contained in:
tanshanshan
2018-08-21 22:29:39 +08:00
committed by k8s-ci-robot
parent 4ce34fc6c0
commit 4302fc7b13
@@ -187,7 +187,7 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
command: [ "echo", "SUCCESS" ] command: [ "echo", "SUCCESS" ]
EOF EOF
pod "private-image-test-1" created pod/private-image-test-1 created
``` ```
If everything is working, then, after a few moments, you should see: If everything is working, then, after a few moments, you should see:
@@ -250,7 +250,7 @@ Run the following command, substituting the appropriate uppercase values:
```shell ```shell
kubectl create secret docker-registry myregistrykey --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL kubectl create secret docker-registry myregistrykey --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL
secret "myregistrykey" created. secret/myregistrykey created.
``` ```
If you need access to multiple registries, you can create one secret for each registry. If you need access to multiple registries, you can create one secret for each registry.