Obisidian vault auto-backup: 19-01-2026 15:50:52 on . 1 files edited

This commit is contained in:
Félix MARQUET
2026-01-19 15:50:52 +01:00
parent e68a5892e2
commit 8a3d44a80a

View File

@@ -61,7 +61,7 @@ Hello Kubernetes bootcamp! | Running on: first-dep-588887cc8d-6jpqj | v=2
```
## Demo-flask
demo-flask.yml
`demo-flask.yml`
```Yaml
apiVersion: apps/v1
kind: Deployment
@@ -81,7 +81,7 @@ spec:
- name: demo-flask
image: arnaudmorin/demo-flask:latest
ports:
- containerPort: 5000
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -91,8 +91,11 @@ spec:
selector:
app: demo-flask
ports:
- port: 808
targetPort: 5000
- port: 8080
targetPort: 8080
type: LoadBalancer
```
```bash
kubectl apply -f demo-flask.yml
```