First learning config files

This commit is contained in:
2026-02-26 15:37:51 +01:00
parent 36901a8be6
commit 0a6fc9ffe8
8 changed files with 305 additions and 0 deletions

12
02-service.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: mon-service-apprentissage # Le nom du "Standardiste"
spec:
selector:
app: apprentissage # IMPORTANT: Doit correspondre exactement au label du Deployment
ports:
- protocol: TCP
port: 80 # Port sur lequel Service écoute
targetPort: 80 # Port sur lequel Pod écoute
type: ClusterIP