Skip to Content
Hands-On Microservices with Kubernetes
book

Hands-On Microservices with Kubernetes

by Gigi Sayfan
July 2019
Intermediate to advanced
502 pages
14h
English
Packt Publishing
Content preview from Hands-On Microservices with Kubernetes

What resources should you provision?

It's important to distinguish between Kubernetes resources and the underlying infrastructure resources they depend on. For Kubernetes resources, the Kubernetes API is the way to go. How you interact with the API is up to you, but I recommend that you generate YAML files and run them through kubectl create or kubectl apply as part of your CI/CD pipeline.

Commands like kubectl run and kubectl scale are useful for interactive exploration of your cluster and running ad hoc tasks, but they go against the grain of declarative infrastructure as code.

You could also directly hit the REST endpoints of the Kubernetes API or use a client library if you have a very complex CI/CD workflow that you implement using some ...

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

Kubernetes Microservices

Kubernetes Microservices

Richard Chesterwood
Cloud Native DevOps with Kubernetes

Cloud Native DevOps with Kubernetes

John Arundel, Justin Domingus
Microservices: Up and Running

Microservices: Up and Running

Ronnie Mitra, Irakli Nadareishvili

Publisher Resources

ISBN: 9781789805468Supplemental Content