# Default values for linkerd. # This is a YAML-formatted file. # Declare variables to be passed into your templates. # -- Kubernetes DNS Domain name to use clusterDomain: cluster.local # -- The cluster networks for which service discovery is performed. This should # include the pod and service networks, but need not include the node network. # # By default, all IPv4 private networks and all accepted IPv6 ULAs are # specified so that resolution works in typical Kubernetes environments. clusterNetworks: "10.0.0.0/8,100.64.0.0/10,172.16.0.0/12,192.168.0.0/16,fd00::/8" # -- Docker image pull policy imagePullPolicy: IfNotPresent # -- Specifies the number of old ReplicaSets to retain to allow rollback. revisionHistoryLimit: 10 # -- Log level for the control plane components controllerLogLevel: info # -- Log format for the control plane components controllerLogFormat: plain # -- control plane version. See Proxy section for proxy version linkerdVersion: linkerdVersionValue # -- default kubernetes deployment strategy deploymentStrategy: rollingUpdate: maxUnavailable: 25% maxSurge: 25% # -- enables the use of EndpointSlice informers for the destination service; # enableEndpointSlices should be set to true only if EndpointSlice K8s feature # gate is on enableEndpointSlices: true # -- enables pod anti affinity creation on deployments for high availability enablePodAntiAffinity: false # -- enables the use of pprof endpoints on control plane component's admin # servers enablePprof: false # -- enables the creation of pod disruption budgets for control plane components enablePodDisruptionBudget: false # -- disables routing IPv6 traffic in addition to IPv4 traffic through the # proxy (IPv6 routing only available as of proxy-init v2.3.0 and linkerd-cni # v1.4.0) disableIPv6: true controller: # -- sets pod disruption budget parameter for all deployments podDisruptionBudget: # -- Maximum number of pods that can be unavailable during disruption maxUnavailable: 1 # Configures tracing in the controllers and how traces are exported tracing: # -- Enables trace collection and export in the proxy enabled: false collector: # -- The collector endpoint to send traces to. Required if tracing is # enabled. If this is unset and `proxy.tracing.collector.endpoint` is set, # that endpoint will be re-used here. endpoint: "" # -- enabling this omits the NET_ADMIN capability in the PSP # and the proxy-init container when injecting the proxy; # requires the linkerd-cni plugin to already be installed cniEnabled: false # -- Trust root certificate (ECDSA). It must be provided during install. identityTrustAnchorsPEM: | # -- Trust domain used for identity # @default -- clusterDomain identityTrustDomain: "" kubeAPI: &kubeapi # -- Maximum QPS sent to the kube-apiserver before throttling. # See [token bucket rate limiter # implementation](https://github.com/kubernetes/client-go/blob/v12.0.0/util/flowcontrol/throttle.go) clientQPS: 100 # -- Burst value over clientQPS clientBurst: 200 # -- Additional annotations to add to all pods podAnnotations: {} # -- Additional labels to add to all pods podLabels: {} # -- Labels to apply to all resources commonLabels: {} # -- Kubernetes priorityClassName for the Linkerd Pods priorityClassName: "" # -- Runtime Class Name for all the pods runtimeClassName: "" # policy controller configuration policyController: # `image` has been removed. # -- Log level for the policy controller logLevel: info # -- The networks from which probes are performed. # # By default, all networks are allowed so that all probes are authorized. probeNetworks: - 0.0.0.0/0 - "::/0" # -- policy controller resource requests & limits resources: cpu: # -- Maximum amount of CPU units that the policy controller can use limit: "" # -- Amount of CPU units that the policy controller requests request: "" memory: # -- Maximum amount of memory that the policy controller can use limit: "" # -- Maximum amount of memory that the policy controller requests request: "" ephemeral-storage: # -- Maximum amount of ephemeral storage that the policy controller can use limit: "" # -- Amount of ephemeral storage that the policy controller requests request: "" livenessProbe: timeoutSeconds: 1 readinessProbe: timeoutSeconds: 1 # proxy configuration proxy: # -- Enable service profiles for non-Kubernetes services enableExternalProfiles: false # -- Maximum time allowed for the proxy to establish an outbound TCP # connection outboundConnectTimeout: 1000ms # -- Maximum time allowed for the proxy to establish an inbound TCP # connection inboundConnectTimeout: 100ms # -- Maximum time allowed before an unused outbound discovery result # is evicted from the cache outboundDiscoveryCacheUnusedTimeout: "5s" # -- Maximum time allowed before an unused inbound discovery result # is evicted from the cache inboundDiscoveryCacheUnusedTimeout: "90s" # -- When set to true, disables the protocol detection timeout on the # outbound side of the proxy by setting it to a very high value disableOutboundProtocolDetectTimeout: false # -- When set to true, disables the protocol detection timeout on the inbound # side of the proxy by setting it to a very high value disableInboundProtocolDetectTimeout: false image: # -- Docker image for the proxy name: cr.l5d.io/linkerd/proxy # -- Pull policy for the proxy container image # @default -- imagePullPolicy pullPolicy: "" # -- Tag for the proxy container image # @default -- linkerdVersion version: "" # -- Enables the proxy's /shutdown admin endpoint enableShutdownEndpoint: false # -- Log level for the proxy logLevel: warn,linkerd=info,hickory=error # -- Log format (`plain` or `json`) for the proxy logFormat: plain # -- (`off` or `insecure`) If set to `off`, will prevent the proxy from # logging HTTP headers. If set to `insecure`, HTTP headers may be logged # verbatim. Note that setting this to `insecure` is not alone sufficient to # log HTTP headers; the proxy logLevel must also be set to debug. logHTTPHeaders: "off" ports: # -- Admin port for the proxy container admin: 4191 # -- Control port for the proxy container control: 4190 # -- Inbound port for the proxy container inbound: 4143 # -- Outbound port for the proxy container outbound: 4140 # -- Deprecated: use runtime.workers.minimum cores: runtime: # -- Worker threadpool configuration. The minimum will be automatically # derived from workload proxy CPU requests, when they are configured by # annotation. A cluster-level maximum may be configured here (and a # workload-level annotation is supported as well). workers: # -- Maximum number of worker threads that the proxy can use, by ratio of # the number of available CPUs. A value of 1.0 allocates a worker thread # for all available CPUs. A value of 0.1 allocates a worker thread for # 10% of the available CPUs. maximumCPURatio: # -- Configures a lower bound on the number of worker threads that the # proxy can use. When maximumCPURatio is not set, this value # is used. minimum: 1 resources: # -- CPU configuration, when specified globally in Helm values, should be # kept in sync with the above runtime.workers.minimum configuration. The # minimum should reflect _at least_ the CPU request. When a limit is set, # the minimum should match the limit (and the maximumCPURatio should be # unset). cpu: # -- Maximum amount of CPU units that the proxy can use limit: "" # -- Amount of CPU units that the proxy requests request: "" memory: # -- Maximum amount of memory that the proxy can use limit: "" # -- Maximum amount of memory that the proxy requests request: "" ephemeral-storage: # -- Maximum amount of ephemeral storage that the proxy can use limit: "" # -- Amount of ephemeral storage that the proxy requests request: "" # -- User id under which the proxy runs uid: 2102 # -- (int) Optional customisation of the group id under which the proxy runs (the group ID will be omitted if lower than 0) gid: -1 # -- Optional custom security context for the proxy container. securityContext: {} # -- If set the injected proxy sidecars in the data plane will stay alive for # at least the given period before receiving the SIGTERM signal from # Kubernetes but no longer than the pod's `terminationGracePeriodSeconds`. # See [Lifecycle # hooks](https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks) # for more info on container lifecycle hooks. Ignored when nativeSidecar=true. waitBeforeExitSeconds: 0 # -- If set, the application container will not start until the proxy is # ready await: true requireIdentityOnInboundPorts: "" # -- Default set of opaque ports # - SMTP (25,587) server-first # - MYSQL (3306) server-first # - Galera (4444) server-first # - PostgreSQL (5432) server-first # - Redis (6379) server-first # - ElasticSearch (9300) server-first # - Memcached (11211) clients do not issue any preamble, which breaks detection opaquePorts: "25,587,3306,4444,5432,6379,9300,11211" # -- Grace period for graceful proxy shutdowns. If this timeout elapses before all open connections have completed, the proxy will terminate forcefully, closing any remaining connections. shutdownGracePeriod: "" # -- The default allow policy to use when no `Server` selects a pod. One of: "all-authenticated", # "all-unauthenticated", "cluster-authenticated", "cluster-unauthenticated", "deny", "audit" # @default -- "all-unauthenticated" defaultInboundPolicy: "all-unauthenticated" # -- Configures the outbound transport mode. Valid values are "transport-header" and "transparent" outboundTransportMode: transport-header # -- Enable [native sidecars](https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/) nativeSidecar: true # -- Native sidecar proxy startup probe parameters. # -- LivenessProbe timeout and delay configuration livenessProbe: initialDelaySeconds: 10 timeoutSeconds: 1 # -- ReadinessProbe timeout and delay configuration readinessProbe: initialDelaySeconds: 2 timeoutSeconds: 1 startupProbe: initialDelaySeconds: 0 periodSeconds: 1 failureThreshold: 120 # Configures general properties of the proxy's control plane clients. control: # Configures limits on API response streams. streams: # -- The timeout for the first update from the control plane. initialTimeout: "3s" # -- The timeout between consecutive updates from the control plane. idleTimeout: "5m" # -- The maximum duration for a response stream (i.e. before it will be # reinitialized). lifetime: "1h" # Configures proxy metrics metrics: # -- Whether or not to export hostname labels in outbound request metrics. hostnameLabels: false # Configures tracing in the proxy and how they are exported tracing: # -- Enables trace collection and export in the proxy enabled: false traceServiceName: linkerd-proxy # -- Additional labels to add to the traces emitted by the proxy. # These should generally not be set globally, and instead overridden on # individual workloads via `resource.opentelemetry.io/