Primeiro commit

This commit is contained in:
joao.herculano
2026-08-06 11:13:33 -03:00
commit 4e1ebe861c
110 changed files with 18052 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sla-separacao-deployment
namespace: ci-cd
labels:
app: sla-separacao
spec:
revisionHistoryLimit: 0
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app: sla-separacao
template:
metadata:
labels:
app: sla-separacao
spec:
containers:
- name: web
image: 10.77.77.41:5000/slalog/sla-separacao:IMAGE_TAG
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8000
envFrom:
- secretRef:
name: sla-separacao-env
env:
- name: PORT
value: "8000"
- name: HOST
value: "0.0.0.0"
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 300m
memory: 512Mi
startupProbe:
httpGet:
path: /healthz
port: 8000
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthz
port: 8000
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /healthz
port: 8000
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 3