Skip to content

Commit a2ef280

Browse files
authored
[slice] Increase logging in E2E tests
2 parents 9c1c13b + 33659e5 commit a2ef280

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

slice/config/dev/kustomization.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Dev/testing friendly settings for Kueue.
2+
3+
# Use default settings as a base.
4+
resources:
5+
- ../default
6+
7+
patches:
8+
# Modify logging for better user experience.
9+
- path: manager_config_patch.yaml
10+
target:
11+
kind: Deployment
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This patch adds the args to allow exposing the metrics endpoint using HTTPS
2+
- op: add
3+
path: /spec/template/spec/containers/0/args/0
4+
value: --zap-devel
5+
- op: add
6+
path: /spec/template/spec/containers/0/args/0
7+
value: --zap-log-level=3

slice/hack/e2e-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function cluster_slice_deploy {
109109
(cd config/manager && $KUSTOMIZE edit set image controller="$IMAGE_TAG")
110110

111111
local build_output
112-
build_output=$($KUSTOMIZE build "${ROOT_DIR}/config/default")
112+
build_output=$($KUSTOMIZE build "${ROOT_DIR}/config/dev")
113113
build_output="${build_output//$DEFAULT_SLICE_NAMESPACE/$SLICE_NAMESPACE}"
114114
echo "$build_output" | kubectl apply --kubeconfig="$1" --server-side -f -
115115

0 commit comments

Comments
 (0)