mirror of https://github.com/k3s-io/k3s
small docs fixes
parent
1c61486ec3
commit
a156691e37
|
@ -62,9 +62,9 @@ Before committing any changes, please link/copy these hooks into your .git
|
|||
directory. This will keep you from accidentally committing non-gofmt'd go code.
|
||||
|
||||
```
|
||||
cd kubernetes
|
||||
ln -s hooks/prepare-commit-msg .git/hooks/prepare-commit-msg
|
||||
ln -s hooks/commit-msg .git/hooks/commit-msg
|
||||
cd kubernetes/.git/hooks/
|
||||
ln -s ../../hooks/prepare-commit-msg .
|
||||
ln -s ../../hooks/commit-msg .
|
||||
```
|
||||
|
||||
## Unit tests
|
||||
|
|
|
@ -169,7 +169,7 @@ ID Image(s) Selector Replicas
|
|||
Start a container running nginx with a replication controller and three replicas:
|
||||
|
||||
```
|
||||
$cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 3 myNginx
|
||||
$ cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 3 myNginx
|
||||
```
|
||||
|
||||
When listing the pods, you will see that three containers have been started and are in Waiting state:
|
||||
|
@ -226,7 +226,7 @@ myNginx dockerfile/nginx replicationController=myNginx 3
|
|||
```
|
||||
|
||||
We did not start any services, hence there is none listed. But we see three replicas displayed properly.
|
||||
Check the [guestbook](examples/guestbook/README.md) application to learn how to create a service.
|
||||
Check the [guestbook](../../examples/guestbook/README.md) application to learn how to create a service.
|
||||
You can already play with resizing the replicas with:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue