mysql: First working kustomize

This commit is contained in:
Florian RICHER 2025-03-27 11:26:11 +01:00
parent fa945f2e5c
commit 244458738c
10 changed files with 125 additions and 2 deletions

View file

@ -1,16 +1,23 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: db-deployment
name: db-statefulset
labels:
service: db
spec:
serviceName: db-service
replicas: 1
selector:
matchLabels:
service: db
template:
metadata:
labels:
service: db
spec:
containers:
- name: mysql
image: mysql:9
image: mysql
resources:
requests:
memory: "512Mi"