Fixed docs
This commit is contained in:
parent
7ab62170e0
commit
95a2bcdd9d
1 changed files with 13 additions and 5 deletions
18
README.md
18
README.md
|
@ -49,17 +49,14 @@ sudo su -
|
|||
git clone https://github.com/adidenko/vagrant-k8s ~/mcp
|
||||
```
|
||||
|
||||
* Install required software and pull needed repos (modify script if you're not
|
||||
running it on Vagrant lab, you'll need to create `nodes` list manually and
|
||||
clone `microservices` and `microservices-repos` repositories, see ccp-pull.sh
|
||||
for details)
|
||||
* Install required software and pull needed repos:
|
||||
|
||||
```bash
|
||||
cd ~/mcp
|
||||
./bootstrap-master.sh
|
||||
```
|
||||
|
||||
* Check nodes list and make sure you have SSH access to them
|
||||
* Check `nodes` list and make sure you have SSH access to them
|
||||
|
||||
```bash
|
||||
cd ~/mcp
|
||||
|
@ -84,6 +81,17 @@ ansible-playbook -i nodes_to_inv.py playbooks/ccp-build.yaml
|
|||
ansible-playbook -i nodes_to_inv.py playbooks/ccp-deploy.yaml
|
||||
```
|
||||
|
||||
* Check Horizon:
|
||||
|
||||
```bash
|
||||
# On k8s master node check nodePort of Horizon service
|
||||
HORIZON_PORT=$(kubectl --namespace=openstack get svc/horizon -o go-template='{{(index .spec.ports 0).nodePort}}')
|
||||
echo $HORIZON_PORT
|
||||
|
||||
# Access Horizon via nodePort
|
||||
curl -i -s $ANY_K8S_NODE_IP:$HORIZON_PORT
|
||||
```
|
||||
|
||||
Working with kubernetes
|
||||
-----------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue