mirror of https://github.com/kubernetes/kops.git
127 lines
2.6 KiB
YAML
127 lines
2.6 KiB
YAML
apiVersion: kops.k8s.io/v1alpha2
|
|
kind: Cluster
|
|
metadata:
|
|
creationTimestamp: "2017-01-01T00:00:00Z"
|
|
name: private.example.com
|
|
spec:
|
|
api:
|
|
loadBalancer:
|
|
class: Network
|
|
type: Public
|
|
authorization:
|
|
rbac: {}
|
|
channel: stable
|
|
cloudLabels:
|
|
Owner: John Doe
|
|
dn: 'cn=John Doe: dc=example dc=com'
|
|
foo/bar: fib+baz
|
|
cloudProvider: aws
|
|
configBase: memfs://tests/private.example.com
|
|
etcdClusters:
|
|
- cpuRequest: 200m
|
|
etcdMembers:
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a
|
|
name: a
|
|
manager:
|
|
backupRetentionDays: 90
|
|
memoryRequest: 100Mi
|
|
name: main
|
|
- cpuRequest: 100m
|
|
etcdMembers:
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a
|
|
name: a
|
|
manager:
|
|
backupRetentionDays: 90
|
|
memoryRequest: 100Mi
|
|
name: events
|
|
iam:
|
|
allowContainerRegistry: true
|
|
legacy: false
|
|
kubelet:
|
|
anonymousAuth: false
|
|
kubernetesApiAccess:
|
|
- 0.0.0.0/0
|
|
- ::/0
|
|
kubernetesVersion: v1.32.0
|
|
networkCIDR: 172.20.0.0/16
|
|
networking:
|
|
cni: {}
|
|
nonMasqueradeCIDR: 100.64.0.0/10
|
|
sshAccess:
|
|
- 0.0.0.0/0
|
|
- ::/0
|
|
subnets:
|
|
- cidr: 172.20.128.0/17
|
|
name: us-test-1a
|
|
type: Private
|
|
zone: us-test-1a
|
|
- cidr: 172.20.0.0/20
|
|
name: utility-us-test-1a
|
|
type: Utility
|
|
zone: us-test-1a
|
|
topology:
|
|
dns:
|
|
type: None
|
|
|
|
---
|
|
|
|
apiVersion: kops.k8s.io/v1alpha2
|
|
kind: InstanceGroup
|
|
metadata:
|
|
creationTimestamp: "2017-01-01T00:00:00Z"
|
|
labels:
|
|
kops.k8s.io/cluster: private.example.com
|
|
name: bastions
|
|
spec:
|
|
image: 099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20250502.1
|
|
machineType: t2.micro
|
|
maxSize: 1
|
|
minSize: 1
|
|
role: Bastion
|
|
subnets:
|
|
- us-test-1a
|
|
|
|
---
|
|
|
|
apiVersion: kops.k8s.io/v1alpha2
|
|
kind: InstanceGroup
|
|
metadata:
|
|
creationTimestamp: "2017-01-01T00:00:00Z"
|
|
labels:
|
|
kops.k8s.io/cluster: private.example.com
|
|
name: control-plane-us-test-1a
|
|
spec:
|
|
additionalSecurityGroups:
|
|
- sg-exampleid3
|
|
- sg-exampleid4
|
|
image: 099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20250502.1
|
|
machineType: m3.medium
|
|
maxSize: 1
|
|
minSize: 1
|
|
role: Master
|
|
subnets:
|
|
- us-test-1a
|
|
|
|
---
|
|
|
|
apiVersion: kops.k8s.io/v1alpha2
|
|
kind: InstanceGroup
|
|
metadata:
|
|
creationTimestamp: "2017-01-01T00:00:00Z"
|
|
labels:
|
|
kops.k8s.io/cluster: private.example.com
|
|
name: nodes-us-test-1a
|
|
spec:
|
|
additionalSecurityGroups:
|
|
- sg-exampleid
|
|
- sg-exampleid2
|
|
image: 099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20250502.1
|
|
machineType: t2.medium
|
|
maxSize: 1
|
|
minSize: 1
|
|
role: Node
|
|
subnets:
|
|
- us-test-1a
|