Wednesday, July 26, 2023

[docker] [minikube] Create a Deployment


[0] Create a minikube cluster


[1] Create a deployment

[1].Use the kubectl create command to create a Deployment that manages a Pod. The Pod runs a Container based on the provided Docker image.

[2].View the Deployment:

[3].View the Pod:

[4].View cluster events:

[5].View the kubectl configuration:

[2].Create a Service

[1].Expose the Pod to the public internet using the kubectl expose command:

[2].View the Service you created:

[3].Run the following command:





No comments:

Post a Comment