Openshift: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=describe pods= | =describe pods= | ||
oc describe pods | oc describe pods | ||
=To get (almost) all object with a specific label from the current project, execute:= | |||
oc get all -l '<label_name>=<label_value>' |
Revision as of 14:58, 15 April 2021
List projects
oc projects
select project
oc project $project
list pods
oc get pods
connect to pod
oc get pods
describe pods
oc describe pods
To get (almost) all object with a specific label from the current project, execute:
oc get all -l '<label_name>=<label_value>'