Created
October 11, 2020 17:39
-
-
Save MeirP-3/c48d6a278c72e944ef64ecac98806c65 to your computer and use it in GitHub Desktop.
cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kops.k8s.io/v1alpha2 | |
kind: Cluster | |
metadata: | |
creationTimestamp: null | |
generation: 1 | |
name: example.com | |
spec: | |
additionalPolicies: | |
master: | | |
[ | |
{ | |
"Effect": "Allow", | |
"Action": ["sts:AssumeRole"], | |
"Resource": "*" | |
} | |
] | |
node: | | |
[ | |
{ | |
"Effect": "Allow", | |
"Action": ["sts:AssumeRole"], | |
"Resource": "*" | |
} | |
] | |
addons: | |
- manifest: s3://**/kops/example.com/addons/dev-cluster-addons.yaml | |
- manifest: ambassador | |
api: | |
loadBalancer: | |
type: Public | |
authentication: | |
aws: {} | |
authorization: | |
rbac: {} | |
channel: stable | |
cloudLabels: | |
env: dev | |
cloudProvider: aws | |
configBase: s3://**/kops/example.com | |
dnsZone: example.com | |
etcdClusters: | |
- etcdMembers: | |
- encryptedVolume: true | |
instanceGroup: master-us-east-1b | |
name: a | |
- encryptedVolume: true | |
instanceGroup: master-us-east-1c | |
name: b | |
- encryptedVolume: true | |
instanceGroup: master-us-east-1f | |
name: c | |
name: main | |
version: 3.3.10 | |
- etcdMembers: | |
- encryptedVolume: true | |
instanceGroup: master-us-east-1b | |
name: a | |
- encryptedVolume: true | |
instanceGroup: master-us-east-1c | |
name: b | |
- encryptedVolume: true | |
instanceGroup: master-us-east-1f | |
name: c | |
name: events | |
version: 3.3.10 | |
iam: | |
allowContainerRegistry: true | |
legacy: false | |
kubeAPIServer: | |
auditLogMaxAge: 10 | |
auditLogMaxBackups: 1 | |
auditLogMaxSize: 100 | |
auditLogPath: /var/log/kube-apiserver-audit.log | |
auditPolicyFile: /srv/kubernetes/assets/audit-policy | |
kubeDNS: | |
provider: CoreDNS | |
kubelet: | |
anonymousAuth: false | |
authenticationTokenWebhook: true | |
authorizationMode: Webhook | |
resolvConf: /run/systemd/resolve/resolv.conf | |
kubernetesApiAccess: | |
- "****" | |
kubernetesVersion: v1.14.2 | |
masterInternalName: api.internal.example.com | |
masterPublicName: api.example.com | |
networkCIDR: 10.10.0.0/16 | |
networking: | |
amazonvpc: {} | |
nonMasqueradeCIDR: 100.64.0.0/10 | |
sshAccess: | |
- "****" | |
subnets: | |
- cidr: 10.10.32.0/19 | |
name: us-east-1b | |
type: Private | |
zone: us-east-1b | |
- cidr: 10.10.64.0/19 | |
name: us-east-1c | |
type: Private | |
zone: us-east-1c | |
- cidr: 10.10.96.0/19 | |
name: us-east-1f | |
type: Private | |
zone: us-east-1f | |
- cidr: 10.10.0.0/22 | |
name: utility-us-east-1b | |
type: Utility | |
zone: us-east-1b | |
- cidr: 10.10.4.0/22 | |
name: utility-us-east-1c | |
type: Utility | |
zone: us-east-1c | |
- cidr: 10.10.8.0/22 | |
name: utility-us-east-1f | |
type: Utility | |
zone: us-east-1f | |
topology: | |
bastion: | |
bastionPublicName: bastion.example.com | |
dns: | |
type: Public | |
masters: private | |
nodes: private | |
updatePolicy: external | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:15Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-headroom-cpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-gpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-mem-per-unit: "0" | |
spotinst.io/autoscaler-headroom-num-of-units: "0" | |
spotinst.io/spot-percentage: "0" | |
name: name1 | |
spec: | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: c5.2xlarge | |
maxSize: 8 | |
minSize: 1 | |
nodeLabels: | |
dedicated: name1 | |
kops.k8s.io/instancegroup: name1 | |
role: Node | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1b | |
- us-east-1c | |
- us-east-1f | |
taints: | |
- dedicated=name1:NoSchedule | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:12Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-headroom-cpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-gpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-mem-per-unit: "0" | |
spotinst.io/autoscaler-headroom-num-of-units: "0" | |
spotinst.io/spot-percentage: "100" | |
name: bastions | |
spec: | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: t3a.nano,t3.nano,t3a.micro,t3.micro,t2.micro,t3a.small,t3.small,t2.small | |
maxSize: 1 | |
minSize: 1 | |
nodeLabels: | |
kops.k8s.io/instancegroup: bastions | |
role: Bastion | |
rootVolumeType: GP2 | |
subnets: | |
- utility-us-east-1b | |
- utility-us-east-1c | |
- utility-us-east-1f | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:16Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-headroom-cpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-gpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-mem-per-unit: "0" | |
spotinst.io/autoscaler-headroom-num-of-units: "0" | |
spotinst.io/spot-percentage: "100" | |
name: ci | |
spec: | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: m5a.large,m5a.xlarge,m5a.2xlarge,m5.large,m5.xlarge,m5.2xlarge,m4.large,m4.xlarge,m4.2xlarge,t3.micro,t3a.micro,t3.small,t3a.small,t3.medium,t3a.medium,t3.large,t3a.large,t3.xlarge,t3a.xlarge,t3.2xlarge,t3a.2xlarge,r5a.large,r5a.xlarge,r5a.2xlarge,r5.large,r5.xlarge,r5.2xlarge,c5.large,c5.xlarge,c5.2xlarge | |
maxSize: 3 | |
minSize: 1 | |
nodeLabels: | |
dedicated: ci | |
kops.k8s.io/instancegroup: ci | |
role: Node | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1b | |
- us-east-1c | |
- us-east-1f | |
taints: | |
- dedicated=ci:NoSchedule | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:14Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-headroom-cpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-gpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-mem-per-unit: "0" | |
spotinst.io/autoscaler-headroom-num-of-units: "0" | |
spotinst.io/spot-percentage: "100" | |
name: dev-tools | |
spec: | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: m5a.large,m5a.xlarge,m5a.2xlarge,m5.large,m5.xlarge,m5.2xlarge,m4.large,m4.xlarge,m4.2xlarge,t3.micro,t3a.micro,t3.small,t3a.small,t3.medium,t3a.medium,t3.large,t3a.large,t3.xlarge,t3a.xlarge,t3.2xlarge,t3a.2xlarge,r5a.large,r5a.xlarge,r5a.2xlarge,r5.large,r5.xlarge,r5.2xlarge,c5.large,c5.xlarge,c5.2xlarge | |
maxSize: 5 | |
minSize: 3 | |
nodeLabels: | |
dedicated: dev-tools | |
kops.k8s.io/instancegroup: dev-tools | |
role: Node | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1b | |
- us-east-1c | |
- us-east-1f | |
taints: | |
- dedicated=dev-tools:NoSchedule | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:09Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-cooldown: "300" | |
spotinst.io/autoscaler-disabled: "true" | |
name: master-us-east-1b | |
spec: | |
fileAssets: | |
- content: | | |
... (truncated) | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: m5a.large,m5.large,m4.large | |
maxSize: 1 | |
minSize: 1 | |
nodeLabels: | |
kops.k8s.io/instancegroup: master-us-east-1b | |
role: Master | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1b | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:10Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-cooldown: "300" | |
spotinst.io/autoscaler-disabled: "true" | |
name: master-us-east-1c | |
spec: | |
fileAssets: | |
- content: | | |
... (truncated) | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: m5a.large,m5.large,m4.large | |
maxSize: 1 | |
minSize: 1 | |
nodeLabels: | |
kops.k8s.io/instancegroup: master-us-east-1c | |
role: Master | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1c | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:11Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-cooldown: "300" | |
spotinst.io/autoscaler-disabled: "true" | |
name: master-us-east-1f | |
spec: | |
fileAssets: | |
- content: | | |
... (truncated) | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: m5a.large,m5.large,m4.large | |
maxSize: 1 | |
minSize: 1 | |
nodeLabels: | |
kops.k8s.io/instancegroup: master-us-east-1f | |
role: Master | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1f | |
--- | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: "2020-10-11T14:54:13Z" | |
labels: | |
kops.k8s.io/cluster: example.com | |
spotinst.io/autoscaler-headroom-cpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-gpu-per-unit: "0" | |
spotinst.io/autoscaler-headroom-mem-per-unit: "0" | |
spotinst.io/autoscaler-headroom-num-of-units: "0" | |
spotinst.io/spot-percentage: "0" | |
name: r-nodes | |
spec: | |
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190514 | |
machineType: m5a.large,m5a.xlarge,m5a.2xlarge,m5.large,m5.xlarge,m5.2xlarge,m4.large,m4.xlarge,m4.2xlarge,t3.micro,t3a.micro,t3.small,t3a.small,t3.medium,t3a.medium,t3.large,t3a.large,t3.xlarge,t3a.xlarge,t3.2xlarge,t3a.2xlarge,r5a.large,r5a.xlarge,r5a.2xlarge,r5.large,r5.xlarge,r5.2xlarge,c5.large,c5.xlarge,c5.2xlarge | |
maxSize: 30 | |
minSize: 5 | |
nodeLabels: | |
kops.k8s.io/instancegroup: r-nodes | |
role: Node | |
rootVolumeType: GP2 | |
subnets: | |
- us-east-1b | |
- us-east-1c | |
- us-east-1f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment