Skip to content
Snippets Groups Projects
Unverified Commit 79de8ff1 authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Replace "replicas" option (CI tests) removed in latest k8s versions (#6068)

parent 38daee41
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,11 @@
- name: Create test namespace
shell: "{{ bin_dir }}/kubectl create namespace test"
- name: Run a replica controller composed of 2 pods in test ns
shell: "{{ bin_dir }}/kubectl run test --image={{ test_image_repo }}:{{ test_image_tag }} --namespace test --replicas=2 --command -- tail -f /dev/null"
- name: Run 2 busybox pods in test ns
shell: "{{ bin_dir }}/kubectl run {{ item }} --image={{ test_image_repo }}:{{ test_image_tag }} --namespace test --command -- tail -f /dev/null"
loop:
- busybox1
- busybox2
- import_role:
name: cluster-dump
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment