Skip to content

Commit

Permalink
Merge pull request #213 from solver-it-sro/GO-379/standalone-worker
Browse files Browse the repository at this point in the history
GO-379 Standalone worker
  • Loading branch information
celuchmarek authored Nov 28, 2023
2 parents 7fdf538 + f0c7890 commit 3e69449
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.env
.env.test
.erb-lint.yml
.git/
.gitattributes
.github/
.gitignore
.gitlab-ci.yml
.gitlab/
.rubocop.yml
.ruby-lsp
.vscode/
chart/
Procfile
Procfile.debug
Procfile.dev
23 changes: 20 additions & 3 deletions .gitlab/auto-deploy-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ readinessProbe:
- "true"
resources:
requests:
cpu: 10m
memory: 400Mi
memory: 600Mi
limits:
memory: 1Gi
memory: 600Mi
persistence:
enabled: true
volumes:
Expand All @@ -37,3 +36,21 @@ persistence:
accessMode: ReadWriteMany
size: 10Gi
storageClass: nfs-client
workers:
worker:
replicaCount: "1"
command: ["bundle", "exec", "good_job", "start"]
startupProbe:
probeType: "httpGet"
path: "/status/started"
livenessProbe:
probeType: "httpGet"
path: "/status/connected"
readinessProbe:
probeType: "httpGet"
path: "/status/started"
resources:
requests:
memory: 1Gi
limits:
memory: 1Gi
21 changes: 19 additions & 2 deletions .gitlab/prod-auto-deploy-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ readinessProbe:
- "true"
resources:
requests:
cpu: 10m
memory: 400Mi
memory: 700Mi
limits:
memory: 1Gi
persistence:
Expand All @@ -37,3 +36,21 @@ persistence:
accessMode: ReadWriteMany
size: 10Gi
storageClass: nfs-client
workers:
worker:
replicaCount: "1"
command: ["bundle", "exec", "good_job", "start"]
startupProbe:
probeType: "httpGet"
path: "/status/started"
livenessProbe:
probeType: "httpGet"
path: "/status/connected"
readinessProbe:
probeType: "httpGet"
path: "/status/started"
resources:
requests:
memory: 1Gi
limits:
memory: 1Gi

0 comments on commit 3e69449

Please sign in to comment.