apiVersion: apps/v1 kind: Deployment metadata: name: vertex-batch namespace: agentgateway-system spec: replicas: 2 selector: matchLabels: app.kubernetes.io/name: vertex-batch template: metadata: labels: app.kubernetes.io/name: vertex-batch app.kubernetes.io/instance: vertex-batch spec: terminationGracePeriodSeconds: 75 automountServiceAccountToken: false imagePullSecrets: - name: quay-cluster-pull securityContext: runAsNonRoot: true runAsUser: 65532 runAsGroup: 65532 seccompProfile: type: RuntimeDefault containers: - name: batch image: registry.quorate.internal/quorate/vertex-batch@sha256:a1416b98cc57ae27dde41df27ad696c933d6bad6906f241bc698fc48cf4c7a35 args: - -gateway-url=http://agentgateway-proxy.agentgateway-system.svc.cluster.local/v1/chat/completions - -project=ms2k-personal - -bucket=ms2k-personal-vertex-batch - -credentials=/credentials/credentials.json ports: - name: http containerPort: 8080 readinessProbe: httpGet: path: /healthz port: http lifecycle: preStop: sleep: seconds: 5 resources: requests: cpu: 10m memory: 32Mi limits: memory: 128Mi securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: drop: [ALL] volumeMounts: - name: credentials mountPath: /credentials readOnly: true volumes: - name: credentials secret: secretName: agentgateway-vertex-ai --- apiVersion: v1 kind: Service metadata: name: vertex-batch namespace: agentgateway-system spec: selector: app.kubernetes.io/name: vertex-batch ports: - name: http port: 8080 targetPort: http