Troubleshooting Kubernetes Authentication with phoenix.yaml Configuration
Hello team! I can't enable Authentication for Kubernetes. Here is the phoenix.yaml file. Has anyone ever tried it before? I did not see any problems with my environment variables. Thanks everyone in advance.
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: phoenix
spec:
replicas: 1
selector:
matchLabels:
app: phoenix
template:
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "9090"
prometheus.io/scrape: "true"
labels:
app: phoenix
spec:
containers:
- args:
- -m
- phoenix.server.main
- serve
command:
- python
env:
- name: PHOENIX_SQL_DATABASE_URL
value: "postgresql://somepostgresql:5432/citus?sslmode=require"
- name: PHOENIX_PORT
value: "6006"
- name: PHOENIX_ENABLE_PROMETHEUS
value: "True"
- name: PHOENIX_ENABLE_AUTH
value: "True"
- name: PHOENIX_SECRET
value: "3413f9a7735bb780c6b8e4db7d946a492b64d26112a955cdea6a797f4c833593"
- name: PHOENIX_USE_SECURE_COOKIES
value: "True"
image: arizephoenix/phoenix:version-4.20.2
name: phoenix
ports:
- containerPort: 6006
- containerPort: 9090
- containerPort: 4317
volumeMounts:
- mountPath: /mnt/data
name: phoenix
readinessProbe:
httpGet:
port: 6006 # readiness probe on root of application port to guarantee app is really serving before becoming ready in kubernetes
volumeClaimTemplates:
- metadata:
name: phoenix
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
