Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a08b18
commit beecc3b
Showing
12 changed files
with
176 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
tests/integration/create_cluster/minimal-1.21/expected-v1alpha2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
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 | ||
containerRuntime: containerd | ||
etcdClusters: | ||
- cpuRequest: 200m | ||
etcdMembers: | ||
- encryptedVolume: true | ||
instanceGroup: master-us-test-1a | ||
name: a | ||
memoryRequest: 100Mi | ||
name: main | ||
- cpuRequest: 100m | ||
etcdMembers: | ||
- encryptedVolume: true | ||
instanceGroup: master-us-test-1a | ||
name: a | ||
memoryRequest: 100Mi | ||
name: events | ||
iam: | ||
allowContainerRegistry: true | ||
legacy: false | ||
kubelet: | ||
anonymousAuth: false | ||
kubernetesApiAccess: | ||
- 0.0.0.0/0 | ||
kubernetesVersion: v1.21.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 | ||
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: master-us-test-1a | ||
spec: | ||
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20210315 | ||
machineType: m3.medium | ||
maxSize: 1 | ||
minSize: 1 | ||
nodeLabels: | ||
kops.k8s.io/instancegroup: master-us-test-1a | ||
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-20210315 | ||
machineType: t2.medium | ||
maxSize: 1 | ||
minSize: 1 | ||
nodeLabels: | ||
kops.k8s.io/instancegroup: nodes-us-test-1a | ||
role: Node | ||
subnets: | ||
- us-test-1a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ClusterName: minimal.example.com | ||
Zones: | ||
- us-test-1a | ||
CloudProvider: aws | ||
Networking: cni | ||
KubernetesVersion: v1.21.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.