Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
FIX: Remove readiness probe + remove resource limits (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
alysivji authored Aug 28, 2021
1 parent 0e59786 commit 1d2c06d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 20 deletions.
2 changes: 1 addition & 1 deletion busy_beaver/templates/github_summary_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h3>Configure GitHub Summary Feature</h3>
<p>You can use the following text to publicize the bot:</p>

<blockquote>
Busy Beaver is a community engagement bot that shares daily sumarries of
Busy Beaver is a community engagement bot that shares daily summaries of
public GitHub activity for registered users. Find out what everybody's
working on in #{{ dict(form.channel.choices).get(form.channel.data) }}!
</blockquote>
Expand Down
8 changes: 4 additions & 4 deletions helm/charts/busybeaver/templates/deployment--scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ spec:
image: {{ .Values.image.repository }}:{{ .Values.image.version }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["scheduler"]
resources:
limits:
memory: "128Mi"
cpu: "100m"
# resources:
# limits:
# memory: "256Mi"
# cpu: "200m"
env:
{{- include "busybeaver.env_vars" . | indent 10 }}
serviceAccountName: {{ include "busybeaver.serviceAccountName" . }}
Expand Down
8 changes: 4 additions & 4 deletions helm/charts/busybeaver/templates/deployment--web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ spec:
image: {{ .Values.image.repository }}:{{ .Values.image.version }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["webserver"]
resources:
limits:
memory: "256Mi"
cpu: "200m"
# resources:
# limits:
# memory: "512Mi"
# cpu: "500m"
env:
{{- include "busybeaver.env_vars" . | indent 10 }}
ports:
Expand Down
15 changes: 4 additions & 11 deletions helm/charts/busybeaver/templates/deployment--worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,11 @@ spec:
image: {{ .Values.image.repository }}:{{ .Values.image.version }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["worker"]
resources:
limits:
memory: "256Mi"
cpu: "200m"
# resources:
# limits:
# memory: "512Mi"
# cpu: "500m"
env:
{{- include "busybeaver.env_vars" . | indent 10 }}
readinessProbe:
exec:
command:
- bash
- ./scripts/check_worker_box.sh
initialDelaySeconds: 10
periodSeconds: 10
serviceAccountName: {{ include "busybeaver.serviceAccountName" . }}
automountServiceAccountToken: false

0 comments on commit 1d2c06d

Please sign in to comment.