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

36 lines
919 B
YAML

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: cbii-apigateway-jenkins
namespace: CLOUDSDK_CORE_PROJECT
spec:
template:
spec:
containerConcurrency: 80
timeoutSeconds: 300
serviceAccountName: 579436120902-compute@developer.gserviceaccount.com
containers:
- name: felsv-spring-cloud-api-gateway-1
image: consiti/felsv-spring-cloud-api-gateway:Prueba4
ports:
- name: http1
containerPort: 8082
resources:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
timeoutSeconds: 240
periodSeconds: 240
failureThreshold: 1
tcpSocket:
port: 8082
env:
- name: SERVICIO_LOTES
value: SERVICE_LOTES_URL
- name: SERVICIO_NEST
value: SERVICE_NEST_URL
- name: SERVER_PORT
value: '8082'