CI-CD dejo node

This commit is contained in:
2025-06-10 02:28:50 -03:00
parent fde5a46664
commit 0ea56e2596
25 changed files with 608 additions and 0 deletions

View File

@ -0,0 +1,28 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dejo-node
spec:
template:
spec:
containers:
- name: deje-node
livenessProbe:
httpGet:
path: /health/liveness
port: 8080
initialDelaySeconds: 3
periodSeconds: 5
readinessProbe:
httpGet:
path: /health/readiness
port: 8080
initialDelaySeconds: 10
periodSeconds: 10
startupProbe:
httpGet:
path: /health/startup
port: 8080
failureThreshold: 30
periodSeconds: 10

View File

@ -0,0 +1,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dejo-node
spec:
template:
spec:
containers:
- name: dejo-node
image: 859024677525.dkr.ecr.us-east-1.amazonaws.com/dev-dejo/dejo-node:latest

View File

@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dejo-node-ingress
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
rules:
- host: dev-dejo-node.dejo.digital
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: dejo-node-svc
port:
number: 8545