Skip to Content
Mastering Spring Cloud
book

Mastering Spring Cloud

by Piotr Mińkowski
April 2018
Intermediate to advanced content levelIntermediate to advanced
432 pages
10h 38m
English
Packt Publishing
Content preview from Mastering Spring Cloud

Maintaining a cluster

Maintaining a Kubernetes cluster is rather complex. In this section, we will show you how to use some basic commands and the UI dashboard in order to view the object currently existing on the cluster. Let's first list the elements that have been created for the purpose of running our example microservices-based system. First, we display a list of deployments by running the command kubectl get deployments, which should result in the following:

One deployment can create a number of pods. You can check the list of pods by calling the kubectl get pods command as follows:

The same list can be viewed using the UI dashboard. ...

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

Microservices with Spring Boot and Spring Cloud - Second Edition

Microservices with Spring Boot and Spring Cloud - Second Edition

Magnus Larsson

Publisher Resources

ISBN: 9781788475433Supplemental Content