agora/main_ui/operations/ui.yaml (39 lines of code) (raw):

apiVersion: apps/v1 kind: Deployment metadata: name: main-ui namespace: contoso-hypermarket spec: replicas: 1 selector: matchLabels: app: main-ui template: metadata: labels: app: main-ui spec: containers: - name: main-ui image: mcr.microsoft.com/jumpstart/agora/main_ui:1.0.0 ports: - containerPort: 8080 env: - name: REACT_APP_FOOTFALL_API value: "http://footfall-ai-api:5000" - name: REACT_APP_CEREBRAL_API_URL value: "http://cerebral-api-service.contoso-hypermarket.svc.cluster.local:5003/Cerebral/api/process_question" --- apiVersion: v1 kind: Service metadata: name: main-ui namespace: contoso-hypermarket spec: selector: app: main-ui ports: - protocol: TCP port: 8080 targetPort: 8080 type: LoadBalancer