image:
  registry: "quay.io"
  # tag는 생략 가능. repository에 태그 포함 시 tag 필드 무시됨.
  # 예시1: repository만으로 태그 지정
  #   repository: "jupyter/scipy-notebook:ubuntu-22.04"
  # 예시2: repository + tag 분리
  #   repository: "jupyter/scipy-notebook"
  #   tag: "latest"
  repository: "jupyter/scipy-notebook"
  tag: "latest"

resources:
  limits:
    cpu: "2000m"
    memory: "4096Mi"
  requests:
    cpu: "500m"
    memory: "1024Mi"
  gpu: ""

jupyterConfig:
  token: ""
  idleCullTimeout: 3600   # 1시간 유휴 후 커널 종료 (테스트용)
  idleCullInterval: 300   # 5분마다 체크

# KIC 3.x: timeout은 Kubernetes Service 어노테이션으로 설정 (단위: ms)
service:
  annotations:
    konghq.com/connect-timeout: "60000"     # 60초
    konghq.com/read-timeout: "3600000"      # 1시간
    konghq.com/write-timeout: "3600000"     # 1시간

ingress:
  enabled: true
  ingressClassName: "kong"
  annotations:
    cert-manager.io/cluster-issuer: "root-ca-issuer"
    cert-manager.io/duration: "8760h"
    cert-manager.io/renew-before: "720h"
    konghq.com/https-redirect-status-code: "301"
    # Kong은 https 프로토콜로 WebSocket Upgrade를 자동 처리 (wss 별도 지정 불필요)
    konghq.com/protocols: "https"
  hosts:
    - host: "jupyter.example.com"
      paths:
        - /
  tls:
    - hosts:
        - "jupyter.example.com"
      secretName: "jupyter-tls-secret"

homeVolume:
  enabled: false
  size: "5Gi"
  storageClassName: ""
  accessMode: "ReadWriteOnce"

dataVolume:
  enabled: false
  size: "5Gi"
  storageClassName: ""
  accessMode: "ReadWriteOnce"

groupVolumes: []

tcpKeepalive:
  enabled: true
  time: 120    # 유휴 120초 후 첫 probe 전송 (Linux 기본: 7200초)
  intvl: 10    # probe 간격 10초 (Linux 기본: 75초)
  probes: 6    # 6회 무응답 시 연결 종료 (Linux 기본: 9회)

