Skip to content
Snippets Groups Projects
Select Git revision
  • 43ebab657e5a554b73c0a5774b98982ed932be16
  • master default protected
2 results

values.yaml

Blame
  • values.yaml 3.82 KiB
    ## nginx configuration
    ## Ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/index.md
    ingress-nginx:
      controller:
        image:
          allowPrivilegeEscalation: false
    
        containerPort:
          http: 8080
          https: 8081
    
        ## See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/
        sysctls:
          "net.ipv4.ip_local_port_range": "1024 65000"
          # "net.core.somaxconn": "32768" # Unsafe
    
        extraArgs:
          http-port: 8080
          https-port: 8081
          enable-ssl-passthrough: true
    
        topologySpreadConstraints:
          - maxSkew: 1
            topologyKey: kubernetes.io/hostname
            whenUnsatisfiable: ScheduleAnyway
            labelSelector:
              matchLabels:
                app.kubernetes.io/instance: ingress-nginx
    
        replicaCount: 3
        minAvailable: 1
    
        resources:
          requests:
            cpu: 100m
            memory: 90Mi
          limits:
            cpu: 2
            memory: 2Gi
    
        service:
          enabled: true
    
          ports:
            http: 80
            https: 443
    
          targetPorts:
            http: http
            https: https
    
          type: LoadBalancer
          loadBalancerIP: 152.66.192.38
    
        metrics:
          enabled: true
    
          service:
            annotations: {} # With prometheus operator you need a ServiceMonitor
    
          serviceMonitor:
            enabled: true
            namespace: "monitoring"
            additionalLabels:
              release: monitoring
    
          prometheusRule:
            enabled: true
            additionalLabels:
              release: monitoring