Update jupyter configuration for network connection
This commit is contained in:
@@ -20,6 +20,15 @@ resources:
|
||||
|
||||
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
|
||||
@@ -29,6 +38,7 @@ ingress:
|
||||
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"
|
||||
@@ -53,3 +63,9 @@ dataVolume:
|
||||
|
||||
groupVolumes: []
|
||||
|
||||
tcpKeepalive:
|
||||
enabled: true
|
||||
time: 120 # 유휴 120초 후 첫 probe 전송 (Linux 기본: 7200초)
|
||||
intvl: 10 # probe 간격 10초 (Linux 기본: 75초)
|
||||
probes: 6 # 6회 무응답 시 연결 종료 (Linux 기본: 9회)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user