Skip to content

Commit

Permalink
Update README: Add instructions to use the ansible playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
matevskial committed Mar 21, 2021
1 parent d38910f commit 1bccbe2
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Project configuration files for the subject Administration of network services in my uni.

# Ansible
# General

The configuration files for ansible currently assume the following hosts:
The configuration files for ansible and kubernetes currently assume the following hosts:

* VM 1:
* Ubuntu server 18.04 and later
Expand All @@ -27,3 +27,16 @@ The configuration files for ansible currently assume the following hosts:
* username: kubenode
* password: 12345678
* no password for sudo

# Ansible

There are 3 playbooks, to install kubernetes, to set up the kubernetes cluster on maste, and to join the kubernetes workers to the cluster

To set up the kubernetes cluster, execute the following commands:

```
cd ansible
ansible-playbook install_kubernetes.yaml
ansible-playbook setup_kubernetes_cluster.yaml
ansible-playbook setup_kubernetes_workers.yaml
```

0 comments on commit 1bccbe2

Please sign in to comment.