Skip to content

Instantly share code, notes, and snippets.

View qlixed's full-sized avatar

QliXeD - Ezequiel Hector Brizuela qlixed

  • Red Hat
  • Buenos Aires, Argentina
  • 16:34 (UTC -03:00)
  • X @qlixed
View GitHub Profile
@eitchugo
eitchugo / ocp-project-snapshot.sh
Created May 4, 2020 21:33
OpenShift Project Snapshot for Troubleshooting
#!/bin/bash
#
# check oc/login
oc whoami 1> /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "ERROR: You need to be logged in the cluster with 'oc' before running this."
exit 1
fi