CBII-CloudRun/service-firmador.yml
2025-02-24 16:45:17 -05:00

37 lines
963 B
YAML

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: cbii-firmador-jenkins
namespace: CLOUDSDK_CORE_PROJECT
spec:
template:
spec:
containerConcurrency: 80
timeoutSeconds: 300
serviceAccountName: 579436120902-compute@developer.gserviceaccount.com
containers:
- name: svfe-api-firmador-1
image: svfe/svfe-api-firmador:v20230109
ports:
- name: http1
containerPort: 8113
resources:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
timeoutSeconds: 240
periodSeconds: 240
failureThreshold: 1
tcpSocket:
port: 8113
volumeMounts:
- name: certifados
mountPath: /uploads
volumes:
- name: certifados
csi:
driver: gcsfuse.run.googleapis.com
readOnly: true
volumeAttributes:
bucketName: certifados_prod