Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:openshift [2022/07/14 12:55] – tmadedocker:openshift [2026/04/14 17:08] (current) – tmade
Line 18: Line 18:
   oc get endpoints                                                 #get service endpoints   oc get endpoints                                                 #get service endpoints
   oc rsh mypod curl -X GET localhost:8080 > /tmp/dump.txt   oc rsh mypod curl -X GET localhost:8080 > /tmp/dump.txt
 +  oc cp --retries 10 my-pod-7-hhtx8:/myfile.jar /tmp/myfile.jar
 +  oc exec $pod -- ps -ef
 +  oc delete routes --all -n my-name-space
 +  oc delete dc,pods --all -n my-name-space                        #delete all dc´s and pod´s in ns
 +  oc delete --force=true --grace-period=0 dc $(oc get dc -o custom-columns=NAME:.metadata.name --no-headers | grep -Ev "(jenkins|grafana||prometheus)") -n my-name-space
    
docker/openshift.1657796103.txt.gz · Last modified: by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki