deployer.yml
deploys or deletes instances of the Parks App demo application on given OpenShift cluster.
Login to your source cluster and store the KUBECONFIG in a file :
export KUBECONFIG=<PATH_TO_OCP3_CONFIG>
oc login ...
Deploy instances of applications :
ansible-playbook deployer.yml -e kubeconfig=<PATH_TO_OCP3_CONFIG> -e ns_count=100
Destroy :
ansible-playbook deployer.yml -e kubeconfig=<PATH_TO_OCP3_CONFIG> -e ns_count=100 -e destroy=true
Login to your source cluster and store the KUBECONFIG in a file :
export KUBECONFIG=<PATH_TO_OCP4_CONFIG>
oc login ...
Clean up :
ansible-playbook deployer.yml -e kubeconfig=<PATH_TO_OCP4_CONFIG> -e ns_count=100 -e destroy=true