Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 61 additions & 5 deletions .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,24 @@ presubmits:
env:
- name: KCP_VERSION
value: "0.29.3"
# kcp state (etcd included) lives on the RAM-backed kcp-data volume
# so etcd is not stalled by node disk contention. Use a subdirectory:
# the script rm -rf's it, which fails on the mount point itself.
- name: KCP_ROOT_DIRECTORY
value: /kcp-data/kcp
resources:
requests:
memory: 4Gi
# includes the kcp-data tmpfs, which is charged to the pod
memory: 6Gi
cpu: 2
volumeMounts:
- name: kcp-data
mountPath: /kcp-data
volumes:
- name: kcp-data
emptyDir:
medium: Memory
sizeLimit: 2Gi

- name: pull-api-syncagent-test-e2e-kcp-0.30
always_run: true
Expand All @@ -121,10 +135,24 @@ presubmits:
env:
- name: KCP_VERSION
value: "0.30.3"
# kcp state (etcd included) lives on the RAM-backed kcp-data volume
# so etcd is not stalled by node disk contention. Use a subdirectory:
# the script rm -rf's it, which fails on the mount point itself.
- name: KCP_ROOT_DIRECTORY
value: /kcp-data/kcp
resources:
requests:
memory: 4Gi
# includes the kcp-data tmpfs, which is charged to the pod
memory: 6Gi
cpu: 2
volumeMounts:
- name: kcp-data
mountPath: /kcp-data
volumes:
- name: kcp-data
emptyDir:
medium: Memory
sizeLimit: 2Gi

- name: pull-api-syncagent-test-e2e-kcp-0.31
always_run: true
Expand All @@ -140,10 +168,24 @@ presubmits:
env:
- name: KCP_VERSION
value: "0.31.0"
# kcp state (etcd included) lives on the RAM-backed kcp-data volume
# so etcd is not stalled by node disk contention. Use a subdirectory:
# the script rm -rf's it, which fails on the mount point itself.
- name: KCP_ROOT_DIRECTORY
value: /kcp-data/kcp
resources:
requests:
memory: 4Gi
# includes the kcp-data tmpfs, which is charged to the pod
memory: 6Gi
cpu: 2
volumeMounts:
- name: kcp-data
mountPath: /kcp-data
volumes:
- name: kcp-data
emptyDir:
medium: Memory
sizeLimit: 2Gi

- name: pull-api-syncagent-test-e2e-kcp-0.32
always_run: true
Expand All @@ -159,7 +201,21 @@ presubmits:
env:
- name: KCP_VERSION
value: "0.32.0"
# kcp state (etcd included) lives on the RAM-backed kcp-data volume
# so etcd is not stalled by node disk contention. Use a subdirectory:
# the script rm -rf's it, which fails on the mount point itself.
- name: KCP_ROOT_DIRECTORY
value: /kcp-data/kcp
resources:
requests:
memory: 4Gi
cpu: 2
# includes the kcp-data tmpfs, which is charged to the pod
memory: 6Gi
cpu: 2
volumeMounts:
- name: kcp-data
mountPath: /kcp-data
volumes:
- name: kcp-data
emptyDir:
medium: Memory
sizeLimit: 2Gi
2 changes: 1 addition & 1 deletion hack/ci/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ source <(make --no-print-directory envtest-env)
# start a shared kcp process
KCP="$(UGET_PRINT_PATH=relative make --no-print-directory install-kcp)"

KCP_ROOT_DIRECTORY=.kcp.e2e
KCP_ROOT_DIRECTORY="${KCP_ROOT_DIRECTORY:-.kcp.e2e}"
KCP_LOGFILE="$ARTIFACTS/kcp.log"
KCP_TOKENFILE=hack/ci/testdata/e2e-kcp.tokens

Expand Down
Loading