apiVersion: apps/v1 kind: Deployment metadata: name: hq-dashboard namespace: ai-agents labels: app: hq-dashboard spec: replicas: 1 selector: matchLabels: app: hq-dashboard template: metadata: labels: app: hq-dashboard spec: serviceAccountName: default initContainers: - name: git-clone image: alpine/git command: - "sh" - "-c" - "git clone http://192.168.8.248:3000/deepkoluguri/agentic-os.git /workspace && cp -r /workspace/interface/hq-dashboard/* /app/" volumeMounts: - name: app-code mountPath: /app containers: - name: hq-dashboard image: node:18-alpine command: ["sh", "-c", "cd /app && npm install && npm run build && npm start"] volumeMounts: - name: app-code mountPath: /app ports: - containerPort: 3000 resources: requests: cpu: 200m memory: 256Mi limits: cpu: "1" memory: 1Gi volumes: - name: app-code emptyDir: {} --- apiVersion: v1 kind: Service metadata: name: hq-dashboard namespace: ai-agents spec: ports: - port: 80 targetPort: 3000 selector: app: hq-dashboard