79417869

Date: 2025-02-06 12:19:59
Score: 0.5
Natty:
Report link

Managed to work it out, I had to change the above to the below

spec:
  template:
    metadata:
      annotations:
        run.googleapis.com/network-interfaces: '[{"network":"${GCP_VPC}","subnetwork":"${GCP_SUBNET}","tags":["${NETWORK_TAG}"]}]'
        run.googleapis.com/vpc-access-egress: all-traffic
        run.googleapis.com/startup-cpu-boost: 'true'
        autoscaling.knative.dev/minScale: ${MIN_SCALE}
        autoscaling.knative.dev/maxScale: ${MAX_SCALE}
        run.googleapis.com/execution-environment: gen2
        run.googleapis.com/cpu-throttling: 'false'
        run.googleapis.com/container-dependencies: '{app: [otel]}'
    spec:
      serviceAccountName: ${GCP_SERVICE_ACCOUNT}
      containerConcurrency: 4
      containers:
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CJS