
Docker-in-docker pod doesn't work in some k8s environments because it always assumes MTU=1500, even when k8s container network's MTU is smaller than that. This causes downloads to fail intermittently in containers that run within the internal docker. Solution: allow option to override MTU in docker helm chart & the stx tool. Also: remove explicit reference to dockerd entry point script from the helm chart because its name may change in future docker image versions. TESTS ======================================= Make sure "--mtu" is passed or omitted when starting docker daemon depending on whether STX_CONTAINER_MTU is defined. Story: 2010055 Task: 45691 Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: Iaee08ee8d568d28fe9e8cdc11f0308aa9ff32d42
81 lines
1.5 KiB
YAML
81 lines
1.5 KiB
YAML
# Default values for stx-lat-tool.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
---
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: docker
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "20.10.12-dind"
|
|
|
|
volumes:
|
|
sharedWorkspace:
|
|
mountPath: /localdisk
|
|
hostPath: /localdisk
|
|
dockerRun:
|
|
mountPath: /var/run/docker
|
|
hostPath: /docker/run
|
|
|
|
services:
|
|
dockerDaemon:
|
|
type: ClusterIP
|
|
port: 2375
|
|
|
|
dnsConfig:
|
|
options:
|
|
- name: ndots
|
|
value: "1"
|
|
|
|
insecureRegistries:
|
|
# - "registry.address:port"
|
|
|
|
# Pass --mtu to docker daemon
|
|
# mtu: "1410"
|
|
mtu:
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext:
|
|
privileged: true
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|