set resources for prod and format file
This commit is contained in:
parent
b89e215b35
commit
d8ba9130fb
2 changed files with 16 additions and 9 deletions
|
|
@ -1,14 +1,14 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
app.kubernetes.io/instance: prod
|
||||
app.kubernetes.io/name: servala
|
||||
resources:
|
||||
- ../../base/portal
|
||||
- ../../base/database
|
||||
- ingress.yaml
|
||||
- ../../base/portal
|
||||
- ../../base/database
|
||||
- ingress.yaml
|
||||
patches:
|
||||
- path: portal-deployment.yaml
|
||||
- path: objectstorage.yaml
|
||||
- path: portal-deployment.yaml
|
||||
- path: objectstorage.yaml
|
||||
|
|
|
|||
|
|
@ -32,3 +32,10 @@ spec:
|
|||
secretKeyRef:
|
||||
name: portal-storage-creds
|
||||
key: AWS_SECRET_ACCESS_KEY
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue