Open themsay opened 7 years ago
Hi! Thanks for your feedback!
For the multitool, the new image is actually here: https://github.com/Praqma/Network-MultiTool
Thanks for the short-hand / simplified command to extract network routes information. Very helpful. Thanks!
Regards, Kamran
No such file or directory
$ git clone https://github.com/Praqma/LearnKubernetes.git
Cloning into 'LearnKubernetes'...
remote: Counting objects: 1279, done.
remote: Total 1279 (delta 0), reused 0 (delta 0), pack-reused 1279
Receiving objects: 100% (1279/1279), 6.93 MiB | 0 bytes/s, done.
Resolving deltas: 100% (564/564), done.
Checking connectivity... done.
$ cd LearnKubernetes/kamran/LoadBalancer-Files/
-bash: cd: LearnKubernetes/kamran/LoadBalancer-Files/: No such file or directory
Your tutorial is really helpful. I have two things to point at on https://github.com/Praqma/LearnKubernetes/blob/master/kamran/Kubernetes-The-Hard-Way-on-BareMetal.md
$ kubectl get pods -o wide -w NAME READY STATUS RESTARTS AGE IP NODE centos-multitool-1226373562-rb2md 0/1 ImagePullBackOff 0 53s 10.200.0.14 worker-1 nginx-158599303-7jkwz 1/1 Running 3 1d 10.200.1.13 worker-2 nginx-158599303-p89b2 1/1 Running 3 1d 10.200.0.13 worker-1 centos-multitool-1226373562-rb2md 0/1 ErrImagePull 0 1m 10.200.0.14 worker-1 centos-multitool-1226373562-rb2md 0/1 ImagePullBackOff 0 1m 10.200.0.14 worker-1 centos-multitool-1226373562-rb2md 0/1 ErrImagePull 0 1m 10.200.0.14 worker-1 centos-multitool-1226373562-rb2md 0/1 ImagePullBackOff 0 1m 10.200.0.14 worker-1
$ kubectl get nodes --output=jsonpath='{range .items[*]} {.spec.podCIDR} {.spec.externalID} {"\n"}{end}' 10.200.0.0/24 worker-1 10.200.1.0/24 worker-2
$ kubectl get nodes --output=jsonpath='{range .items[*]}{.spec.podCIDR} {.spec.externalID} {"\n"}{end}' | grep worker-1 | awk '{print $1}' 10.200.0.0/24