apiVersion: apps/v1 kind: Deployment metadata: name: agentic-rag spec: replicas: 1 selector: matchLabels: app: agentic-rag template: metadata: labels: app: agentic-rag spec: containers: - name: agentic-rag image: acraiflowlab.azurecr.io/agentic-rag:1.0.6 imagePullPolicy: Always ports: - containerPort: 8000 - containerPort: 3000 env: - name: NEXT_PUBLIC_API_URL value: "http://localhost:8000/api" - name: LANGGRAPH_API_URL value: "http://localhost:8000" - name: NEXT_PUBLIC_API_URL_PREFIX value: "/agentic-rag" volumeMounts: - name: config-volume mountPath: /app/config.yaml subPath: config.yaml volumes: - name: config-volume configMap: name: agentic-rag-config --- apiVersion: v1 kind: Service metadata: name: agentic-rag-service namespace: knowledge-agent spec: selector: app: agentic-rag ports: - name: api-8000 port: 8000 targetPort: 8000 - name: api-3000 port: 3000 targetPort: 3000 type: ClusterIP --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: agentic-rag-ingress annotations: kubernetes.io/ingress.class: "nginx" spec: ingressClassName: nginx rules: - host: aidemo.japaneast.cloudapp.azure.com http: paths: - path: /agentic-rag pathType: Prefix backend: service: name: agentic-rag-service port: number: 3000