imfreedom/k8s-cluster

cfcef1e268b7
Parents d31ae43aa9bc
Children ac7d0d4997e7
Add limits to all of the pidgin deployments
--- a/50-docs.pidgin.im.yaml Thu Apr 18 22:40:03 2019 -0500
+++ b/50-docs.pidgin.im.yaml Sat May 04 15:04:35 2019 -0500
@@ -95,6 +95,13 @@
env:
- name: GOSERVE_PREFIX
value: /libgnt/latest
+ resources:
+ limits:
+ cpu: 200m
+ memory: 128Mi
+ requests:
+ cpu: 100m
+ memory: 92Mi
---
apiVersion: v1
kind: Service
@@ -141,6 +148,13 @@
env:
- name: GOSERVE_PREFIX
value: /libgnt/next
+ resources:
+ limits:
+ cpu: 200m
+ memory: 128Mi
+ requests:
+ cpu: 100m
+ memory: 92Mi
---
apiVersion: v1
kind: Service
@@ -187,5 +201,12 @@
env:
- name: GOSERVE_PREFIX
value: /talkatu/latest
+ resources:
+ limits:
+ cpu: 200m
+ memory: 128Mi
+ requests:
+ cpu: 100m
+ memory: 92Mi
---
--- a/50-nest.pidgin.im.yaml Thu Apr 18 22:40:03 2019 -0500
+++ b/50-nest.pidgin.im.yaml Sat May 04 15:04:35 2019 -0500
@@ -73,9 +73,16 @@
spec:
containers:
- name: nest
- image: pidgin/nest:latest
+ image: pidgin-docker-backup.bintray.io/pidgin/nest:latest
imagePullPolicy: Always
ports:
- containerPort: 3000
+ resources:
+ limits:
+ cpu: 200m
+ memory: 128Mi
+ requests:
+ cpu: 100m
+ memory: 92Mi
---
--- a/50-status.pidgin.im.yaml Thu Apr 18 22:40:03 2019 -0500
+++ b/50-status.pidgin.im.yaml Sat May 04 15:04:35 2019 -0500
@@ -77,5 +77,12 @@
imagePullPolicy: Always
ports:
- containerPort: 80
+ resources:
+ limits:
+ cpu: 200m
+ memory: 128Mi
+ requests:
+ cpu: 100m
+ memory: 92Mi
---