github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/contrib/config/kubernetes/helm/values.yaml (about)

     1  ## Global Docker image parameters
     2  ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
     3  ## Current available global Docker image parameters: imageRegistry and imagePullSecrets
     4  ##
     5  # global:
     6  #   imageRegistry: myRegistryName
     7  #   imagePullSecrets:
     8  #     - myRegistryKeySecretName
     9    
    10  image:
    11    registry: docker.io
    12    repository: dgraph/dgraph
    13    tag: latest
    14    ## Specify a imagePullPolicy
    15    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    16    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    17    ##
    18    pullPolicy: Always
    19    ## Optionally specify an array of imagePullSecrets.
    20    ## Secrets must be manually created in the namespace.
    21    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    22    ##
    23    # pullSecrets:
    24    #   - myRegistryKeySecretName
    25    ## Set to true if you would like to see extra information on logs
    26    ## It turns BASH and NAMI debugging in minideb
    27    ## ref:  https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
    28    ##
    29    debug: false
    30  
    31  zero:
    32    name: zero
    33    ## StatefulSet controller supports automated updates. There are two valid update strategies: RollingUpdate and OnDelete
    34    ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
    35    ##
    36    updateStrategy: RollingUpdate
    37  
    38    ## Partition update strategy
    39    ## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
    40    ##
    41    # rollingUpdatePartition:
    42  
    43    ## StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel
    44    ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
    45    ##
    46    podManagementPolicy: OrderedReady
    47  
    48    ## Number of dgraph  zero pods
    49    ##
    50    replicaCount: 3
    51  
    52    ## zero server pod termination grace period
    53    ##
    54    terminationGracePeriodSeconds: 60
    55  
    56    ## Hard means that by default pods will only be scheduled if there are enough nodes for them
    57    ## and that they will never end up on the same node. Setting this to soft will do this "best effort"
    58    antiAffinity: soft
    59  
    60    # By default this will make sure two pods don't end up on the same node
    61    # Changing this to a region would allow you to spread pods across regions
    62    podAntiAffinitytopologyKey: "kubernetes.io/hostname"
    63  
    64    ## This is the node affinity settings as defined in
    65    ## https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
    66    nodeAffinity: {}
    67  
    68    ## Kubernetes configuration
    69    ## For minikube, set this to NodePort, elsewhere use LoadBalancer
    70    ##
    71    service:
    72      type: ClusterIP
    73  
    74    ## dgraph Pod Security Context
    75    securityContext:
    76      enabled: false
    77      fsGroup: 1001
    78      runAsUser: 1001
    79  
    80    ## dgraph data Persistent Volume Storage Class
    81    ## If defined, storageClassName: <storageClass>
    82    ## If set to "-", storageClassName: "", which disables dynamic provisioning
    83    ## If undefined (the default) or set to null, no storageClassName spec is
    84    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
    85    ##   GKE, AWS & OpenStack)
    86    ##
    87    persistence:
    88      enabled: true
    89      # storageClass: "-"
    90      accessModes:
    91        - ReadWriteOnce
    92      size: 32Gi
    93  
    94    ## Node labels and tolerations for pod assignment
    95    ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
    96    ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
    97    ##
    98    nodeSelector: {}
    99    tolerations: []
   100  
   101    ## Configure resource requests 
   102    ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
   103    ##
   104    resources:
   105      requests:
   106        memory: 100Mi
   107  
   108    ## Configure extra options for liveness and readiness probes
   109    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
   110    ##
   111    livenessProbe:
   112      enabled: false
   113      port: 6080
   114      path: /state
   115      initialDelaySeconds: 30
   116      periodSeconds: 10
   117      timeoutSeconds: 5
   118      failureThreshold: 6
   119      successThreshold: 1
   120  
   121    readinessProbe:
   122      enabled: false
   123      port: 6080
   124      path: /state
   125      initialDelaySeconds: 5
   126      periodSeconds: 10
   127      timeoutSeconds: 5
   128      failureThreshold: 6
   129      successThreshold: 1
   130  
   131  alpha:
   132    name: alpha
   133    ## StatefulSet controller supports automated updates. There are two valid update strategies: RollingUpdate and OnDelete
   134    ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
   135    ##
   136    updateStrategy: RollingUpdate
   137  
   138    ## Partition update strategy
   139    ## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
   140    ##
   141    # rollingUpdatePartition:
   142  
   143    ## StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel
   144    ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
   145    ##
   146    podManagementPolicy: OrderedReady
   147  
   148    ## Number of dgraph nodes
   149    ##
   150    replicaCount: 3
   151  
   152    ## zero server pod termination grace period
   153    ##
   154    terminationGracePeriodSeconds: 600
   155  
   156    ## Hard means that by default pods will only be scheduled if there are enough nodes for them
   157    ## and that they will never end up on the same node. Setting this to soft will do this "best effort"
   158    antiAffinity: soft
   159  
   160    # By default this will make sure two pods don't end up on the same node
   161    # Changing this to a region would allow you to spread pods across regions
   162    podAntiAffinitytopologyKey: "kubernetes.io/hostname"
   163  
   164    ## This is the node affinity settings as defined in
   165    ## https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
   166    nodeAffinity: {}
   167  
   168    ## Kubernetes configuration
   169    ## For minikube, set this to NodePort, elsewhere use LoadBalancer
   170    ##
   171    service:
   172      type: ClusterIP
   173  
   174    ## dgraph Pod Security Context
   175    securityContext:
   176      enabled: false
   177      fsGroup: 1001
   178      runAsUser: 1001
   179  
   180    ## dgraph data Persistent Volume Storage Class
   181    ## If defined, storageClassName: <storageClass>
   182    ## If set to "-", storageClassName: "", which disables dynamic provisioning
   183    ## If undefined (the default) or set to null, no storageClassName spec is
   184    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
   185    ##   GKE, AWS & OpenStack)
   186    ##
   187    persistence:
   188      enabled: true
   189      # storageClass: "-"
   190      accessModes:
   191        - ReadWriteOnce
   192      size: 100Gi
   193      annotations: {}
   194  
   195    ## Node labels and tolerations for pod assignment
   196    ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
   197    ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
   198    ##
   199    nodeSelector: {}
   200    tolerations: []
   201  
   202    ## Configure resource requests 
   203    ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
   204    ##
   205    resources:
   206      requests:
   207        memory: 100Mi
   208    ## Configure value for lru_mb flag
   209    ## Typically a third of available memory is recommended, keeping the default value to 2048mb
   210    lru_mb: 2048
   211  
   212    ## Configure extra options for liveness and readiness probes
   213    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
   214    ##
   215    livenessProbe:
   216      enabled: false
   217      port: 8080
   218      path: /health
   219      initialDelaySeconds: 30
   220      periodSeconds: 10
   221      timeoutSeconds: 5
   222      failureThreshold: 6
   223      successThreshold: 1
   224  
   225    readinessProbe:
   226      enabled: false
   227      port: 8080
   228      path: /health
   229      initialDelaySeconds: 5
   230      periodSeconds: 10
   231      timeoutSeconds: 5
   232      failureThreshold: 6
   233      successThreshold: 1
   234  
   235  ratel:
   236    name: ratel
   237    ## Number of dgraph nodes
   238    ##
   239    replicaCount: 1
   240  
   241    ## Kubernetes configuration
   242    ## For minikube, set this to NodePort, elsewhere use ClusterIP or LoadBalancer
   243    ##
   244    service:
   245      type: ClusterIP
   246  
   247    ## dgraph Pod Security Context
   248    securityContext:
   249      enabled: false
   250      fsGroup: 1001
   251      runAsUser: 1001
   252  
   253    ## Configure resource requests 
   254    ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
   255    ##
   256    ## resources:
   257    ##   requests:
   258    ##     memory: 256Mi
   259    ##     cpu: 250m
   260  
   261    ## Configure extra options for liveness and readiness probes
   262    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
   263    ##
   264    livenessProbe:
   265      enabled: false
   266      port: 8000
   267      path: /
   268      initialDelaySeconds: 30
   269      periodSeconds: 10
   270      timeoutSeconds: 5
   271      failureThreshold: 6
   272      successThreshold: 1
   273  
   274    readinessProbe:
   275      enabled: flase
   276      port: 8000
   277      path: /
   278      initialDelaySeconds: 5
   279      periodSeconds: 10
   280      timeoutSeconds: 5
   281      failureThreshold: 6
   282      successThreshold: 1