Starting cluster using provider: aws Creating vpc. Creating subnet. Creating Internet Gateway. Associating route table. Configuring route table. Adding route to route table. Creating security group. Starting Master Waiting for master to be ready Attempt to check for master node [master running @54.76.244.21] Attempt to check for salt-master [salt-master running] Starting Minion (kube17-minion-1) Starting Minion (kube17-minion-2) Sleeping for 3 seconds... Minion kube17-minion-1 running Minion kube17-minion-2 running Waiting 3 minutes for cluster to settle Kubernetes cluster created. Wrote config for aws_kube17 to /Users/acotten/.kube/config Sanity checking cluster... Attempt 1 to check Docker on node kube17-minion-1 @ 54.77.104.208 ... [working] Attempt 1 to check Docker on node kube17-minion-2 @ 52.16.246.103 ... [working] Kubernetes cluster is running. The master is running at: https://54.76.244.21 The user name and password to use is located in /Users/acotten/.kube/config. Cluster validation succeeded Introduction to Kubernetes
Container runtime Usage of kubelet: --address=0.0.0.0: The IP address for the info server to serve on (set to 0.0.0.0 for all interfaces) --allow_dynamic_housekeeping=true: Whether to allow the housekeeping interval to be dynamic --allow-privileged=false: If true, allow containers to request privileged mode. [default=false] --alsologtostderr=false: log to standard error as well as files --api-servers=[]: List of Kubernetes API servers for publishing events, and reading pods and services […] --container_runtime="docker": The container runtime to use. Possible values: 'docker', ‘rkt'. […] kubelet --help ~ ❯❯❯
Container runtime kubectl get pods ~ ❯❯❯ No ACI* support (yet), Docker images only Need recent built (rkt pull-request merged recently) *App Container Images Current release (v0.17.1): POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS CREATED MESSAGE api-1 10.144.71.27 10.0.21.55 app=api,branch=master Pending 24 minutes api freeletics/rails Pending 24 m api-2 10.144.71.28 10.0.21.55 app=api,branch=master Pending 24 minutes api freeletics/rails Pending 24 m api-3 10.144.51.24 10.0.21.56 app=api,branch=master Pending 25 minutes api freeletics/rails Pending 25 m api-4 10.144.51.25 10.0.21.56 app=api,branch=master Pending 24 minutes api freeletics/rails Pending 24 m web-1 10.144.71.23 10.0.21.55 app=web,branch=master Pending 50 minutes web freeletics/web Pending 50 m web-2 10.144.51.23 10.0.21.56 app=web,branch=master Pending 50 minutes web freeletics/web Pending 50 m
Networking all containers can communicate with all other containers without NAT all nodes can communicate with all containers (and vice-versa) without NAT the IP that a container sees itself as is the same IP that others see it as Kubernetes fundamental requirements:
on CoreOS https://github.com/GoogleCloudPlatform/kubernetes/ Kubernetes GitHub repo part-2/ https://github.com/kelseyhightower/kubestack/ Kubestack, manage Kubernetes with Packer and Terraform