Variables for kubespray-deployer
- Configure
env
file with needed vars. Check outenv.template
file. - Place the following files in their corresponding paths:
ssl/ca.crt
: Certificate of the CA from which all certificates were signed.ssl/ingress.crt
: Certificate for ingresses. It should have a wildcard like*.<clustername>.intra.net
ssl/ingress.key
: Private Key of Ingress Certificate.
- Prepare the cluster inventory (
cluster_inventory.yml
). Check out this example - Execute kubespray-deployer:
$ ssh-add ~/.ssh/id_rsa
$ docker run -it --rm \
-v $SSH_AUTH_SOCK:/ssh-agent \
-e "SSH_AUTH_SOCK=/ssh-agent" \
-v $PWD:/work \
--env-file $PWD/env \
atorrescogollo/kubespray-deployer