First configuration for kubernetes learning or prototype

This commit is contained in:
Florian RICHER 2025-03-01 13:38:26 +01:00
parent 5e0008b02f
commit 25b17550ea
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
6 changed files with 145 additions and 0 deletions

12
nginx/service.yaml Normal file
View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
type: ClusterIP
selector:
app: nginx
ports:
- protocol: TCP
port: 8000
targetPort: 80