Chore(add): Add imagePullPolicy at missing places in experiments CR (#413)

Signed-off-by: udit <udit.gaurav@mayadata.io>
This commit is contained in:
Udit Gaurav
2021-02-15 18:55:28 +05:30
committed by GitHub
parent 64dce8553f
commit 7f2f57cb33
8 changed files with 12 additions and 7 deletions

View File

@@ -27,7 +27,6 @@ jobs:
# On specific directory/path # On specific directory/path
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{steps.getcommit.outputs.sha}}
path: go/src/github.com/${{github.repository}} path: go/src/github.com/${{github.repository}}
# Combine the experiment CRs # Combine the experiment CRs

View File

@@ -26,7 +26,6 @@ jobs:
# On specific directory/path # On specific directory/path
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{steps.getcommit.outputs.sha}}
path: go/src/github.com/${{github.repository}} path: go/src/github.com/${{github.repository}}
token: ${{ secrets.ADMIN_TOKEN }} token: ${{ secrets.ADMIN_TOKEN }}

View File

@@ -457,6 +457,7 @@ spec:
- "delete" - "delete"
- "deletecollection" - "deletecollection"
image: "litmuschaos/go-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name pod-network-duplication - ./experiments -name pod-network-duplication
@@ -1083,6 +1084,7 @@ spec:
- "delete" - "delete"
- "deletecollection" - "deletecollection"
image: "litmuschaos/go-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name pod-io-stress - ./experiments -name pod-io-stress
@@ -1279,6 +1281,7 @@ spec:
- "delete" - "delete"
- "deletecollection" - "deletecollection"
image: "litmuschaos/go-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name pod-memory-hog - ./experiments -name pod-memory-hog

View File

@@ -27,10 +27,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '120' value: '120'
## specify the size as percent of total available memory default value is 30 ## Specify the size as percent of total node capacity Ex: '30'
## Note: For consuming memory in mebibytes change the variable to MEMORY_CONSUMPTION_MEBIBYTES ## Note: For consuming memory in mebibytes change the variable to MEMORY_CONSUMPTION_MEBIBYTES
- name: MEMORY_CONSUMPTION_PERCENTAGE - name: MEMORY_CONSUMPTION_PERCENTAGE
value: '' value: '30'
# ENTER THE COMMA SEPARATED TARGET NODES NAME # ENTER THE COMMA SEPARATED TARGET NODES NAME
- name: TARGET_NODES - name: TARGET_NODES

View File

@@ -54,12 +54,13 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '120' value: '120'
## specify the size as percent of total available memory Ex: '30' ## Specify the size as percent of total node capacity Ex: '30'
## NOTE: for selecting this option MEMORY_CONSUMPTION_MEBIBYTES should be empty ## NOTE: for selecting this option keep MEMORY_CONSUMPTION_MEBIBYTES empty
- name: MEMORY_CONSUMPTION_PERCENTAGE - name: MEMORY_CONSUMPTION_PERCENTAGE
value: '' value: ''
## specify the memory size to consume in mebibytes ## Specify the amount of memory to be consumed in mebibytes
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_PERCENTAGE empty
- name: MEMORY_CONSUMPTION_MEBIBYTES - name: MEMORY_CONSUMPTION_MEBIBYTES
value: '' value: ''

View File

@@ -47,6 +47,7 @@ spec:
- "delete" - "delete"
- "deletecollection" - "deletecollection"
image: "litmuschaos/go-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name pod-io-stress - ./experiments -name pod-io-stress

View File

@@ -47,6 +47,7 @@ spec:
- "delete" - "delete"
- "deletecollection" - "deletecollection"
image: "litmuschaos/go-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name pod-memory-hog - ./experiments -name pod-memory-hog

View File

@@ -46,6 +46,7 @@ spec:
- "delete" - "delete"
- "deletecollection" - "deletecollection"
image: "litmuschaos/go-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name pod-network-duplication - ./experiments -name pod-network-duplication