Merge pull request #278 from foo0x29a/master

Fix cpu-manager README links
This commit is contained in:
k8s-ci-robot 2018-10-13 06:32:08 -07:00 committed by GitHub
commit 00c9d96c5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ system representation generated by
## Run pods
The example pods are in the `/examples/cpu-manager` directory of the
The example pods are in the `/examples/staging/cpu-manager` directory of the
Kubernetes source tree. Your ability to run all of the example pods
simultaneously depends on how many CPUs are available on the test system.
@ -45,14 +45,14 @@ Run a pod with a single container in the shared pool, and another pod
with a single container in an exclusive cpuset with one CPU.
```
$ kubectl create -f examples/cpu-manager/shared.yaml
$ kubectl create -f examples/cpu-manager/exclusive-1.yaml
$ kubectl create -f examples/staging/cpu-manager/shared.yaml
$ kubectl create -f examples/staging/cpu-manager/exclusive-1.yaml
```
To list IP addresses of the pods running in the local cluster, do:
```
$ watch ./examples/cpu-manager/pod-ips
$ watch ./examples/staging/cpu-manager/pod-ips
exclusive-1 http://172.17.0.4
shared http://172.17.0.3
```