mysql: First working kustomize
This commit is contained in:
parent
fa945f2e5c
commit
244458738c
10 changed files with 125 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue