A Quick and Dirty Way to Run Pods

In this lesson, we will create and run a Pod in an imperative way.

Creating a Pod with Mongo

Just as we can execute docker run to create containers, kubectl allows us to create Pods with a single command. For example, if we’d like to create a Pod with a Mongo database, the command is as follows.

Get hands-on with 1200+ tech skills courses.