Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kubernetes on AWS

You're reading from   Kubernetes on AWS Deploy and manage production-ready Kubernetes clusters on AWS

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781788390071
Length 270 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Ed Robinson Ed Robinson
Author Profile Icon Ed Robinson
Ed Robinson
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Google's Infrastructure for the Rest of Us FREE CHAPTER 2. Start Your Engines 3. Reach for the Cloud 4. Managing Change in Your Applications 5. Managing Complex Applications with Helm 6. Planning for Production 7. A Production-Ready Cluster 8. Sorry My App Ate the Cluster 9. Storing State 10. Managing Container Images 11. Other Books You May Enjoy

Provisioning add-ons

Much of the power of Kubernetes comes from the fact that it is easy to extend by adding additional services to provide additional functionality.

We are going to look at an example of this by deploying kube2iam. This is a daemon that runs on every node in our cluster and intercepts calls to the AWS metadata service that are made by processes running in our pods.

A simple way to provision a service like this is by using a DaemonSet to run a pod on every node in the cluster, as shown in the following code. This approach is already used in our cluster to deploy the aws-vpc-cni networking plugin to every node and to run kube-proxy, the Kubernetes component that runs on every node and that is responsible for routing traffic that is destined for service IPs to the underlying pods:

kube2iam.yaml
--- apiVersion: v1 kind: ServiceAccount metadata: name: kube2iam...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime