Skip to content
Snippets Groups Projects
Commit ddd2d5c8 authored by Ing. Klára Moravcová's avatar Ing. Klára Moravcová
Browse files

Modify paths.

parent 363b358f
Branches
No related tags found
No related merge requests found
......@@ -28,22 +28,24 @@ terraform apply
## Create Kubernetes Cluster
- `cd ~/kubernetes-infra-example/ansible/group_vars/all/`
#### Set parameters for the cluster
- In `../ansible/group_vars/` you can modify parameters for the cluster
- All possible group vars are in [Kubespray](https://github.com/kubernetes-sigs/kubespray) project.
- In `openstack.yml` modify the application credentials, can be the same credentials as already created.
- In `all/openstack.yml` modify the application credentials, which could be the same credentials as already created.
#### Install Kubernetes
Prerequisites:
```
cd ~/kubernetes-infra-example/ansible/01-playbook/
cd ../ansible/01-playbook/
sudo pip install -r requirements.txt
ansible-galaxy install -r requirements.yml
```
Run ansible playbook:
```
cd ~/kubernetes-infra-example/ansible/01-playbook/
cd ../ansible/01-playbook/
ansible-playbook -i ../ansible_inventory --user=ubuntu --become --become-user=root play.yml
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment