Skip to content

Commit

Permalink
Merge pull request #8902 from ykakarap/ps-scale-e2e-modify
Browse files Browse the repository at this point in the history
🌱 modify scale e2e test defaults
  • Loading branch information
k8s-ci-robot authored Jun 23, 2023
2 parents e8eb540 + 7cd6a91 commit 3ac273b
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ spec:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlaneTemplate
name: in-memory-control-plane
machineHealthCheck:
unhealthyConditions:
- type: Ready
status: Unknown
timeout: 300s
- type: Ready
status: "False"
timeout: 300s
infrastructure:
ref:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
Expand All @@ -39,6 +47,14 @@ spec:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: InMemoryMachineTemplate
name: in-memory-default-worker-machinetemplate
machineHealthCheck:
unhealthyConditions:
- type: Ready
status: Unknown
timeout: 300s
- type: Ready
status: "False"
timeout: 300s
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: InMemoryClusterTemplate
Expand Down Expand Up @@ -83,15 +99,49 @@ metadata:
name: in-memory-control-plane
spec:
template:
spec: {}
spec:
behaviour:
vm:
provisioning:
startupDuration: "30s"
startupJitter: "0.2"
node:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
apiServer:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
etcd:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: InMemoryMachineTemplate
metadata:
name: in-memory-default-worker-machinetemplate
spec:
template:
spec: {}
spec:
behaviour:
vm:
provisioning:
startupDuration: "30s"
startupJitter: "0.2"
node:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
apiServer:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
etcd:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
---
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
kind: KubeadmConfigTemplate
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/scale_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var _ = Describe("When scale testing using in-memory provider [Scale]", func() {
ClusterCount: pointer.Int64(10),
Concurrency: pointer.Int64(5),
Flavor: pointer.String(""),
ControlPlaneMachineCount: pointer.Int64(3),
ControlPlaneMachineCount: pointer.Int64(1),
WorkerMachineCount: pointer.Int64(3),
}
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ spec:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlaneTemplate
name: in-memory-quick-start-control-plane
machineHealthCheck:
unhealthyConditions:
- type: Ready
status: Unknown
timeout: 300s
- type: Ready
status: "False"
timeout: 300s
infrastructure:
ref:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
Expand All @@ -39,6 +47,14 @@ spec:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: InMemoryMachineTemplate
name: in-memory-quick-start-default-worker-machinetemplate
machineHealthCheck:
unhealthyConditions:
- type: Ready
status: Unknown
timeout: 300s
- type: Ready
status: "False"
timeout: 300s
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: InMemoryClusterTemplate
Expand Down Expand Up @@ -83,15 +99,49 @@ metadata:
name: in-memory-quick-start-control-plane
spec:
template:
spec: {}
spec:
behaviour:
vm:
provisioning:
startupDuration: "30s"
startupJitter: "0.2"
node:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
apiServer:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
etcd:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: InMemoryMachineTemplate
metadata:
name: in-memory-quick-start-default-worker-machinetemplate
spec:
template:
spec: {}
spec:
behaviour:
vm:
provisioning:
startupDuration: "30s"
startupJitter: "0.2"
node:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
apiServer:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
etcd:
provisioning:
startupDuration: "10s"
startupJitter: "0.2"
---
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
kind: KubeadmConfigTemplate
Expand Down

0 comments on commit 3ac273b

Please sign in to comment.