kops/tests/integration/create_cluster/ha_gce/expected-v1alpha2.yaml

185 lines
3.5 KiB
YAML

apiVersion: kops.k8s.io/v1alpha2
kind: Cluster
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
name: ha-gce.example.com
spec:
api:
loadBalancer:
type: Public
authorization:
rbac: {}
channel: stable
cloudConfig: {}
cloudProvider: gce
configBase: memfs://tests/ha-gce.example.com
etcdClusters:
- cpuRequest: 200m
etcdMembers:
- instanceGroup: control-plane-us-test1-a
name: a
- instanceGroup: control-plane-us-test1-b
name: b
- instanceGroup: control-plane-us-test1-c
name: c
manager:
backupRetentionDays: 90
memoryRequest: 100Mi
name: main
- cpuRequest: 100m
etcdMembers:
- instanceGroup: control-plane-us-test1-a
name: a
- instanceGroup: control-plane-us-test1-b
name: b
- instanceGroup: control-plane-us-test1-c
name: c
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
networking:
cni: {}
nonMasqueradeCIDR: 100.64.0.0/10
project: testproject
sshAccess:
- 0.0.0.0/0
- ::/0
subnets:
- cidr: 10.0.16.0/20
name: us-test1
region: us-test1
type: Public
topology:
dns:
type: None
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
labels:
kops.k8s.io/cluster: ha-gce.example.com
name: control-plane-us-test1-a
spec:
image: ubuntu-os-cloud/ubuntu-2404-noble-amd64-v20250606
machineType: e2-medium
maxSize: 1
minSize: 1
role: Master
subnets:
- us-test1
zones:
- us-test1-a
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
labels:
kops.k8s.io/cluster: ha-gce.example.com
name: control-plane-us-test1-b
spec:
image: ubuntu-os-cloud/ubuntu-2404-noble-amd64-v20250606
machineType: e2-medium
maxSize: 1
minSize: 1
role: Master
subnets:
- us-test1
zones:
- us-test1-b
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
labels:
kops.k8s.io/cluster: ha-gce.example.com
name: control-plane-us-test1-c
spec:
image: ubuntu-os-cloud/ubuntu-2404-noble-amd64-v20250606
machineType: e2-medium
maxSize: 1
minSize: 1
role: Master
subnets:
- us-test1
zones:
- us-test1-c
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
labels:
kops.k8s.io/cluster: ha-gce.example.com
name: nodes-us-test1-a
spec:
image: ubuntu-os-cloud/ubuntu-2404-noble-amd64-v20250606
machineType: e2-medium
maxSize: 1
minSize: 1
role: Node
subnets:
- us-test1
zones:
- us-test1-a
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
labels:
kops.k8s.io/cluster: ha-gce.example.com
name: nodes-us-test1-b
spec:
image: ubuntu-os-cloud/ubuntu-2404-noble-amd64-v20250606
machineType: e2-medium
maxSize: 1
minSize: 1
role: Node
subnets:
- us-test1
zones:
- us-test1-b
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2017-01-01T00:00:00Z"
labels:
kops.k8s.io/cluster: ha-gce.example.com
name: nodes-us-test1-c
spec:
image: ubuntu-os-cloud/ubuntu-2404-noble-amd64-v20250606
machineType: e2-medium
maxSize: 1
minSize: 1
role: Node
subnets:
- us-test1
zones:
- us-test1-c