Use ansible instead of kargo-cli to deploy k8s

This commit is contained in:
Aleksandr Didenko 2016-06-29 11:24:20 +02:00
parent 8acd4396d6
commit 8d80265392
2 changed files with 4 additions and 2 deletions

View file

@ -21,6 +21,7 @@ assign_node_roles() {
create_network_conf
assign_node_roles
kubectl delete namespace openstack && sleep 40
kubectl delete namespace openstack && sleep 120
mcp-microservices --config-file=/root/mcp.conf deploy -t /root/cluster-topology.yaml

View file

@ -17,7 +17,8 @@ else
fi
echo "Running deployment..."
kargo deploy -y --ansible-opts="-e @custom.yaml"
#kargo deploy -y --ansible-opts="-e @custom.yaml"
ansible-playbook -i $INVENTORY kargo/cluster.yml -e @custom.yaml
deploy_res=$?
if [ "$deploy_res" -eq "0" ]; then