añadido apolo
This commit is contained in:
43
apolo/deployments/deploy-colossus.yaml
Normal file
43
apolo/deployments/deploy-colossus.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: apolo-colossus
|
||||
namespace: apolo
|
||||
labels:
|
||||
app.kubernetes.io/name: apolo-colossus
|
||||
app.kubernetes.io/part-of: apolo
|
||||
app.kubernetes.io/component: colossus
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: apolo-colossus
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: apolo-colossus
|
||||
app.kubernetes.io/part-of: apolo
|
||||
app.kubernetes.io/component: colossus
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: harbor-cred
|
||||
containers:
|
||||
- name: colossus
|
||||
image: harbor.c2et.com/xrf-ssl/xrf-webcolossus:6.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3000
|
||||
# Si el contenedor expone / como OK:
|
||||
readinessProbe:
|
||||
httpGet: { path: /, port: 3000 }
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet: { path: /, port: 3000 }
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 20
|
||||
# Si más tarde necesitas forzar backend .net en runtime (solo si la imagen lo lee en runtime):
|
||||
# env:
|
||||
# - name: NEXT_PUBLIC_APP_BASE_URL
|
||||
# value: "https://backend.apolo.c2et.net"
|
||||
Reference in New Issue
Block a user