aula-03: Alta disponibilidade com replicas e readiness probe

Múltiplas réplicas com readiness probe para remover pods
não-saudáveis do Service enquanto liveness probe os reinicia.
This commit is contained in:
Allyson de Paula
2025-12-25 13:37:33 -03:00
parent b9ab2d281f
commit a479bf3696
3 changed files with 102 additions and 0 deletions

12
aula-03/service.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: node-bugado
spec:
type: LoadBalancer
selector:
app: node-bugado
ports:
- port: 3000
targetPort: 3000
protocol: TCP