Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| # 安装 kubespray | |
| cd /opt | |
| git clone https://github.com/kubernetes-sigs/kubespray.git | |
| cd kubespray | |
| pip3 install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com | |
| # 配置集群 | |
| # Copy ``inventory/sample`` as ``inventory/mycluster`` | |
| cp -rfp inventory/sample inventory/mycluster |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000