mirror of
https://github.com/onyx-dot-app/code-interpreter.git
synced 2026-07-19 13:33:48 -04:00
fix(networking): Ingress updates for Code interpreter
This commit is contained in:
@@ -163,19 +163,34 @@ readinessProbe:
|
||||
failureThreshold: 3
|
||||
|
||||
# Network Policy
|
||||
# Note: this policy applies to the code-interpreter SERVICE pod, not the
|
||||
# ephemeral executor pods. Executor pods are locked down separately by the
|
||||
# `*-executor` NetworkPolicy in templates/networkpolicy.yaml.
|
||||
networkPolicy:
|
||||
enabled: true
|
||||
policyTypes:
|
||||
- Ingress
|
||||
- Egress
|
||||
ingress: []
|
||||
egress:
|
||||
# Allow DNS
|
||||
ingress:
|
||||
# Allow ingress on the HTTP port from anywhere in the cluster (so the
|
||||
# api-server pods can call us) AND from the node itself (so the kubelet
|
||||
# health probes succeed). An empty `from` matches all sources.
|
||||
- ports:
|
||||
- protocol: UDP
|
||||
port: 53
|
||||
- protocol: TCP
|
||||
port: 53
|
||||
- protocol: TCP
|
||||
port: 8000
|
||||
egress:
|
||||
# DNS
|
||||
- ports:
|
||||
- protocol: UDP
|
||||
port: 53
|
||||
- protocol: TCP
|
||||
port: 53
|
||||
# Kubernetes API server — required for the kubernetes executor backend
|
||||
# to create/exec/delete executor pods. The api-server is reached on TCP
|
||||
# 443 inside the cluster.
|
||||
- ports:
|
||||
- protocol: TCP
|
||||
port: 443
|
||||
|
||||
# Extra environment variables
|
||||
extraEnvVars: []
|
||||
|
||||
Reference in New Issue
Block a user