Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion infra/rancher-master
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ echo "/root/.kube/config found"
# remove k3s implementation of kubectl
rm /usr/local/bin/kubectl

echo "waiting for rancher guest cluster readiness"
while ! kubectl wait pod -n cattle-system --timeout=300s --for=condition=ready -l app=cattle-cluster-agent; do
sleep 2
done

echo "url https://rancher.$name.$ocp4_domain" >> /var/log/px-deploy/completed/tracking
echo "cred portworx1!portworx1!" >> /var/log/px-deploy/completed/tracking

Expand All @@ -35,4 +40,4 @@ Rancher Web UI: https://rancher.$name.$ocp4_domain
Admin User Name: admin
Password: portworx1!portworx1!
+================================================+
EOF
EOF
Loading