diff --git a/services/minio-template.jsonnet b/services/minio-template.jsonnet index 4cc847933c..9a135a5750 100644 --- a/services/minio-template.jsonnet +++ b/services/minio-template.jsonnet @@ -5,7 +5,7 @@ local minio = (import 'github.com/observatorium/observatorium/configuration/comp version:: '${IMAGE_TAG}', accessKey:: '${MINIO_ACCESS_KEY}', secretKey:: '${MINIO_SECRET_KEY}', - buckets:: ['thanos', 'loki', 'rules'], + buckets:: ['thanos', 'loki', 'rules', 'parca'], replicas: 1, }) + { deployment+: { diff --git a/tests/ci/ci_test.sh b/tests/ci/ci_test.sh index f699b18fb0..a4c65c8a9d 100755 --- a/tests/ci/ci_test.sh +++ b/tests/ci/ci_test.sh @@ -56,6 +56,7 @@ observatorium_tools(){ oc wait --for=jsonpath='{.status.phase}=Active' namespace/observatorium-tools --timeout=5s oc apply --namespace observatorium-tools -f ../deploy/manifests/observatorium-tools-network-policy.yaml oc process --param-file=env/logging.test.ci.env -f ../../resources/services/meta-monitoring/logging-template.yaml | oc apply --namespace observatorium-tools -f - + oc process --param-file=env/observatorium-parca.test.ci.env -f ../../resources/services/meta-monitoring/profiling-template.yaml | oc apply --namespace observatorium-tools -f - } observatorium() { @@ -63,15 +64,9 @@ observatorium() { oc apply -f ../deploy/manifests/observatorium-rules-objstore-secret.yaml --namespace observatorium oc apply -f ../deploy/manifests/observatorium-rhobs-tenant-secret.yaml --namespace observatorium oc apply --namespace observatorium -f ../deploy/manifests/observatorium-service-account.yaml - oc apply -f ../deploy/manifests/observatorium-parca-secret.yaml --namespace observatorium - oc process -f ../../resources/services/parca-observatorium-remote-ns-rbac-template.yaml | \ - oc apply -f - oc process --param-file=env/observatorium.test.ci.env \ -f ../../resources/services/observatorium-template.yaml | \ oc apply --namespace observatorium -f - - oc process --param-file=env/observatorium-parca.test.ci.env \ - -f ../../resources/services/parca-template.yaml| \ - oc apply --namespace observatorium -f - oc process --param-file=env/observatorium-jaeger.test.ci.env \ -f ../../resources/services/jaeger-template.yaml| \ oc apply --namespace observatorium -f - diff --git a/tests/ci/env/observatorium-parca.test.ci.env b/tests/ci/env/observatorium-parca.test.ci.env index 9f3389e28d..b718b2c03e 100644 --- a/tests/ci/env/observatorium-parca.test.ci.env +++ b/tests/ci/env/observatorium-parca.test.ci.env @@ -1,10 +1,11 @@ -PARCA_REPLICAS=1 +IMAGE=ghcr.io/parca-dev/parca PARCA_CPU_REQUEST=30m PARCA_MEMORY_REQUEST=500Mi PARCA_CPU_LIMITS=50m PARCA_MEMORY_LIMITS=500Mi -PARCA_PROXY_CPU_REQUEST=25m -PARCA_PROXY_MEMORY_REQUEST=100Mi -PARCA_PROXY_CPU_LIMITS=50m -PARCA_PROXY_MEMORY_LIMITS=100Mi -STORAGE_ACTIVE_MEMORY=536870912 +ACCESS_KEY_ID=minio +SECRET_ACCESS_KEY=minio123 +S3_BUCKET_NAME=parca +S3_BUCKET_ENDPOINT=minio.minio.svc.cluster.local:9000 +S3_BUCKET_REGION=eu-central-1 +SD_NAMESPACE_LIST='["observatorium-metrics"]' diff --git a/tests/deploy/manifests/minio-template.yaml b/tests/deploy/manifests/minio-template.yaml index ab2ad7eb50..e7ff50ad13 100644 --- a/tests/deploy/manifests/minio-template.yaml +++ b/tests/deploy/manifests/minio-template.yaml @@ -24,7 +24,7 @@ objects: - /bin/sh - -c - | - mkdir -p /storage/thanos /storage/loki /storage/rules && \ + mkdir -p /storage/thanos /storage/loki /storage/rules /storage/parca && \ /usr/bin/docker-entrypoint.sh minio server /storage env: - name: MINIO_ROOT_USER