⬅️ Back to the OpenShift overview
Generally, you can achieve all things OpenShift cluster related either using the Web Console or the CLI (using the oc binary). The choice is yours! For this example however, the Web Console does not allow you to create "just a pod" - the most basic unit you can deploy via Web Console is an app which we'll discuss after.
Note: if you haven't configured your cluster connection, go to oc-connect.md
Run a simple pod using the httpd-2.4 image:
oc run httpd --image ubi8/httpd-24 --port 8080Have a look at all pods in your project:
oc get podGet specifically the previously created "httpd" pod:
oc get pod httpdCheck the logs of that pod:
oc logs httpdGet a better description of the pod:
oc describe pod httpd📝 Can you figure out where (i.e. on which node) the pod is running?