Browse Source
Replace "replicas" option (CI tests) removed in latest k8s versions (#6068)
pull/6068/merge
Florian Ruynat
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
tests/testcases/030_check-network.yml
|
@ -18,8 +18,11 @@ |
|
|
- name: Create test namespace |
|
|
- name: Create test namespace |
|
|
shell: "{{ bin_dir }}/kubectl create namespace test" |
|
|
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: |
|
|
- import_role: |
|
|
name: cluster-dump |
|
|
name: cluster-dump |
|
|