From the course: Docker for Developers: Create and Manage Docker Containers
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Removing Kubernetes resources and stopping minikube - Docker Tutorial
From the course: Docker for Developers: Create and Manage Docker Containers
Removing Kubernetes resources and stopping minikube
- [Instructor] Before we move on to the next chapter, I wanted to take a minute to show you how to remove Kubernetes resources and stop Minikube. That way you can return to a normal Docker environment. To remove Kubernetes resources, you can delete them one at a time. For example, to delete the app service, in a terminal, type kubectl delete service, then the name of the service, which is app, and then the myapp namespace. You should see a confirmation that the app service has been deleted. You can do something similar for deployments. Type kubectl delete deployment, then the deployment name, which is app, followed by the myapp namespace. Again, you should see a confirmation of the deletion. To make things a bit easier, if you want to remove all of the resources for a namespace, you can just delete the entire namespace. To do so, type kubectl delete namespace myapp. This deletes all resources that are within the myapp…
Contents
-
-
-
-
-
-
-
-
-
(Locked)
What is Kubernetes?2m 4s
-
(Locked)
Installing kubectl and minikube3m
-
(Locked)
Translating Docker Compose to Kubernetes using Kompose4m 29s
-
Deploying a sample application3m 54s
-
(Locked)
Scaling in Kubernetes2m
-
(Locked)
Challenge: Working with Kubernetes1m 26s
-
(Locked)
Solution: Working with Kubernetes2m 57s
-
(Locked)
Removing Kubernetes resources and stopping minikube2m 34s
-
(Locked)
-
-