This is a mirror from kubernetes-the-hard-way - Almost every text is copied only commands/config files are changed to work with AWS. Thank you Kelsey Hightower for your awesome Documentation!
This documentation was meant to help resolving google cloud specific commands in kubernetes-the-hard-way to aws commands. After i realized aws documentation needs a different ip address range (Why?) almost every config file changed and i decided to mirror the whole documentation. This should remove error-prune comparison of both documentations.
This tutorial will walk you through setting up Kubernetes the hard way. This guide is not for people looking for a fully automated command to bring up a Kubernetes cluster. If that's you then check out Google Container Engine, or the Getting Started Guides.
This tutorial is optimized for learning, which means taking the long route to help people understand each task required to bootstrap a Kubernetes cluster.
The target audience for this tutorial is someone planning to support a production Kubernetes cluster and wants to understand how everything fits together. After completing this tutorial I encourage you to automate away the manual steps presented in this guide.
- Kubernetes 1.3.0
- Docker 1.11.2
- CNI Based Networking
- Secure communication between all components (etcd, control plane, workers)
- Default Service Account and Secrets
The resulting cluster will be missing the following items:
The following labs assume you have a working AWS account and a recent version of the AWS cli (1.10.36+) installed. While AWS will be used for basic infrastructure needs, the things learned in this tutorial apply to every platform.
- Cloud Infrastructure Provisioning
- Setting up a CA and TLS Cert Generation
- Bootstrapping an H/A etcd cluster
- Bootstrapping an H/A Kubernetes Control Plane
- Bootstrapping Kubernetes Workers
- Configuring the Kubernetes Client - Remote Access
- Managing the Container Network Routes
- Deploying the Cluster DNS Add-on
- Smoke Test
- Cleaning Up