Cloud Run
Prerequisites
CPU Configuration
apiVersion: run.googleapis.com/v1
kind: WorkerPool
metadata:
annotations:
run.googleapis.com/launch-stage: BETA
run.googleapis.com/scalingMode: manual
run.googleapis.com/manualInstanceCount: "1"
name: qscan-worker
spec:
template:
metadata:
annotations:
run.googleapis.com/execution-environment: gen2
run.googleapis.com/cpu-throttling: "false"
spec:
containers:
- name: qscan-worker
image: us-docker.pkg.dev/qpoint-edge/public/qscan:latest
env:
- name: NUM_POLLERS
value: "2"
- name: NUM_SCANNERS
value: "2"
- name: LOG_LEVEL
value: "info"
- name: LOG_ENCODING
value: "json"
- name: METRICS_PORT
value: "8080"
- name: REGISTRATION_TOKEN
valueFrom:
secretKeyRef:
key: latest
name: qscan-registration-token
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 6000m
memory: 24Gi
startupProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 5
periodSeconds: 30
failureThreshold: 5GPU Configuration
Secret Manager
Updating the Image
Last updated