Skip to content

Commit

Permalink
Update deploy_agorakube.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrevillard authored Jun 9, 2020
1 parent 88f5592 commit 8e4c556
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions www/docs/tutorials/deploy_agorakube.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,16 @@ Once you have created your pair of keys, do not forget to set the public key (he

## Modify the hosts file

Now, you need to modify the hosts file of Agorakube. This file is composed of 6 parts. The first one is the group deploy. In this group, you will declare your deploy machine.
The second is for declaring the master machines, the third is for etcd, the fourth is for worker, the fifth is for declaring storage machines and the last is used to declare one IP that is used to publish K8S control plan. (In a production environment this IP is a LoadBalancer that announce K8S masters - port 6443)

Now, you need to modify the hosts file of Agorakube.
This file is composed of 6 parts:
- **deploy** will provide the name of the deploy machine
- **master** will provide a list of master machines to deploy (from 1 to many - best numbers are [1,3,5])
- **etcd** will provide a list of etcd machines to deploy (from 1 to many - best numbers are [1,3,5])
- **worker** will provide a list of worker machines to deploy (from 1 to many )
- **storage** will provide a list of storage machine to deploy (from 1 to many - best numbers are [1,3,5])

The last block **[all:vars]** is used to declare one IP that is used to publish K8S control plan. (In a production environment this IP is a LoadBalancer that announce K8S masters - port 6443). Other parametres in **[all:vars]** are used to specify to Agorakube/Ansible how to connect to cluster machines.

Below the original file from the project. You have to modify it with your own specification.

Expand Down

0 comments on commit 8e4c556

Please sign in to comment.