Skip to content

Commit 22f69c4

Browse files
authored
beta: v4.4.1 images (#2)
* Update databases to StatefulSets * Add migrate-to-nonprivileged component * Update: v4.4.1 images
1 parent 9486a7a commit 22f69c4

File tree

139 files changed

+1203
-1499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+1203
-1499
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
generated-cluster
21
.env
32
.envrc
43
.crt
54
.key
65
id_rsa
76
known_hosts
7+
dev-clusters

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [BETA] Sourcegraph on Kubernetes with Kustomize
1+
# [BETA] Deploy Sourcegraph with Kustomize
22

33
[![sourcegraph: beta](https://img.shields.io/badge/sourcegraph-beta-blue.svg)](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegrap-k8s)
44

@@ -13,7 +13,7 @@ For product and [pricing](https://about.sourcegraph.com/pricing/) information, v
1313
[about.sourcegraph.com](https://about.sourcegraph.com) or [contact
1414
us](https://about.sourcegraph.com/contact/sales) for more information.
1515

16-
- [Installing](https://docs.sourcegraph.com/admin/deploy/kubernetes/kustomize)
16+
- [Installing](https://docs.sourcegraph.com/admin/deploy/kubernetes)
1717
- [Configuring](https://docs.sourcegraph.com/admin/deploy/kubernetes/kustomize/configure)
1818
- [Updating](https://docs.sourcegraph.com/admin/updates/kubernetes)
1919
- [Scaling](https://docs.sourcegraph.com/admin/deploy/scale)- general advice on scaling services
@@ -24,7 +24,7 @@ us](https://about.sourcegraph.com/contact/sales) for more information.
2424

2525
## Deploying
2626

27-
🚨 **The `master` branch tracks development. Use the branch of this repository corresponding to the version of Sourcegraph you wish to deploy, e.g. `git checkout v4.4.1`.**
27+
🚨 **Please use the branch corresponding to the version of Sourcegraph you wish to deploy, e.g. `git checkout v4.5.0`.**
2828

2929
Always refer to the [Sourcegraph Kustomize docs](https://docs.sourcegraph.com/admin/deploy/kubernetes/kustomize) for the latest instructions.
3030

@@ -34,7 +34,9 @@ When upgrading Sourcegraph, please check [upgrading docs](https://docs.sourcegra
3434

3535
## Contributing
3636

37-
We've made our deployment configurations open source to better serve our customers' needs. If there is anything we can do to make deploying Sourcegraph easier just [open an issue (in sourcegraph/sourcegraph)](https://github.com/sourcegraph/sourcegraph/issues/new?assignees=&labels=deploy-sourcegraph&template=deploy-sourcegraph.md&title=%5Bdeploy-sourcegraph%5D) or a pull request and we will respond promptly!
37+
The `dev` branch is used to track development.
38+
39+
We've made our deployment configurations open source to better serve our customers' needs. If there is anything we can do to make deploying Sourcegraph easier just [open an issue (in sourcegraph/sourcegraph)](https://github.com/sourcegraph/sourcegraph/issues/new?assignees=&labels=deploy-sourcegraph&template=deploy-sourcegraph.md&title=%5Bdeploy-sourcegraph%5D) or a pull request and we will respond as soon as possible!
3840

3941
## Questions & Issues
4042

base/monitoring/cadvisor/cadvisor.DaemonSet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
serviceAccountName: cadvisor
2727
containers:
2828
- name: cadvisor
29-
image: index.docker.io/sourcegraph/cadvisor:insiders@sha256:190efc306a283ed707fd09d7d65b8526beb8815fa13f31081cb290e743c62126
29+
image: index.docker.io/sourcegraph/cadvisor:4.4.1@sha256:87e62b4f11f6e51c8d6f363780642916b986787007808ae2ec1cc040644c10f6
3030
args:
3131
# Kubernetes-specific flags below (other flags are baked into the Docker image)
3232
#

base/monitoring/grafana/grafana.StatefulSet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
containers:
2828
- name: grafana
29-
image: index.docker.io/sourcegraph/grafana:insiders@sha256:4841dd8d1eba45585eeb88f2223dd6dec158274914e737ac91141c6343b03186
29+
image: index.docker.io/sourcegraph/grafana:4.4.1@sha256:7e28a9761433ed3adf75788cc5e849e3faf0938b0467b4b895fbb8aa7dc36a6d
3030
terminationMessagePolicy: FallbackToLogsOnError
3131
ports:
3232
- containerPort: 3370

base/monitoring/node-exporter/node-exporter.DaemonSet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: node-exporter
27-
image: index.docker.io/sourcegraph/node-exporter:insiders@sha256:fa8e5700b7762fffe0674e944762f44bb787a7e44d97569fe55348260453bf80
27+
image: index.docker.io/sourcegraph/node-exporter:4.4.1@sha256:fa8e5700b7762fffe0674e944762f44bb787a7e44d97569fe55348260453bf80
2828
imagePullPolicy: IfNotPresent
2929
resources:
3030
limits:

base/monitoring/otel-collector/otel-agent.DaemonSet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
containers:
2828
- name: otel-agent
29-
image: index.docker.io/sourcegraph/opentelemetry-collector:insiders@sha256:56a1711a25c95830468ce517b4082b593a1eadb0d72bc2dc100488418413cac9
29+
image: index.docker.io/sourcegraph/opentelemetry-collector:4.4.1@sha256:aab30e572c1fa8a97f98b0163ed56d0bcbd0f0fe43472937746a33b0e58c31ac
3030
command:
3131
- "/bin/otelcol-sourcegraph"
3232
- "--config=/etc/otel-agent/config.yaml"

base/monitoring/otel-collector/otel-collector.Deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
containers:
2828
- name: otel-collector
29-
image: index.docker.io/sourcegraph/opentelemetry-collector:insiders@sha256:56a1711a25c95830468ce517b4082b593a1eadb0d72bc2dc100488418413cac9
29+
image: index.docker.io/sourcegraph/opentelemetry-collector:4.4.1@sha256:aab30e572c1fa8a97f98b0163ed56d0bcbd0f0fe43472937746a33b0e58c31ac
3030
command:
3131
- "/bin/otelcol-sourcegraph"
3232
# To use a custom configuration, edit otel-collector.ConfigMap.yaml

base/monitoring/prometheus/prometheus.ConfigMap.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ data:
170170
- symbols-2.symbols:6060
171171
- symbols-3.symbols:6060
172172
- symbols-4.symbols:6060
173+
- symbols-5.symbols:6060
174+
- symbols-6.symbols:6060
175+
- symbols-7.symbols:6060
176+
- symbols-8.symbols:6060
177+
- symbols-9.symbols:6060
178+
- symbols-10.symbols:6060
173179
- labels:
174180
nodename: "sourcegraph-services"
175181
job: pgsql

base/monitoring/prometheus/prometheus.Deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
spec:
2626
containers:
2727
- name: prometheus
28-
image: index.docker.io/sourcegraph/prometheus:insiders@sha256:a6c02f55e4d4861094df5df18aefab6813024aae9dd8bdb5694612becc33baf3
28+
image: index.docker.io/sourcegraph/prometheus:4.4.1@sha256:bb1a5a8e199e9f197d98809a604b7a36fd732c993558a595b5636d4aa69d6d84
2929
terminationMessagePolicy: FallbackToLogsOnError
3030
readinessProbe:
3131
httpGet:

base/sourcegraph/blobstore/blobstore.Deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
containers:
2828
- name: blobstore
29-
image: index.docker.io/sourcegraph/blobstore:insiders@sha256:a10b9e6be1f8bc843bd22496e6d28c2ec38aeb1f75f2eecb836cc152009d43eb
29+
image: index.docker.io/sourcegraph/blobstore:4.4.1@sha256:d8f7d04c870f9c5c4a6b6fc8ccd7ed85980ceac6d5d527fa224499e837a39bce
3030
livenessProbe:
3131
httpGet:
3232
path: /

0 commit comments

Comments
 (0)