Данный репозиторий содержит инфраструктурный код, использованный в рамках курса от Яндекс Практикума. Тут лежит репозиторий приложения.
cd terraform/sausage-store
terraform init
terraform plan -var yc_token=${YC_TOKEN}
terraform apply -var yc_token=${YC_TOKEN}
terraform destroy -var yc_token=${YC_TOKEN}
Need to export ${YC_TOKEN} with yc token value after apply terraform will create inventory for ansible
cd ansible
ansible-playbook playbook -i inventory
you need to insert nexus repo login/password to console after run playbook
You need to export KUBE_CONFIG
kubectl apply -f backend backend-report frontend
You need to export KUBE_CONFIG
helm install sausage-store ./sausage-store-chart