github.com/argoproj/argo-cd@v1.8.7/util/helm/testdata/redis/values-production.yaml (about)

     1  ## Bitnami Redis image version
     2  ## ref: https://hub.docker.com/r/bitnami/redis/tags/
     3  ##
     4  image:
     5    registry: docker.io
     6    repository: bitnami/redis
     7    tag: 4.0.10-debian-9
     8    pullPolicy: IfNotPresent
     9    ## Optionally specify an array of imagePullSecrets.
    10    ## Secrets must be manually created in the namespace.
    11    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    12    ##
    13    # pullSecrets:
    14    #   - myRegistrKeySecretName
    15  
    16  
    17  ## Cluster settings
    18  cluster:
    19    enabled: true
    20    slaveCount: 3
    21  
    22  metrics:
    23    enabled: true
    24    # resources: {}
    25    # podAnnotations: {}
    26    service:
    27      type: ClusterIP
    28      annotations: {}
    29    #   prometheus.io/scrape: "true"
    30    #   prometheus.io/port: "9121"
    31      loadBalancerIP:
    32    image:
    33      registry: docker.io
    34      repository: oliver006/redis_exporter
    35      tag: v0.20.2
    36      pullPolicy: IfNotPresent
    37      ## Optionally specify an array of imagePullSecrets.
    38      ## Secrets must be manually created in the namespace.
    39      ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    40      ##
    41      # pullSecrets:
    42      #   - myRegistrKeySecretName
    43    ## Metrics exporter labels and tolerations for pod assignment
    44    # nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
    45    # tolerations: []
    46    ## Metrics exporter pod Annotation and Labels
    47    # podLabels: {}
    48  
    49  networkPolicy:
    50    ## Enable creation of NetworkPolicy resources.
    51    ##
    52    enabled: true
    53  
    54    ## The Policy model to apply. When set to false, only pods with the correct
    55    ## client label will have network access to the port Redis is listening
    56    ## on. When true, Redis will accept connections from any source
    57    ## (with the correct destination port).
    58    ##
    59    # allowExternal: true
    60  
    61  ## Redis password (both master and slave)
    62  ## Defaults to a random 10-character alphanumeric string if not set and usePassword is true
    63  ## ref: https://github.com/bitnami/bitnami-docker-redis#setting-the-server-password-on-first-run
    64  ##
    65  usePassword: true
    66  password:
    67  ## Use existing secret (ignores previous password)
    68  # existingSecret:
    69  
    70  ##
    71  ## Redis Master parameters
    72  ##
    73  master:
    74    ## Use password authentication
    75    port: 6379
    76    ## Redis command arguments
    77    ##
    78    ## Can be used to specify command line arguments, for example:
    79    ##
    80    ## args:
    81    ##  - "redis-server"
    82    ##  - "--maxmemory-policy volatile-ttl"
    83    args: []
    84    ## Redis additional command line flags
    85    ##
    86    ## Can be used to specify command line flags, for example:
    87    ##
    88    ## redisExtraFlags:
    89    ##  - "--maxmemory-policy volatile-ttl"
    90    ##  - "--repl-backlog-size 1024mb"
    91    extraFlags: []
    92    ## Comma-separated list of Redis commands to disable
    93    ##
    94    ## Can be used to disable Redis commands for security reasons.
    95    ## ref: https://github.com/bitnami/bitnami-docker-redis#disabling-redis-commands
    96    ##
    97    disableCommands: "FLUSHDB,FLUSHALL"
    98    ## Enable persistence using Persistent Volume Claims
    99    ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
   100    ##
   101    ## Redis Master additional pod labels
   102    ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
   103    podLabels: {}
   104    ## Redis Master resource requests and limits
   105    ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
   106    # resources:
   107    #   requests:
   108    #     memory: 256Mi
   109    #     cpu: 100m
   110  
   111    ## Redis Master Liveness Probe
   112    livenessProbe:
   113      enabled: true
   114      initialDelaySeconds: 30
   115      periodSeconds: 10
   116      timeoutSeconds: 5
   117      successThreshold: 1
   118      failureThreshold: 5
   119  
   120    ## Redis Master Readiness Probe
   121    readinessProbe:
   122      enabled: true
   123      initialDelaySeconds: 5
   124      periodSeconds: 10
   125      timeoutSeconds: 1
   126      successThreshold: 1
   127      failureThreshold: 5
   128    ## Redis Master Node labels and tolerations for pod assignment
   129    ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
   130    ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
   131    # nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
   132    # tolerations: []
   133    ## Redis Master pod annotations
   134    podAnnotations: {}
   135    ## Redis Master Service properties
   136    service:
   137      ##  Redis Master Service type
   138      type: ClusterIP
   139  
   140      ## Specify the nodePort value for the LoadBalancer and NodePort service types.
   141      ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
   142      ##
   143      # nodePort:
   144  
   145      ## Provide any additional annotations which may be required. This can be used to
   146      ## set the LoadBalancer service type to internal only.
   147      ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
   148      ##
   149      annotations: {}
   150      loadBalancerIP:
   151    ## Redis Master Pod Security Context
   152    securityContext:
   153      enabled: true
   154      fsGroup: 1001
   155      runAsUser: 1001
   156    persistence:
   157      enabled: true
   158  
   159      ## The path the volume will be mounted at, useful when using different
   160      ## Redis images.
   161      path: /bitnami/redis/data
   162  
   163      ## The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services.
   164      subPath: ""
   165  
   166      ## redis data Persistent Volume Storage Class
   167      ## If defined, storageClassName: <storageClass>
   168      ## If set to "-", storageClassName: "", which disables dynamic provisioning
   169      ## If undefined (the default) or set to null, no storageClassName spec is
   170      ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
   171      ##   GKE, AWS & OpenStack)
   172      ##
   173      # storageClass: "-"
   174      accessModes:
   175      - ReadWriteOnce
   176      size: 8Gi
   177  
   178    ## Update strategy, can be set to RollingUpdate or onDelete by default.
   179    ## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
   180    statefulset:
   181      updateStrategy: OnDelete
   182      ## Partition update strategy
   183      ## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
   184      # rollingUpdatePartition:
   185  
   186  ##
   187  ## Redis Slave properties
   188  ## Note: serviceType and service are mandatory parameters
   189  ## The rest of the parameters, if undefined, will inherit those declared in Redis Master
   190  ##
   191  slave:
   192    ## Slave Service properties
   193    service:
   194      ## Redis Slave Service type
   195      type: ClusterIP
   196      ## Specify the nodePort value for the LoadBalancer and NodePort service types.
   197      ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
   198      ##
   199      # nodePort:
   200  
   201      ## Provide any additional annotations which may be required. This can be used to
   202      ## set the LoadBalancer service type to internal only.
   203      ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
   204      ##
   205      annotations: {}
   206      loadBalancerIP:
   207  
   208    ## Redis slave optional overrides
   209  
   210    ## Redis port
   211    # port: 6379
   212    ## Redis command arguments
   213    # args: []
   214    ## Redis extra flags
   215    # extraFlags: []
   216    ## Comma-separated list of Redis commands to disable
   217    # disableCommands: ""
   218  
   219    affinity: {}
   220  
   221    ## Redis slave Liveness Probe
   222    # livenessProbe:
   223    #   enabled: true
   224    #   initialDelaySeconds: 30
   225    #   periodSeconds: 10
   226    #   timeoutSeconds: 5
   227    #   successThreshold: 1
   228    #   failureThreshold: 5
   229  
   230    ## Redis slave Readiness Probe
   231    # readinessProbe:
   232    #   enabled: true
   233    #   initialDelaySeconds: 5
   234    #   periodSeconds: 10
   235    #   timeoutSeconds: 10
   236    #   successThreshold: 1
   237    #   failureThreshold: 5
   238  
   239    ## Redis slave Resource
   240    # resources:
   241    #   requests:
   242    #     memory: 256Mi
   243    #     cpu: 100m
   244  
   245    ## Redis slave labels and tolerations for pod assignment
   246    # nodeSelector: {"beta.kubernetes.io/arch": "amd64"}
   247    # tolerations: []
   248  
   249    ## Redis slave pod Annotation and Labels
   250    # podLabels: {}
   251    ## annotations for redis pods
   252    # podAnnotations: {}
   253  
   254    ## Redis slave pod Security Context
   255    # securityContext:
   256    #   enabled: true
   257    #   fsGroup: 1001
   258    #   runAsUser: 1001