OSVauco/opax-mcp.yaml

117 lines
4.2 KiB
YAML

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
annotations:
run.googleapis.com/build-enable-automatic-updates: 'false'
run.googleapis.com/build-id: 3deeb5f6-0351-4580-8dab-2dcad7e478dc
run.googleapis.com/build-image-uri: us-central1-docker.pkg.dev/propane-will-491900-m5/cloud-run-source-deploy/opax-mcp
run.googleapis.com/build-name: projects/357036551735/locations/us-central1/builds/3deeb5f6-0351-4580-8dab-2dcad7e478dc
run.googleapis.com/build-source-location: gs://run-sources-propane-will-491900-m5-us-central1/services/opax-mcp/1782754930.916629-ba7acea7e3534f21b658e90dd918d952.zip#1782754931015737
run.googleapis.com/ingress: all
run.googleapis.com/ingress-status: all
run.googleapis.com/maxScale: '20'
run.googleapis.com/operation-id: 931f0012-fb7c-422c-b857-8e75cc298a5f
run.googleapis.com/urls: '["https://opax-mcp-357036551735.us-central1.run.app","https://opax-mcp-zjbqp3prqq-uc.a.run.app"]'
serving.knative.dev/creator: 357036551735-compute@developer.gserviceaccount.com
serving.knative.dev/lastModifier: chris.christiansen@vauco.no
creationTimestamp: '2026-06-10T01:03:48.098765Z'
generation: 57
labels:
cloud.googleapis.com/location: us-central1
name: opax-mcp
namespace: '357036551735'
resourceVersion: AAZVlY5b+Ro
selfLink: /apis/serving.knative.dev/v1/namespaces/357036551735/services/opax-mcp
uid: c95aae34-95db-474f-93dc-f8d89b55b2dd
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/maxScale: '5'
run.googleapis.com/client-name: gcloud
run.googleapis.com/client-version: 570.0.0
run.googleapis.com/startup-cpu-boost: 'true'
labels:
client.knative.dev/nonce: zcdkbqbeua
run.googleapis.com/startupProbeType: Default
spec:
containerConcurrency: 80
containers:
- env:
- name: GOOGLE_CLOUD_PROJECT
value: propane-will-491900-m5
- name: OLLAMA_BASE_URL
value: "http://34.67.252.59:11434"
- name: EMMA_MODEL
value: "gemma3:4b"
- name: EMMA_FAST_MODEL
value: "gemma3:4b"
- name: EMMA_LIGHT_MODEL
value: "qwen2.5:3b"
- name: GITEA_TOKEN
valueFrom:
secretKeyRef:
key: latest
name: gitea-token
- name: GITEA_URL
value: "http://34.67.252.59:3000"
- name: INTERNAL_API_KEY
valueFrom:
secretKeyRef:
key: latest
name: INTERNAL_API_KEY
- name: STATIC_BUCKET
value: opax-vauco-static
- name: CLOUD_RUN_SERVICE
value: osvauco-agent
- name: CLOUD_BUILD_TRIGGER_ID
value: 38423976-91ff-4ff4-859e-1f262344c609
- name: OPAX_IAP_CLIENT_ID
value: 357036551735-kq8nt7ld38hfqlcfb3n52ef7tala4meo.apps.googleusercontent.com
- name: MCP_SECRET
valueFrom:
secretKeyRef:
key: latest
name: mcp-server-key
- name: GMAIL_DEFAULT_SENDER
value: jason.vauger@vauco.no
- name: GMAIL_ALLOWED_SENDERS
value: jason.vauger@vauco.no,emma.vauger@vauco.no
- name: OSVAUCO_AGENT_URL
value: "https://osvauco-agent-357036551735.us-central1.run.app"
- name: TWILIO_ACCOUNT_SID
valueFrom:
secretKeyRef:
key: latest
name: TWILIO_ACCOUNT_SID
- name: TWILIO_AUTH_TOKEN
valueFrom:
secretKeyRef:
key: latest
name: TWILIO_AUTH_TOKEN
- name: TWILIO_FROM_NUMBER
valueFrom:
secretKeyRef:
key: latest
name: TWILIO_FROM_NUMBER
image: us-central1-docker.pkg.dev/propane-will-491900-m5/osvauco-repo/opax-mcp:latest
name: opax-mcp-1
ports:
- containerPort: 8080
name: http1
resources:
limits:
cpu: '1'
memory: 512Mi
startupProbe:
failureThreshold: 1
periodSeconds: 240
tcpSocket:
port: 8080
timeoutSeconds: 240
serviceAccountName: jason-vauger@propane-will-491900-m5.iam.gserviceaccount.com
timeoutSeconds: 60
traffic:
- latestRevision: true
percent: 100