This page contains how to deploy common_tools to Kubernetes Cluster.
- terraform
- kubectl (configured )
- helm v2.11.0
- Cert-manager v0.11.0
- Kube Cluster 1.12.7-gke.10
-
Jenkins Jenkins is will be deployed to the cluster. You will need to get password from the pod Example doc
-
Nexus After deploying the nexus you will need to change the password default creds is
admin:admin123
-
Grafana Grafana also will be deployed you are able to parse admin username and password with tfvars. Vars
grafana_username
,grafana_password
-
Vault For Vault you will need to create parse variable for token call it
vault_token
First you will need to clone the repo
git clone https://github.com/fuchicorp/common_tools.git
cd common_tools
Please use default module just run following command.
source set-env.sh configuration/fuchicorp-common-tools.tfvars
If you are using scripted way you will need to generate tfvars file. For example
» cat <<EOF > terraform apply -var-file=$DATAFILE
grafana_password = 'mypassword'
grafana_username = 'admin_user'
namespace = 'tools'
vault_token = 'a872nawd81*q2n'
EOF
After you done with generation of the var file. You can start deploying.
terraform plan -var-file=terraform apply -var-file=$DATAFILE
terraform apply -var-file=terraform apply -var-file=$DATAFILE