K8s Pod: remote error: tls: handshake failure

  • What Grafana version and what operating system are you using?
    Just latest image
  • What are you trying to achieve?
    I try install plugin for Grafana grafana-clickhouse-datasource
  • How are you trying to achieve it?
    I add plugins section to my helm values like this:
plugins:
  - grafana-clickhouse-datasource 
  • What happened?
    My k8s pod get down with this error in logs
    Error: ✗ Get "https://grafana.com/api/plugins/grafana-clickhouse-datasource/versions": remote error: tls: handshake failure
  • What did you expect to happen?
    I except what plugin will be successfuly installed and I can add clickhouse datasource.
  • Can you copy/paste the configuration(s) that you are having problems with?
image:
  # -- The Docker registry
  registry: docker.io
  # -- Docker image repository
  repository: grafana/grafana
  # Overrides the Grafana image tag whose default is the chart appVersion
  tag: "latest"
  sha: ""
  pullPolicy: IfNotPresent

  ## Optionally specify an array of imagePullSecrets.
  ## Secrets must be manually created in the namespace.
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  ## Can be templated.
  ##
  pullSecrets: []
  #   - myRegistrKeySecretName

plugins:
  - grafana-clickhouse-datasource 


persistence:
  type: pvc
  enabled: true
  # storageClassName: default
  accessModes:
    - ReadWriteOnce
  size: 10Gi
  # annotations: {}
  finalizers:
    - kubernetes.io/pvc-protection
  # selectorLabels: {}
  ## Sub-directory of the PV to mount. Can be templated.
  # subPath: ""
  ## Name of an existing PVC. Can be templated.
  # existingClaim:
  ## Extra labels to apply to a PVC.
  extraPvcLabels: {}

  ## If persistence is not enabled, this allows to mount the
  ## local storage in-memory to improve performance
  ##
  inMemory:
    enabled: false
    ## The maximum usage on memory medium EmptyDir would be
    ## the minimum value between the SizeLimit specified
    ## here and the sum of memory limits of all containers in a pod
    ##
    # sizeLimit: 300Mi 
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No
  • Did you follow any online instructions? If so, what is the URL?

How do we reproduce it?

  1. Create file with values for Helm Grafana values for Helm - Pastebin.com
  2. Install release with this command helm install grafana grafana/grafana --values values.yaml -n test-grafana
  3. See what your pod is not running k get pods -n test-grafana