mirror of https://github.com/kubernetes/kops.git
Remove 1.22 create cluster integration test
This commit is contained in:
parent
0dfac69d83
commit
37f67231b6
|
|
@ -46,7 +46,6 @@ var MagicTimestamp = metav1.Time{Time: time.Date(2017, 1, 1, 0, 0, 0, 0, time.UT
|
||||||
|
|
||||||
// TestCreateClusterMinimal runs kops create cluster minimal.example.com --zones us-test-1a
|
// TestCreateClusterMinimal runs kops create cluster minimal.example.com --zones us-test-1a
|
||||||
func TestCreateClusterMinimal(t *testing.T) {
|
func TestCreateClusterMinimal(t *testing.T) {
|
||||||
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.22", "v1alpha2")
|
|
||||||
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.23", "v1alpha2")
|
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.23", "v1alpha2")
|
||||||
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.24", "v1alpha2")
|
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.24", "v1alpha2")
|
||||||
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.25", "v1alpha2")
|
runCreateClusterIntegrationTest(t, "../../tests/integration/create_cluster/minimal-1.25", "v1alpha2")
|
||||||
|
|
|
||||||
|
|
@ -1,100 +0,0 @@
|
||||||
apiVersion: kops.k8s.io/v1alpha2
|
|
||||||
kind: Cluster
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: "2017-01-01T00:00:00Z"
|
|
||||||
name: minimal.example.com
|
|
||||||
spec:
|
|
||||||
api:
|
|
||||||
dns: {}
|
|
||||||
authorization:
|
|
||||||
rbac: {}
|
|
||||||
channel: stable
|
|
||||||
cloudProvider: aws
|
|
||||||
configBase: memfs://tests/minimal.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.22.0
|
|
||||||
masterPublicName: api.minimal.example.com
|
|
||||||
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.32.0/19
|
|
||||||
name: us-test-1a
|
|
||||||
type: Public
|
|
||||||
zone: us-test-1a
|
|
||||||
topology:
|
|
||||||
dns:
|
|
||||||
type: Public
|
|
||||||
masters: public
|
|
||||||
nodes: public
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
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-test-1a
|
|
||||||
spec:
|
|
||||||
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20230502
|
|
||||||
instanceMetadata:
|
|
||||||
httpTokens: required
|
|
||||||
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: minimal.example.com
|
|
||||||
name: nodes-us-test-1a
|
|
||||||
spec:
|
|
||||||
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20230502
|
|
||||||
instanceMetadata:
|
|
||||||
httpPutResponseHopLimit: 1
|
|
||||||
httpTokens: required
|
|
||||||
machineType: t2.medium
|
|
||||||
maxSize: 1
|
|
||||||
minSize: 1
|
|
||||||
role: Node
|
|
||||||
subnets:
|
|
||||||
- us-test-1a
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
ClusterName: minimal.example.com
|
|
||||||
Zones:
|
|
||||||
- us-test-1a
|
|
||||||
CloudProvider: aws
|
|
||||||
Networking: cni
|
|
||||||
KubernetesVersion: v1.22.0
|
|
||||||
Loading…
Reference in New Issue