aula-02: Kubernetes com liveness probe

Deployment com liveness probe para detectar quando a app
trava e reiniciar o container automaticamente.
This commit is contained in:
Allyson de Paula
2025-12-25 13:32:29 -03:00
parent 1ea1a98e60
commit b9ab2d281f
3 changed files with 96 additions and 0 deletions

12
aula-02/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