Skip to Content
Hands-On Microservices with Spring Boot and Spring Cloud
book

Hands-On Microservices with Spring Boot and Spring Cloud

by Magnus Larsson
September 2019
Intermediate to advanced
668 pages
15h 59m
English
Packt Publishing
Content preview from Hands-On Microservices with Spring Boot and Spring Cloud

Terminating a Kubernetes cluster

Run the following command to terminate a Kubernetes cluster:

minikube delete --profile handson-spring-boot-cloud 

You can actually run the delete command without specifying the profile, but I find it safer to be explicit regarding the profile when it comes to the delete command. Otherwise, you may accidentally delete the wrong Kubernetes cluster!

Neither the Minikube profile definition under ~/.minikube/profiles/ nor the kubectl context in ~/.kube/config is deleted by this command. If they are no longer required, they can be deleted with the following commands:

rm -r ~/.minikube/profiles/handson-spring-boot-cloudkubectl config delete-context handson-spring-boot-cloud
The kubectl config delete-context command ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Master Microservices with Spring Boot and Spring Cloud

Master Microservices with Spring Boot and Spring Cloud

In28Minutes Official

Publisher Resources

ISBN: 9781789613476Supplemental Content