Skip to content

Instantly share code, notes, and snippets.

@diegolakatos
Created February 10, 2019 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegolakatos/244c093ef2c52ac4852cd0b17e4eec2d to your computer and use it in GitHub Desktop.
Save diegolakatos/244c093ef2c52ac4852cd0b17e4eec2d to your computer and use it in GitHub Desktop.
Kops configuration file
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: kops/v1alpha2
kind: Cluster
metadata:
creationTimestamp: 2019-02-10T18:02:24Z
name: xxxx.k8s.local
spec:
api:
loadBalancer:
type: Public
authorization:
rbac: {}
channel: stable
cloudProvider: aws
configBase: s3://<bucket-name>/<cluster name>
etcdClusters:
- backups:
backupStore: s3://<bucket-name>/<cluster name>/backups/etcd/main
etcdMembers:
- instanceGroup: master-us-east-1a
name: a
- instanceGroup: master-us-east-1b
name: b
- instanceGroup: master-us-east-1c
name: c
name: main
enableEtcdTLS: true
version: 3.2.24
- etcdMembers:
- instanceGroup: master-us-east-1a
name: a
- instanceGroup: master-us-east-1b
name: b
- instanceGroup: master-us-east-1c
name: c
name: events
enableEtcdTLS: true
version: 3.2.24
iam:
allowContainerRegistry: true
legacy: false
kubelet:
anonymousAuth: false
kubernetesApiAccess:
- 0.0.0.0/0
kubernetesVersion: 1.11.6
masterInternalName: api.internal.xxxxx.k8s.local
masterPublicName: api.xxxxx.k8s.local
networkCIDR: 172.31.0.0/16
networkID: vpc-xxxxxx
networking:
calico:
majorVersion: v3
nonMasqueradeCIDR: 100.64.0.0/10
sshAccess:
- 0.0.0.0/0
subnets:
- cidr: 172.31.160.0/19
name: us-east-1c
type: Private
zone: us-east-1c
egress: nat-xxxxx
id: subnet-xxxx
- cidr: 172.31.128.0/19
name: us-east-1b
type: Private
zone: us-east-1b
egress: nat-xxxxx
id: subnet-xxxx
- cidr: 172.31.96.0/19
name: us-east-1a
type: Private
zone: us-east-1a
egress: nat-xxxxx
id: subnet-xxxx
- cidr: 172.31.64.0/19
name: kubernetes-vpc-public.us-east-1c
type: Utility
zone: us-east-1c
id: subnet-xxxx
- cidr: 172.31.32.0/19
name: kubernetes-vpc-public.us-east-1b
type: Utility
zone: us-east-1b
id: subnet-xxxx
- cidr: 172.31.0.0/19
name: kubernetes-vpc-public.us-east-1a
type: Utility
zone: us-east-1a
id: subnet-xxxx
topology:
dns:
type: Private
masters: private
nodes: private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment