chore(k8): system requirements fine-tuning
- reduced at homepages - reduced at netronome - reduced at dockmon - reduced at gitea - reduced at kener
This commit is contained in:
@@ -51,8 +51,8 @@ spec:
|
|||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "200m"
|
cpu: "200m"
|
||||||
limits:
|
limits:
|
||||||
memory: "2Gi"
|
memory: "1.5Gi"
|
||||||
cpu: "1500m "
|
cpu: "700m "
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "500m"
|
cpu: "300m"
|
||||||
limits:
|
limits:
|
||||||
memory: "1.5Gi"
|
memory: "1.5Gi"
|
||||||
cpu: "1500m"
|
cpu: "1300m"
|
||||||
volumes:
|
volumes:
|
||||||
- name: gitea-data
|
- name: gitea-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
@@ -30,6 +30,13 @@ spec:
|
|||||||
image: gcr.forust.xyz/forust/forust-homepage:latest
|
image: gcr.forust.xyz/forust/forust-homepage:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "10Mi"
|
||||||
|
cpu: "20m"
|
||||||
|
limits:
|
||||||
|
memory: "100Mi"
|
||||||
|
cpu: "50m"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@@ -63,3 +70,10 @@ spec:
|
|||||||
image: gcr.forust.xyz/forust/xdfnx-homepage:latest
|
image: gcr.forust.xyz/forust/xdfnx-homepage:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "10Mi"
|
||||||
|
cpu: "20m"
|
||||||
|
limits:
|
||||||
|
memory: "100Mi"
|
||||||
|
cpu: "50m"
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "300Mi"
|
memory: "300Mi"
|
||||||
cpu: "400m"
|
cpu: "350m"
|
||||||
limits:
|
limits:
|
||||||
memory: "2Gi"
|
memory: "2Gi"
|
||||||
cpu: "1200m"
|
cpu: "1"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ spec:
|
|||||||
key: NETRONOME__DB_PASSWORD
|
key: NETRONOME__DB_PASSWORD
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
memory: "100Mi"
|
||||||
|
cpu: "100m"
|
||||||
|
limits:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
limits:
|
|
||||||
memory: "1Gi"
|
|
||||||
cpu: "1000m"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user