Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix console output formatting for images doc #11525

Merged
merged 1 commit into from
Jul 18, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/user-guide/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ example, run these on your desktop/laptop:

Verify by creating a pod that uses a private image, e.g.:

```
```yaml
$ cat <<EOF > /tmp/private-image-test-1.yaml
apiVersion: v1
kind: Pod
Expand All @@ -136,14 +136,14 @@ $

If everything is working, then, after a few moments, you should see:

```
```console
$ kubectl logs private-image-test-1
SUCCESS
```

If it failed, then you will see:

```
```console
$ kubectl describe pods/private-image-test-1 | grep "Failed"
Fri, 26 Jun 2015 15:36:13 -0700 Fri, 26 Jun 2015 15:39:13 -0700 19 {kubelet node-i2hq} spec.containers{uses-private-image} failed Failed to pull image "user/privaterepo:v1": Error: image user/privaterepo:v1 not found
```
Expand Down Expand Up @@ -189,7 +189,7 @@ Kubernetes supports specifying registry keys on a pod.
First, create a `.dockercfg`, such as running `docker login <registry.domain>`.
Then put the resulting `.dockercfg` file into a [secret resource](secrets.md). For example:

```
```console
$ docker login
Username: janedoe
Password: ●●●●●●●●●●●
Expand Down Expand Up @@ -227,7 +227,7 @@ This process only needs to be done one time (per namespace).
Now, you can create pods which reference that secret by adding an `imagePullSecrets`
section to a pod definition.

```
```yaml
apiVersion: v1
kind: Pod
metadata:
Expand Down