Skip to content

Instantly share code, notes, and snippets.

@ashic
Created May 19, 2017 21:23
Show Gist options
  • Select an option

  • Save ashic/e2536d0774ea5fde7e8b7afa98ef7f42 to your computer and use it in GitHub Desktop.

Select an option

Save ashic/e2536d0774ea5fde7e8b7afa98ef7f42 to your computer and use it in GitHub Desktop.
apiVersion: kops/v1alpha2
kind: Cluster
metadata:
creationTimestamp: 2017-04-20T13:18:41Z
name: mydomain.com
spec:
api:
loadBalancer:
type: Public
authorization:
alwaysAllow: {}
channel: stable
cloudProvider: aws
configBase: s3://mybucket/mydomain.com
etcdClusters:
- etcdMembers:
- instanceGroup: master-eu-west-1a
name: a
- instanceGroup: master-eu-west-1b
name: b
- instanceGroup: master-eu-west-1c
name: c
name: main
- etcdMembers:
- instanceGroup: master-eu-west-1a
name: a
- instanceGroup: master-eu-west-1b
name: b
- instanceGroup: master-eu-west-1c
name: c
name: events
kubernetesApiAccess:
- 0.0.0.0/0
kubernetesVersion: 1.6.2
masterInternalName: api.internal.mydomain.com
masterPublicName: api.mydomain.com
networkCIDR: 10.4.144.0/23
networkID: vpc-id
networking:
weave: {}
nonMasqueradeCIDR: 100.64.0.0/10
sshAccess:
- 0.0.0.0/0
subnets:
- cidr: 10.4.144.192/26
id: subnet-ff948c89
name: eu-west-1a
type: Private
zone: eu-west-1a
- cidr: 10.4.145.0/26
id: subnet-184a6e40
name: eu-west-1b
type: Private
zone: eu-west-1b
- cidr: 10.4.145.64/26
id: subnet-bef4ecda
name: eu-west-1c
type: Private
zone: eu-west-1c
- cidr: 10.4.144.0/26
id: subnet-fc948c8a
name: utility-eu-west-1a
type: Utility
zone: eu-west-1a
- cidr: 10.4.144.64/26
id: subnet-194a6e41
name: utility-eu-west-1b
type: Utility
zone: eu-west-1b
- cidr: 10.4.144.128/26
id: subnet-bdf4ecd9
name: utility-eu-west-1c
type: Utility
zone: eu-west-1c
topology:
dns:
type: Public
masters: private
nodes: private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment