Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/k8s/base/40-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
# Pinned by digest, from the images job in ci.yml. A tag can be
# repointed; this cannot, so what is running is answerable from the
# manifest alone. deploy/k8s/README.md says how to move it.
image: ghcr.io/sami0076/tennis-wiki/api@sha256:0c93dae8e8fca38715949f5d7b837a8711c731a3df7ea7db4fb54935ab31ec3e
image: ghcr.io/sami0076/tennis-wiki/api@sha256:c72d7ee080cefd28a316811583712846ab1d90230e01c568d334048b741fac55
ports:
- name: http
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions deploy/k8s/base/60-load-weekly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
type: RuntimeDefault
initContainers:
- name: ingest
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["ingest", "--workers", "2", "--batch", "500"]
env:
- name: DATABASE_URL
Expand Down Expand Up @@ -86,7 +86,7 @@ spec:
drop: ["ALL"]
containers:
- name: rate
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["rate"]
env:
- name: DATABASE_URL
Expand Down
7 changes: 2 additions & 5 deletions deploy/k8s/base/65-ongoing-hourly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#
# kubectl -n deucepoint get cronjob ongoing-hourly
# kubectl -n deucepoint create job --from=cronjob/ongoing-hourly ongoing-now
#
# Suspended until the tools image pinned below carries cmd/ongoing: the deploy
# that pins it sets suspend to false.
apiVersion: batch/v1
kind: CronJob
metadata:
Expand All @@ -17,7 +14,7 @@ metadata:
app.kubernetes.io/name: ongoing-hourly
app.kubernetes.io/part-of: deucepoint
spec:
suspend: true
suspend: false
schedule: "7 * * * *"
timeZone: Etc/UTC
concurrencyPolicy: Forbid
Expand Down Expand Up @@ -45,7 +42,7 @@ spec:
type: RuntimeDefault
containers:
- name: ongoing
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["ongoing"]
env:
- name: DATABASE_URL
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/jobs/events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
type: RuntimeDefault
containers:
- name: events
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["ingest", "--stage", "events"]
env:
- name: DATABASE_URL
Expand Down
4 changes: 2 additions & 2 deletions deploy/k8s/jobs/load-force.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
# proceed.
initContainers:
- name: ingest
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
# Two readers and 500-row batches for the same reason as load.yaml:
# the default got the process killed for memory pressure and was no
# faster, the bottleneck being the network. --force is the only
Expand Down Expand Up @@ -112,7 +112,7 @@ spec:
drop: ["ALL"]
containers:
- name: rate
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["rate"]
env:
- name: DATABASE_URL
Expand Down
4 changes: 2 additions & 2 deletions deploy/k8s/jobs/load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
# proceed.
initContainers:
- name: ingest
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
# docs/performance.md: the default of one reader per CPU with
# 2,000-row batches was enough to get the process killed for memory
# pressure on a machine with other things running, and two readers
Expand Down Expand Up @@ -85,7 +85,7 @@ spec:
drop: ["ALL"]
containers:
- name: rate
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["rate"]
env:
- name: DATABASE_URL
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/jobs/migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
type: RuntimeDefault
containers:
- name: goose
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["goose", "up"]
env:
- name: DATABASE_URL
Expand Down
4 changes: 2 additions & 2 deletions deploy/k8s/jobs/reconcile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
type: RuntimeDefault
initContainers:
- name: reconcile
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["ingest", "--stage", "reconcile"]
env:
- name: DATABASE_URL
Expand Down Expand Up @@ -73,7 +73,7 @@ spec:
drop: ["ALL"]
containers:
- name: rate
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["rate"]
env:
- name: DATABASE_URL
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/jobs/refresh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
type: RuntimeDefault
containers:
- name: refresh
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:49349d72dfc72442f4efb473b3e670f5a043be146b566f962acb60d0d29dfeda
image: ghcr.io/sami0076/tennis-wiki/tools@sha256:3e23b6da56815b5a449718e493be0c526f492fca2ec5a1d33cf7839de1033737
command: ["ingest", "--stage", "refresh"]
env:
- name: DATABASE_URL
Expand Down
Loading