Hotfixes to scripts after review
Related-PROD: PROD-36128
Change-Id: If2d90533cd14d33081d62c48e9096627b0614ec9
diff --git a/k8s/k8s-mos-scn-i100c5.yaml b/k8s/k8s-mos-scn-i100c5.yaml
new file mode 100644
index 0000000..da897ef
--- /dev/null
+++ b/k8s/k8s-mos-scn-i100c5.yaml
@@ -0,0 +1,94 @@
+{% set image_box = "busybox" %}
+{% set image_pause = "mirantis.azurecr.io/general/external/pause:3.1" %}
+{% set image_cirros = "virtlet/download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img" %}
+{% set concurrency = 5 %}
+{% set times = 100 %}
+{% set replicas = 1 %}
+{% set replicas_scaled = 2 %}
+{% set namespaces = 2 %}
+{% set serviceacc_delay = 60 %}
+
+
+---
+version: 2
+title: MOS Kubenetes performance checks
+subtasks:
+- title: Run a single workload with listing existing kubernetes namespaces
+ scenario:
+ Kubernetes.list_namespaces: {}
+ runner:
+ constant:
+ concurrency: {{concurrency}}
+ times: {{times}}
+- title: Run a single workload with create/read/delete namespace
+ scenario:
+ Kubernetes.create_and_delete_namespace: {}
+ runner:
+ constant:
+ concurrency: {{concurrency}}
+ times: {{times}}
+- title: Run a single workload with create/read/delete job
+ scenario:
+ Kubernetes.create_and_delete_job:
+ image: {{image_box}}
+ command:
+ - echo
+ - "SUCCESS"
+ runner:
+ constant:
+ concurrency: {{concurrency}}
+ times: {{times}}
+ contexts:
+ namespaces:
+ count: {{namespaces}}
+ with_serviceaccount: true
+ serviceaccount_delay: {{serviceacc_delay}}
+- title: Run a single workload with create/read/delete pod with configMap volume
+ scenario:
+ Kubernetes.create_and_delete_pod_with_configmap_volume:
+ image: {{image_box}}
+ mount_path: /var/log/check.txt
+ subpath: check.txt
+ configmap_data:
+ check.txt: |
+ test
+ runner:
+ constant:
+ concurrency: {{concurrency}}
+ times: {{times}}
+ contexts:
+ namespaces:
+ count: {{namespaces}}
+ with_serviceaccount: true
+ serviceaccount_delay: {{serviceacc_delay}}
+- title: Run a single workload with create/delete NodePort service
+ scenario:
+ Kubernetes.create_and_delete_pod_with_node_port_service:
+ image: {{image_box}}
+ port: 80
+ protocol: TCP
+ runner:
+ constant:
+ concurrency: {{concurrency}}
+ times: {{times}}
+ contexts:
+ namespaces:
+ count: {{namespaces}}
+ with_serviceaccount: true
+ serviceaccount_delay: {{serviceacc_delay}}
+ kubernetes.cfg:
+ prepoll_delay: 1
+- title: Run a single workload with create/read/delete pod
+ scenario:
+ Kubernetes.create_and_delete_pod:
+ image: {{image_box}}
+ runner:
+ constant:
+ concurrency: {{concurrency}}
+ times: {{times}}
+ contexts:
+ namespaces:
+ count: {{namespaces}}
+ with_serviceaccount: true
+ serviceaccount_delay: {{serviceacc_delay}}
+