Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| kubernetes_install_on_fedora [2018/04/09 09:50] – [cluster/get-kube-binaries.sh] rpjday | kubernetes_install_on_fedora [2018/04/09 10:15] (current) – [cluster/get-kube-binaries.sh] rpjday | ||
|---|---|---|---|
| Line 117: | Line 117: | ||
| </ | </ | ||
| - | The client tarball consists | + | In short, from the '' |
| + | |||
| + | < | ||
| + | $ mkdir -p platforms/linux/ | ||
| + | $ tar xvf ../ | ||
| + | > --strip-components 3 \ | ||
| + | > -C platforms/linux/amd64 | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | $ tree platforms | ||
| + | platforms | ||
| + | └── linux | ||
| + | └── amd64 | ||
| + | └── | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | Finally, make sure you can find '' | ||
| + | |||
| + | < | ||
| + | PATH=$PATH:/ | ||
| + | </ | ||
| ===== create_cluster ===== | ===== create_cluster ===== | ||
| + | |||
| + | ==== Overview ==== | ||
| + | |||
| + | This function kicks off a new cluster: | ||
| + | |||
| + | < | ||
| + | function create_cluster { | ||
| + | if [[ -n " | ||
| + | exit 0 | ||
| + | fi | ||
| + | echo " | ||
| + | ( | ||
| + | cd kubernetes | ||
| + | ./ | ||
| + | echo " | ||
| + | if [[ ": | ||
| + | echo "You may want to add this directory to your PATH in \$HOME/ | ||
| + | fi | ||
| + | |||
| + | echo " | ||
| + | ) | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | You might want to add the '' | ||
| + | |||
| + | < | ||
| + | PATH=$PATH:/ | ||
| + | </ | ||
| + | ==== create_cluster() ==== | ||
| + | |||
| + | This function calls the underlying script '' | ||
| + | |||
| + | < | ||
| + | function create_cluster { | ||
| + | if [[ -n " | ||
| + | exit 0 | ||
| + | fi | ||
| + | echo " | ||
| + | ( | ||
| + | cd kubernetes | ||
| + | ./ | ||
| + | echo " | ||
| + | if [[ ": | ||
| + | echo "You may want to add this directory to your PATH in \$HOME/ | ||
| + | fi | ||
| + | |||
| + | echo " | ||
| + | ) | ||
| + | } | ||
| + | </ | ||