GNU/Linux Openshift Frequently Used Command

Delete evicted pods from current OpenShift project.

oc get pods | grep Evicted | awk '{print $1}' | xargs oc delete pod

Create an OpenShift secret from the command line.

oc create secret generic gateway1 --from-file=server.p12

Leave a Comment

Your email address will not be published. Required fields are marked *