Skip to content

SPIKE: Switch from configMap to emptyDir for stage script storage

Romuald Atchadé requested to merge k8s-large-configmap-resource into main

What does this MR do?

Split env variables in a separate script and separate configmap

Why was this MR needed?

To reduce the probability to reach the 1MB limit for the configmap

What's the best way to test this MR?

bash

config.toml
check_interval = 1
log_level = "debug"

[session_server]
  session_timeout = 1800

[[runners]]
  request_concurrency = 1
  url = "https://gitlab.com/"
  token = "__TOKEN__"
  executor = "kubernetes"
  [runners.kubernetes]
    service_account="default"
    pull_policy="always"
    image = "alpine:latest"
    namespace_overwrite_allowed = ""
    privileged = true
    allow_privilege_escalation = true
    service_account_overwrite_allowed = ""
    pod_annotations_overwrite_allowed = ""
    terminationGracePeriodSeconds = 30
    [runners.kubernetes.affinity]
    [runners.kubernetes.volumes]
    [runners.kubernetes.dns_config]

pwsh

config.toml
check_interval = 1
log_level = "debug"

[session_server]
  session_timeout = 1800

[[runners]]
  request_concurrency = 1
  url = "https://gitlab.com/"
  token = "__TOKEN__"
  executor = "kubernetes"
  [runners.kubernetes]
    service_account="default"
    pull_policy="always"
    image = "mcr.microsoft.com/powershell:7.1.1-alpine-3.12-20210125"
    namespace_overwrite_allowed = ""
    privileged = true
    allow_privilege_escalation = true
    service_account_overwrite_allowed = ""
    pod_annotations_overwrite_allowed = ""
    terminationGracePeriodSeconds = 30
    [runners.kubernetes.affinity]
    [runners.kubernetes.volumes]
    [runners.kubernetes.dns_config]

What are the relevant issue numbers?

close #28036 (closed)

Edited by Romuald Atchadé

Merge request reports

Loading