19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 ■ Kubernetes on CoreOS on AWS

Table 2-1. (continued)

Configuration setting Description Default Value

workerRootVolumeSize Disk size (GiB) for worker nodes. 30

vpcId

ID of existing VPC to create subnet in. Leave blank to create

a new VPC.

routeTableId

ID of existing route table in existing VPC to attach subnet to.

Leave blank to use the VPC's main route table.

vpcCIDR

CIDR for Kubernetes VPC. If vpcId is specified, must “10.0.0.0/16”

match the CIDR of existing vpc.

instanceCIDR

CIDR for Kubernetes subnet when placing nodes in a “10.0.0.0/24”

single availability zone (not highly-available) Leave

commented out for multi availability zone setting and

use the subnets section instead.

subnets

Kubernetes subnets with their CIDRs and availability

zones. Differentiating availability zone for two or more

subnets result in high-availability (failures of a single

availability zone won't result in immediate downtimes).

controllerIP

IP Address for the controller in Kubernetes subnet. When 10.0.0.50

we have two or more subnets, the controller is placed in

the first subnet and controllerIP must be included in the

instanceCIDR of the first subnet. This convention will

change once CoreOS supports H/A controllers.

serviceCIDR CIDR for all service IP addresses. “10.3.0.0/24”

podCIDR CIDR for all pod IP addresses. “10.2.0.0/16”

dnsServiceIP

IP address of Kubernetes dns service (must be contained 10.3.0.10

by serviceCIDR).

kubernetesVersion

Version of hyperkube image to use. This is the tag for the v1.2.4_coreos.1

hyperkube image repository.

hyperkubeImageRepo Hyperkube image repository to use. quay.io/

coreos/

hyperkube

useCalico

Whether to use Calico for network policy. When set to “true,” false

kubernetesVersion must also be updated to include a

version tagged with CN,I e.g. v1.2.4_coreos.cni.1.

stackTags: Name AWS Tag for CloudFormation stack resources. “Kubernetes”

stackTags: Environment: AWS Tag for CloudFormation stack resources. “Production”

32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!