Générateur de Helm Chart Kubernetes (Chart.yaml & values.yaml)
Générez des fichiers standard Kubernetes Helm v3 Chart.yaml, values.yaml et modèles de déploiement avec Service, Ingress et limites de ressources.
| 1 | # Default values for web-api-service. |
| 2 | # This is a YAML-formatted file. |
| 3 | # Declare variables to be passed into your templates. |
| 4 | |
| 5 | replicaCount: 3 |
| 6 | |
| 7 | image: |
| 8 | repository: ghcr.io/org/api-service |
| 9 | pullPolicy: IfNotPresent |
| 10 | # Overrides the image tag whose default is the chart appVersion. |
| 11 | tag: "v1.4.2" |
| 12 | |
| 13 | imagePullSecrets: [] |
| 14 | nameOverride: "" |
| 15 | fullnameOverride: "" |
| 16 | |
| 17 | serviceAccount: |
| 18 | # Specifies whether a service account should be created |
| 19 | create: true |
| 20 | # Automatically mount a ServiceAccount's API credentials? |
| 21 | automount: true |
| 22 | # Annotations to add to the service account |
| 23 | annotations: {} |
| 24 | # The name of the service account to use. |
| 25 | # If not set and create is true, a name is generated using the fullname template |
| 26 | name: "" |
| 27 | |
| 28 | podAnnotations: {} |
| 29 | podLabels: {} |
| 30 | |
| 31 | podSecurityContext: |
| 32 | fsGroup: 2000 |
| 33 | |
| 34 | securityContext: |
| 35 | capabilities: |
| 36 | drop: |
| 37 | - ALL |
| 38 | readOnlyRootFilesystem: true |
| 39 | runAsNonRoot: true |
| 40 | runAsUser: 1000 |
| 41 | |
| 42 | service: |
| 43 | type: ClusterIP |
| 44 | port: 80 |
| 45 | targetPort: 8080 |
| 46 | |
| 47 | ingress: |
| 48 | enabled: true |
| 49 | className: "nginx" |
| 50 | annotations: |
| 51 | cert-manager.io/cluster-issuer: letsencrypt-prod |
| 52 | nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 53 | hosts: |
| 54 | - host: api.example.com |
| 55 | paths: |
| 56 | - path: / |
| 57 | pathType: ImplementationSpecific |
| 58 | tls: |
| 59 | - secretName: api-example-tls |
| 60 | hosts: |
| 61 | - api.example.com |
| 62 | |
| 63 | resources: |
| 64 | limits: |
| 65 | cpu: 500m |
| 66 | memory: 512Mi |
| 67 | requests: |
| 68 | cpu: 100m |
| 69 | memory: 128Mi |
| 70 | |
| 71 | autoscaling: |
| 72 | enabled: true |
| 73 | minReplicas: 2 |
| 74 | maxReplicas: 10 |
| 75 | targetCPUUtilizationPercentage: 80 |
| 76 | targetMemoryUtilizationPercentage: 80 |
| 77 | |
| 78 | livenessProbe: |
| 79 | httpGet: |
| 80 | path: /healthz |
| 81 | port: http |
| 82 | initialDelaySeconds: 15 |
| 83 | periodSeconds: 20 |
| 84 | |
| 85 | readinessProbe: |
| 86 | httpGet: |
| 87 | path: /ready |
| 88 | port: http |
| 89 | initialDelaySeconds: 5 |
| 90 | periodSeconds: 10 |
| 91 | |
| 92 | env: |
| 93 | - name: NODE_ENV |
| 94 | value: "production" |
| 95 | - name: PORT |
| 96 | value: "8080" |
| 97 | - name: LOG_LEVEL |
| 98 | value: "info" |
| 99 | |
| 100 | envFrom: [] |
| 101 | volumes: [] |
| 102 | volumeMounts: [] |
| 103 | nodeSelector: {} |
| 104 | tolerations: [] |
| 105 | affinity: {} |
Génération Helm 100% Côté Client
Synthétisez des charts Helm v3 valides, métadonnées et modèles directement dans votre navigateur sans envoyer vos secrets à des tiers.
Paramètres par Défaut Durcis pour la Production
Contextes de sécurité non-root, suppression des privilèges Linux, sondes de santé HTTP et autoscaling HPA inclus.
Compatibilité Totale avec les Gabarits Helm v3
Définitions standards _helpers.tpl, troncature DNS conforme (63 caractères), règles Ingress et scripts d'automatisation helm CLI prêts à l'emploi.