Please see agnosticd repo if you need a primer.
-
Order an OpenShift 4.x Cluster on RHPDS.
-
Set environment variables (substitute your own values)
export TARGET_HOST=changeme # example: bastion.b454.sandbox1682.opentlc.com
export OCP_USERNAME=changeme
export WORKLOAD="ocp4_workload_servicemesh_workshop"
export GUID=example # example: b454
export USER_COUNT=5 # number of users for the workshop
- Run AgnosticD (use the development branch)
ansible-playbook -i ${TARGET_HOST}, ./configs/ocp-workloads/ocp-workload.yml \
-e"ansible_ssh_private_key_file=$HOME/.ssh/id_rsa" \
-e"ansible_user=${OCP_USERNAME}" \
-e"ocp_username=${OCP_USERNAME}" \
-e"ocp_workload=${WORKLOAD}" \
-e"silent=False" \
-e"guid=${GUID}" \
-e"num_users=${USER_COUNT}" \
-e"ACTION=create"