Add kustomize

This commit is contained in:
Florian RICHER 2025-03-26 16:16:41 +01:00
parent 5fc864c65d
commit d021c3e63a
9 changed files with 91 additions and 3 deletions

View file

@ -0,0 +1,21 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: app-deployment
spec:
replicas: 1
selector:
template:
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
resources:
requests:
memory: "32Mi"
cpu: 128m
limits:
memory: "64Mi"
cpu: 256m

View file

@ -0,0 +1,3 @@
resources:
- deployment.yaml
- service.yaml

View file

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