Skip to Content
Kubernetes in Action
book

Kubernetes in Action

by Marko Luksa
January 2018
Beginner to intermediate
624 pages
19h 23m
English
Manning Publications
Content preview from Kubernetes in Action

Chapter 8. Accessing pod metadata and other resources from applications

This chapter covers

  • Using the Downward API to pass information into containers
  • Exploring the Kubernetes REST API
  • Leaving authentication and server verification to kubectl proxy
  • Accessing the API server from within a container
  • Understanding the ambassador container pattern
  • Using Kubernetes client libraries

Applications often need information about the environment they’re running in, including details about themselves and that of other components in the cluster. You’ve already seen how Kubernetes enables service discovery through environment variables or DNS, but what about other information? In this chapter, you’ll see how certain pod and container metadata can be passed ...

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: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower
Terraform in Action

Terraform in Action

Scott Winkler
Kubernetes for Beginners

Kubernetes for Beginners

Bogdan Stashchuk

Publisher Resources

ISBN: 9781617293726Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link