mirror of https://github.com/kubernetes/kops.git
100 lines
2.1 KiB
YAML
100 lines
2.1 KiB
YAML
apiVersion: kops/v1alpha2
|
|
kind: Cluster
|
|
metadata:
|
|
creationTimestamp: "2016-12-12T04:13:14Z"
|
|
name: lifecyclephases.example.com
|
|
spec:
|
|
kubernetesApiAccess:
|
|
- 0.0.0.0/0
|
|
channel: stable
|
|
cloudProvider: aws
|
|
configBase: memfs://clusters.example.com/lifecyclephases.example.com
|
|
etcdClusters:
|
|
- etcdMembers:
|
|
- instanceGroup: master-us-test-1a
|
|
name: us-test-1a
|
|
name: main
|
|
- etcdMembers:
|
|
- instanceGroup: master-us-test-1a
|
|
name: us-test-1a
|
|
name: events
|
|
kubernetesVersion: v1.4.12
|
|
masterInternalName: api.internal.lifecyclephases.example.com
|
|
masterPublicName: api.lifecyclephases.example.com
|
|
networkCIDR: 172.20.0.0/16
|
|
networking:
|
|
weave: {}
|
|
nonMasqueradeCIDR: 100.64.0.0/10
|
|
sshAccess:
|
|
- 0.0.0.0/0
|
|
topology:
|
|
masters: private
|
|
nodes: private
|
|
subnets:
|
|
- cidr: 172.20.32.0/19
|
|
name: us-test-1a
|
|
type: Private
|
|
zone: us-test-1a
|
|
- cidr: 172.20.4.0/22
|
|
name: utility-us-test-1a
|
|
type: Utility
|
|
zone: us-test-1a
|
|
|
|
---
|
|
|
|
apiVersion: kops/v1alpha2
|
|
kind: InstanceGroup
|
|
metadata:
|
|
creationTimestamp: "2016-12-12T04:13:15Z"
|
|
name: master-us-test-1a
|
|
labels:
|
|
kops.k8s.io/cluster: lifecyclephases.example.com
|
|
spec:
|
|
associatePublicIp: true
|
|
image: kope.io/k8s-1.4-debian-jessie-amd64-hvm-ebs-2016-10-21
|
|
machineType: m3.medium
|
|
maxSize: 1
|
|
minSize: 1
|
|
role: Master
|
|
subnets:
|
|
- us-test-1a
|
|
|
|
---
|
|
|
|
apiVersion: kops/v1alpha2
|
|
kind: InstanceGroup
|
|
metadata:
|
|
creationTimestamp: "2016-12-12T04:13:15Z"
|
|
name: nodes
|
|
labels:
|
|
kops.k8s.io/cluster: lifecyclephases.example.com
|
|
spec:
|
|
associatePublicIp: true
|
|
image: kope.io/k8s-1.4-debian-jessie-amd64-hvm-ebs-2016-10-21
|
|
machineType: t2.medium
|
|
maxSize: 2
|
|
minSize: 2
|
|
role: Node
|
|
subnets:
|
|
- us-test-1a
|
|
|
|
|
|
---
|
|
|
|
apiVersion: kops/v1alpha2
|
|
kind: InstanceGroup
|
|
metadata:
|
|
creationTimestamp: "2016-12-14T15:32:41Z"
|
|
name: bastion
|
|
labels:
|
|
kops.k8s.io/cluster: lifecyclephases.example.com
|
|
spec:
|
|
associatePublicIp: true
|
|
image: kope.io/k8s-1.4-debian-jessie-amd64-hvm-ebs-2016-10-21
|
|
machineType: t2.micro
|
|
maxSize: 1
|
|
minSize: 1
|
|
role: Bastion
|
|
subnets:
|
|
- utility-us-test-1a
|