Helm

De Wiki Clusterlab.com.br
Revisão de 00h16min de 5 de outubro de 2021 por Damato (discussão | contribs) (→‎Ingress)
Ir para navegação Ir para pesquisar

Comands

List apps

helm list -a

Delete app

helm delete <app-name> --no-hooks

Deploy

Ingress

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install ingress -n ingress --values values.yaml ingress-nginx/ingress-nginx
helm uninstall ingress  -n ingress

values.yaml

controller:
  config:
    disable-access-log: "true"
    enable-access-log-for-default-backend: "false"
    proxy-add-original-uri-header: "true"
    error-log-level: "error"
    ssl-ciphers: "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA"
    ssl-protocols: "TLSv1.2 TLSv1.3"
  replicaCount: 3
  minAvailable: 3
  nodeSelector:
    beta.kubernetes.io/os: linux
  defaultBackend:
    nodeSelector:
      beta.kubernetes.io/os: linux
  service:
    enabled: true
    loadBalancerIP: "10.0.3.250"
    annotations:
      service.beta.kubernetes.io/azure-load-balancer-internal: "true"
  extraArgs:
    default-ssl-certificate: "ingress/cert"
    metrics-per-host: "false"
  metrics:
    port: 10254
    enabled: true
    service:
      annotations:
        prometheus.io/scrape: "true"
        prometheus.io/port: "10254"
      servicePort: 9913
      type: ClusterIP
    serviceMonitor:
      enabled: false
    prometheusRule:
      enabled: false