Helm: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Sem resumo de edição
 
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
=API=
==Python==
*[https://pypi.org/project/pyhelm/ PyHelm PyPi]
*[https://github.com/flaper87/pyhelm PyHelm GitHub]
=Comands=
=Comands=
List apps
List apps
Linha 13: Linha 17:
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm repo update
helm install ingress -n ingress --values values.yaml ingress-nginx/ingress-nginx
helm search repo ingress-nginx/ingress-nginx  -l | grep 1.4
helm install ingress -n ingress --version 4.3.0 --values values.yaml ingress-nginx/ingress-nginx
helm uninstall ingress  -n ingress
helm uninstall ingress  -n ingress
</syntaxhighlight>
</syntaxhighlight>

Edição atual tal como às 14h00min de 18 de janeiro de 2023

API

Python

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 search repo ingress-nginx/ingress-nginx  -l | grep 1.4
helm install ingress -n ingress --version 4.3.0 --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