mirror of https://github.com/kubernetes/kops.git
143 lines
3.0 KiB
YAML
143 lines
3.0 KiB
YAML
apiVersion: kops.k8s.io/v1alpha2
|
|
kind: Cluster
|
|
metadata:
|
|
creationTimestamp: "2017-01-01T00:00:00Z"
|
|
name: ha.example.com
|
|
spec:
|
|
api:
|
|
loadBalancer:
|
|
class: Network
|
|
type: Public
|
|
authorization:
|
|
rbac: {}
|
|
channel: stable
|
|
cloudProvider: aws
|
|
configBase: memfs://tests/ha.example.com
|
|
etcdClusters:
|
|
- cpuRequest: 200m
|
|
etcdMembers:
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a-1
|
|
name: etcd-1
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a-2
|
|
name: etcd-2
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a-3
|
|
name: etcd-3
|
|
manager:
|
|
backupRetentionDays: 90
|
|
memoryRequest: 100Mi
|
|
name: main
|
|
- cpuRequest: 100m
|
|
etcdMembers:
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a-1
|
|
name: etcd-1
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a-2
|
|
name: etcd-2
|
|
- encryptedVolume: true
|
|
instanceGroup: control-plane-us-test-1a-3
|
|
name: etcd-3
|
|
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.0.0/16
|
|
name: us-test-1a
|
|
type: Public
|
|
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: ha.example.com
|
|
name: control-plane-us-test-1a-1
|
|
spec:
|
|
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: ha.example.com
|
|
name: control-plane-us-test-1a-2
|
|
spec:
|
|
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: ha.example.com
|
|
name: control-plane-us-test-1a-3
|
|
spec:
|
|
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: ha.example.com
|
|
name: nodes-us-test-1a
|
|
spec:
|
|
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
|