Fix cpu-manager README links

This commit is contained in:
foo0x29a 2018-10-10 00:33:48 -03:00
parent cb42cf0cfd
commit fc9a9cd884
1 changed files with 4 additions and 4 deletions

View File

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