mirror of https://github.com/kubernetes/kops.git
				
				
				
			
		
			
				
	
	
		
			99 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
apiVersion: kops.k8s.io/v1alpha2
 | 
						|
kind: Cluster
 | 
						|
metadata:
 | 
						|
  creationTimestamp: "2017-01-01T00:00:00Z"
 | 
						|
  name: minimal.example.com
 | 
						|
spec:
 | 
						|
  api:
 | 
						|
    loadBalancer:
 | 
						|
      type: Public
 | 
						|
  authorization:
 | 
						|
    rbac: {}
 | 
						|
  channel: stable
 | 
						|
  cloudConfig: {}
 | 
						|
  cloudProvider: gce
 | 
						|
  configBase: memfs://tests/minimal.example.com
 | 
						|
  etcdClusters:
 | 
						|
  - cpuRequest: 200m
 | 
						|
    etcdMembers:
 | 
						|
    - instanceGroup: control-plane-us-test1-a
 | 
						|
      name: a
 | 
						|
    manager:
 | 
						|
      backupRetentionDays: 90
 | 
						|
    memoryRequest: 100Mi
 | 
						|
    name: main
 | 
						|
  - cpuRequest: 100m
 | 
						|
    etcdMembers:
 | 
						|
    - instanceGroup: control-plane-us-test1-a
 | 
						|
      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.26.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: minimal.example.com
 | 
						|
  name: control-plane-us-test1-a
 | 
						|
spec:
 | 
						|
  image: ubuntu-os-cloud/ubuntu-2004-focal-v20230918
 | 
						|
  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: minimal.example.com
 | 
						|
  name: nodes-us-test1-a
 | 
						|
spec:
 | 
						|
  image: ubuntu-os-cloud/ubuntu-2004-focal-v20230918
 | 
						|
  machineType: e2-medium
 | 
						|
  maxSize: 1
 | 
						|
  minSize: 1
 | 
						|
  nodeLabels:
 | 
						|
    cloud.google.com/metadata-proxy-ready: "true"
 | 
						|
  role: Node
 | 
						|
  subnets:
 | 
						|
  - us-test1
 | 
						|
  zones:
 | 
						|
  - us-test1-a
 |