This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Feature Branch | |
git checkout --orphan fixit | |
git add -A | |
git commit -m "update" | |
git branch -D feature/bastion-create | |
git branch -m feature/bastion-create | |
git push -f origin feature/bastion-create | |
git gc --aggressive --prune=all | |
# Master Branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Display currently installed operators and cluster version | |
oc adm release info | |
# List the current Operators Status | |
oc get clusteroperators | |
# Upgrade from command line | |
oc adm upgrade | |
# Remotely connet to the cluster. | |
oc debug node/ip-10-216-29-190.ap-southeast-2.compute.internal --image=rhel-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl not smart enough for ipv6, so force ipv4 | |
# on my mac I started to get localhost connect failure | |
# | |
# curl: (7) Failed to connect to localhost port 9031: Connection refused | |
echo '--ipv4' >> ~/.curlrc |