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
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
pairs:
|
pairs:
|
||||||
app.kubernetes.io/instance: prod
|
app.kubernetes.io/instance: prod
|
||||||
app.kubernetes.io/name: servala
|
app.kubernetes.io/name: servala
|
||||||
resources:
|
resources:
|
||||||
- ../../base/portal
|
- ../../base/portal
|
||||||
- ../../base/database
|
- ../../base/database
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
patches:
|
patches:
|
||||||
- path: portal-deployment.yaml
|
- path: portal-deployment.yaml
|
||||||
- path: objectstorage.yaml
|
- path: objectstorage.yaml
|
||||||
|
|
|
||||||
|
|
@ -32,3 +32,10 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: portal-storage-creds
|
name: portal-storage-creds
|
||||||
key: AWS_SECRET_ACCESS_KEY
|
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