# Default values for graphscope.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

image:
  registry: registry.cn-hongkong.aliyuncs.com
  repository: graphscope
  # Overrides the image tag whose default is the chart appVersion.
  tag: ""
  ## Specify a imagePullPolicy
  ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  ##
  pullPolicy: IfNotPresent
  ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  ## Example:
  ## pullSecrets:
  ##   - myRegistryKeySecretName
  ##
  pullSecrets: []


## Specify an array of volumes by setting enabled true.
## Here is an example to mount hostpath `/testingdata` to `/tmp/testingdata` in pod.
volumes:
  enabled: false
  items:
    data:
      type: hostPath
      field:
        type: Directory
        path: /tmp/testingdata
      mounts:
      - mountPath: /testingdata

preemptive: true

coordinator:
  service:
    type: NodePort
  image:
    name: coordinator
  resources:
    requests:
      cpu: 0.2
      memory: 256Mi
    limits:
      cpu: 1
      memory: 512Mi
  extraEnv: {}
  readinessProbe:
    enabled: true
    initialDelaySeconds: 0
    periodSeconds: 1
    timeoutSeconds: 5
    failureThreshold: 20
    successThreshold: 1
  # Waiting GraphScope instance ready until reached timeout.
  timeout_seconds: 1200


engines:
  num_workers: 2
  # Available options of log_level: INFO, DEBUG
  log_level: INFO

  enabled_engines: "analytical,interactive"
  gae:
    resources:
      requests:
        cpu: 1
        memory: 1Gi
  gie:
    executor:
      resources:
        requests:
          cpu: 1
          memory: 1Gi
    frontend:
      resources:
        requests:
          cpu: 0.5
          memory: 1Gi
  gle:
    resources:
      requests:
        cpu: 0.2
        memory: 1Gi

vineyard:
  # When `vineyard.deployment` is set to the Helm release name,
  # the coordinator will try to discover the vineyard deployment in current namespace, then use it if
  # found, and fallback to bundled vineyard container otherwise.
  #
  # The vineyard IPC socket is placed on host at /var/run/vineyard-kubernetes/{namespace}/{deployment}.
  deployment: 
  image:
    name: vineyardcloudnative/vineyardd
    # Overrides the image tag whose default is the chart appVersion.
    tag: latest
  resources:
    requests:
      cpu: 0.5
      memory: 512Mi
    limits:
      cpu: 0.5
      memory: 512Mi

withJupyter: true
jupyter:
  image:
    name: jupyter
    tag: ""
  resources:
    requests:
      cpu: 0.5
      memory: 256Mi
    limits:
      cpu: 1.0
      memory: 512Mi
  port: 30080

dataset:
  enabled: False
  image:
    name: dataset
# Running Behind a Forward Proxy
# Environment variables that get added to the dataset container
# Available options of proxy: http_proxy, https_proxy, no_proxy
  proxy:
