Merge pull request #307 from Paul-Xiong/issue-306

update practice/kubedns-addon-installation.md doc
pull/312/head
Jimmy Song 2018-11-06 19:44:47 +08:00 committed by GitHub
commit 4f2fc925b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,7 @@ $ kubectl create -f .
新建一个 Deployment
``` bash
$ cat my-nginx.yaml
$ cat >> my-nginx.yaml << EOF
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@ -150,6 +150,7 @@ spec:
image: harbor-001.jimmysong.io/library/nginx:1.9
ports:
- containerPort: 80
EOF
$ kubectl create -f my-nginx.yaml
```