Skip to content

Commit 1320cd1

Browse files
committed
Add prow template for running perf-tests load test
1 parent 15f32c9 commit 1320cd1

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: default
4+
resources:
5+
- ../prow
6+
- storageclass-resource-set.yaml
7+
patches:
8+
- path: patches/cluster-label-storageclass.yaml
9+
- path: patches/kcp-scheduler.yaml
10+
configMapGenerator:
11+
- files:
12+
- storageclass=../../../addons/storageclass-azure-disk.yaml
13+
name: storageclass-${CLUSTER_NAME}
14+
generatorOptions:
15+
annotations:
16+
note: generated
17+
disableNameSuffixHash: true
18+
labels:
19+
type: generated
20+
21+
sortOptions:
22+
order: fifo
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
apiVersion: cluster.x-k8s.io/v1beta1
3+
kind: Cluster
4+
metadata:
5+
name: ${CLUSTER_NAME}
6+
labels:
7+
storageclass: "true"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
kind: KubeadmControlPlane
3+
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
4+
metadata:
5+
name: "${CLUSTER_NAME}-control-plane"
6+
spec:
7+
kubeadmConfigSpec:
8+
clusterConfiguration:
9+
scheduler:
10+
extraArgs:
11+
authorization-always-allow-paths: /healthz,/readyz,/livez,/metrics
12+
bind-address: 0.0.0.0
13+
v: "2"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: addons.cluster.x-k8s.io/v1beta1
3+
kind: ClusterResourceSet
4+
metadata:
5+
name: ${CLUSTER_NAME}-storageclass
6+
namespace: default
7+
spec:
8+
clusterSelector:
9+
matchLabels:
10+
storageclass: "true"
11+
resources:
12+
- kind: ConfigMap
13+
name: cni-${CLUSTER_NAME}-storageclass
14+
strategy: ApplyOnce

0 commit comments

Comments
 (0)