-
Notifications
You must be signed in to change notification settings - Fork 1
MILAB-5037: infrastructure cleanup (Google Cloud nightly tests) #1334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DenKoren
wants to merge
8
commits into
main
Choose a base branch
from
MILAB-5037/cleanup-ci-test-helm-values
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0aeffc2
MILAB-5037: infrastructure cleanup (Google Cloud nightly tests)
DenKoren bff254b
MILAB-5037: pass settings for AWS S3 turbo cache
DenKoren 19e1ae4
MILAB-5037: try to increase concurrency of nightly tests (speedup)
DenKoren a722469
MILAB-5037: attempt to set another test user and password
DenKoren 7230ccd
MILAB-5037: fix broken JSON
DenKoren 2cd2cae
MILAB-5037: get back to prev. concurrency settings
DenKoren 24af399
Merge branch 'main' into MILAB-5037/cleanup-ci-test-helm-values
DenKoren 35808e7
Merge branch 'main' into MILAB-5037/cleanup-ci-test-helm-values
DenKoren File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| --- | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| # ============================================================================= | ||
| # Platforma Helm Chart Configuration | ||
| # ============================================================================= | ||
|
|
||
| # -- Number of replicas for the deployment | ||
| replicaCount: 1 | ||
|
|
||
| # -- Image configuration | ||
| image: | ||
| repository: europe-west3-docker.pkg.dev/mik8s-euwe3-prod-gke-project/pl/pl | ||
| pullPolicy: Always | ||
| tag: "main" # or Chart.AppVersion | ||
|
|
||
| # -- Service Account configuration | ||
| serviceAccount: | ||
| create: false | ||
| name: "platforma-ci-sa" | ||
| annotations: {} | ||
| # eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/my-platforma-iam-role | ||
| # iam.gke.io/sa-name: my-platforma-gsa # For Workload Identity on GKE | ||
|
|
||
| deployment: | ||
| redeployOnUpgrade: true | ||
| securityContext: | ||
| privileged: false | ||
| runAsUser: 0 | ||
| runAsGroup: 0 | ||
| runAsNonRoot: false | ||
DenKoren marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| capabilities: | ||
| add: [] | ||
| drop: [ "ALL" ] | ||
|
|
||
| podSecurityContext: | ||
| fsGroup: 3000 # Group ID for volume ownership | ||
|
|
||
| resources: | ||
| limits: | ||
| cpu: 2000m | ||
| memory: 8Gi | ||
| requests: | ||
| cpu: 1000m | ||
| memory: 4Gi | ||
|
|
||
| env: | ||
| variables: | ||
| PL_ENVIRONMENT: "CI" | ||
|
|
||
| secretVariables: | ||
| - name: PL_LICENSE | ||
| secretKeyRef: | ||
| name: pl-license-secret | ||
| key: pl-license-key | ||
|
|
||
| logging: | ||
| # Supported values: | ||
| # - "stream://stdout" (default): Logs are sent to the standard output of the container. | ||
| # - "stream://stderr": Logs are sent to the standard error of the container. | ||
| # - "dir:///var/log/platforma": Logs are written to files in the specified directory, | ||
| # which can be backed by a persistent volume. The path should match `persistence.mountPath`. | ||
| destination: "stream://stderr" | ||
|
|
||
| monitoring: | ||
| enabled: true | ||
|
|
||
| debug: | ||
| enabled: true | ||
|
|
||
| persistence: | ||
| mainRoot: | ||
| enabled: false | ||
|
|
||
| dbDir: | ||
| enabled: true | ||
| storageClass: "standard-rwo" | ||
| mountPath: /data/rocksdb | ||
|
|
||
| gcp: | ||
| serviceAccount: "mik8s-platforma-ci-access@mik8s-euwe3-prod-gke-project.iam.gserviceaccount.com" | ||
| projectId: "mik8s-euwe3-prod-gke-project" | ||
|
|
||
| primaryStorage: | ||
| gcs: | ||
| enabled: true | ||
| url: "gs://mik8s-platforma-ci-euwe3-dev-gke/platforma-ci-primary/" # e.g., gs://<bucket>[/<prefix-in-bucket>] | ||
|
|
||
| dataLibrary: | ||
| gcs: | ||
| - id: "test-assets" | ||
| enabled: true | ||
| url: "gs://mik8s-platforma-ci-euwe3-dev-gke/test-assets/" | ||
|
|
||
| authOptions: | ||
| ldap: | ||
| enabled: true | ||
| server: "ldap://pl-dev-glauth.dev-gke.svc.cluster.local:3893" | ||
| dn: "cn=%u,ou=users,ou=users,dc=pldev,dc=io" | ||
|
|
||
| extraArgs: | ||
| - --skip-extended-self-check | ||
| # - --log-level=debug | ||
| # - --log-dst=dir:///var/log/platforma | ||
| # - --log-rotation-size=100MiB | ||
|
|
||
| googleBatch: | ||
| enabled: true | ||
| region: "europe-west3" | ||
|
|
||
| network: "projects/mik8s-euwe3-prod-gke-project/global/networks/mik8s-euwe3-prod-gke-vpc" | ||
| subnetwork: "projects/mik8s-euwe3-prod-gke-project/regions/europe-west3/subnetworks/mik8s-euwe3-prod-gke-private-1" | ||
|
|
||
| storage: "/data/nfs=nfs://10.244.108.130/nfs_share" | ||
| volumes: | ||
| enabled: true | ||
| name: "nfs-volume" | ||
| mountPath: "/data/nfs" | ||
| workDirName: "ci/custom-nightly-run/work" # altered by CI, look for googleBatch.volumes.workDirName | ||
| packagesDirName: "ci/custom-nightly-run/packages" # altered by CI, look for googleBatch.volumes.packagesDirName | ||
| existingClaim: "filestore-ci-fast-pvc" | ||
|
|
||
| jobNamePrefix: "platforma-nightly-tests" | ||
| provisioning: "SPOT" | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.