Remove Hostpath testing
[functest-kubernetes.git] / functest_kubernetes / rally / all-in-one.yaml
index 2318fc2..380666d 100644 (file)
@@ -22,7 +22,7 @@ subtasks:
   - title: Run a single workload with create/read/delete pod
     scenario:
       Kubernetes.create_and_delete_pod:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
     runner:
       constant:
         concurrency: {{ concurrency }}
@@ -35,7 +35,7 @@ subtasks:
   - title: Run a single workload with create/read/delete replication controller
     scenario:
       Kubernetes.create_and_delete_replication_controller:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 2
     runner:
       constant:
@@ -49,7 +49,7 @@ subtasks:
   - title: Run a single workload with create/scale/delete replication controller
     scenario:
       Kubernetes.create_scale_and_delete_replication_controller:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 2
         scale_replicas: 3
     runner:
@@ -64,7 +64,7 @@ subtasks:
   - title: Run a single workload with create/read/delete replicaset
     scenario:
       Kubernetes.create_and_delete_replicaset:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 1
     runner:
       constant:
@@ -78,7 +78,7 @@ subtasks:
   - title: Run a single workload with create/scale/delete replicaset
     scenario:
       Kubernetes.create_scale_and_delete_replicaset:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 1
         scale_replicas: 2
     runner:
@@ -94,7 +94,7 @@ subtasks:
       Run a single workload with create/read/delete pod with emptyDir volume
     scenario:
       Kubernetes.create_and_delete_pod_with_emptydir_volume:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         mount_path: /opt/check
     runner:
       constant:
@@ -110,7 +110,7 @@ subtasks:
       volume
     scenario:
       Kubernetes.create_and_delete_pod_with_emptydir_volume:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         command:
           - sleep
           - "3600"
@@ -131,7 +131,7 @@ subtasks:
   - title: Run a single workload with create/read/delete pod with secret volume
     scenario:
       Kubernetes.create_and_delete_pod_with_secret_volume:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         command:
           - sleep
           - "3600"
@@ -148,7 +148,7 @@ subtasks:
   - title: Run a single workload with create/check/delete pod with secret volume
     scenario:
       Kubernetes.create_and_delete_pod_with_secret_volume:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         command:
           - sleep
           - "3600"
@@ -166,36 +166,11 @@ subtasks:
         count: {{ namespaces_count }}
         with_serviceaccount: true
 
-  - title: >-
-      Run a single workload with create/read/check/delete pod with hostPath
-      volume
-    scenario:
-      Kubernetes.create_and_delete_pod_with_hostpath_volume:
-        image: busybox
-        command:
-          - sleep
-          - "3600"
-        mount_path: /opt/check
-        check_cmd:
-          - ls
-          - /opt/check
-        error_regexp: No such file
-        volume_type: Directory
-        volume_path: /tmp/
-    runner:
-      constant:
-        concurrency: {{ concurrency }}
-        times: {{ times }}
-    contexts:
-      namespaces:
-        count: {{ namespaces_count }}
-        with_serviceaccount: true
-
   - title:
       Run a single workload with create/read/delete pod with configMap volume
     scenario:
       Kubernetes.create_and_delete_pod_with_configmap_volume:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         command:
           - "sleep"
           - "3600"
@@ -218,7 +193,7 @@ subtasks:
       volume
     scenario:
       Kubernetes.create_and_delete_pod_with_configmap_volume:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         command:
           - "sleep"
           - "3600"
@@ -243,7 +218,7 @@ subtasks:
   - title: Run a single workload with create/read/delete deployment
     scenario:
       Kubernetes.create_and_delete_deployment:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 2
     runner:
       constant:
@@ -257,7 +232,7 @@ subtasks:
   - title: Run a single workload with create/rollout/delete deployment
     scenario:
       Kubernetes.create_rollout_and_delete_deployment:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         replicas: 1
         command:
           - sleep
@@ -281,7 +256,7 @@ subtasks:
   - title: Run a single workload with create/read/delete statefulset
     scenario:
       Kubernetes.create_and_delete_statefulset:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 2
     runner:
       constant:
@@ -295,7 +270,7 @@ subtasks:
   - title: Run a single workload with create/scale/delete statefulset
     scenario:
       Kubernetes.create_scale_and_delete_statefulset:
-        image: kubernetes/pause
+        image: {{ k8s_gcr_repo }}/pause:3.3
         replicas: 1
         scale_replicas: 2
     runner:
@@ -310,7 +285,7 @@ subtasks:
   - title: Run a single workload with create/read/delete job
     scenario:
       Kubernetes.create_and_delete_job:
-        image: busybox
+        image: {{ dockerhub_repo }}/busybox:1.28
         command:
           - echo
           - "SUCCESS"
@@ -326,7 +301,7 @@ subtasks:
   - title: Run a single workload with create/check/delete clusterIP service
     scenario:
       Kubernetes.create_check_and_delete_pod_with_cluster_ip_service:
-        image: gcr.io/google-samples/hello-go-gke:1.0
+        image: {{ gcr_repo }}/google-samples/hello-go-gke:1.0
         port: 80
         protocol: TCP
     runner:
@@ -343,7 +318,7 @@ subtasks:
       custom endpoint
     scenario:
       Kubernetes.create_check_and_delete_pod_with_cluster_ip_service:
-        image: gcr.io/google-samples/hello-go-gke:1.0
+        image: {{ gcr_repo }}/google-samples/hello-go-gke:1.0
         port: 80
         protocol: TCP
         custom_endpoint: true
@@ -359,7 +334,7 @@ subtasks:
   - title: Run a single workload with create/check/delete NodePort service
     scenario:
       Kubernetes.create_check_and_delete_pod_with_node_port_service:
-        image: gcr.io/google-samples/hello-go-gke:1.0
+        image: {{ gcr_repo }}/google-samples/hello-go-gke:1.0
         port: 80
         protocol: TCP
         request_timeout: 10