Skip to content

Commit 129fa06

Browse files
committed
Update Sourcegraph Docker insiders images
1 parent e7a10d8 commit 129fa06

File tree

59 files changed

+200
-333
lines changed

Some content is hidden

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

59 files changed

+200
-333
lines changed

README.md

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

3-
[![sourcegraph: search](https://img.shields.io/badge/sourcegraph-search-brightgreen.svg)](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph) [![master build status](https://badge.buildkite.com/018ed23ed79d7297e7dd109b745597c58d875323fb06e81786.svg?branch=master)](https://buildkite.com/sourcegraph/deploy-sourcegraph)
3+
[![sourcegraph: beta](https://img.shields.io/badge/sourcegraph-beta-blue.svg)](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegrap-k8s)
44

5-
## **WARNING: All work in this repository is WIP and should not be used until further notice.**
5+
> **Warning**
6+
> The contents of this repository are currently in beta and have not been officially released. While we encourage testing and feedback, please do not use this in production environments. We cannot guarantee support for these beta features and recommend that you use them at your own risk. We will keep you updated as development progresses and official releases become available.
67
78
Deploying Sourcegraph into a Kubernetes cluster is for organizations that need highly scalable and
89
available code search and code intelligence. This repository contains documentation for creating,
@@ -23,7 +24,7 @@ us](https://about.sourcegraph.com/contact/sales) for more information.
2324

2425
## Deploying
2526

26-
🚨 **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.5.0`.**
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`.**
2728

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

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:9be7ddfe2440b65cb0391b416f14cdcb210d4c26b0cf9bf937ddc75578a4282a
29+
image: index.docker.io/sourcegraph/cadvisor:insiders@sha256:190efc306a283ed707fd09d7d65b8526beb8815fa13f31081cb290e743c62126
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 & 2 deletions
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:12e56c6eb01b91b729e39e8ce6574fbe0f633df2e41103f7fab85a78e0602d8e
29+
image: index.docker.io/sourcegraph/grafana:insiders@sha256:4841dd8d1eba45585eeb88f2223dd6dec158274914e737ac91141c6343b03186
3030
terminationMessagePolicy: FallbackToLogsOnError
3131
ports:
3232
- containerPort: 3370
@@ -53,7 +53,6 @@ spec:
5353
allowPrivilegeEscalation: false
5454
runAsGroup: 472
5555
runAsUser: 472
56-
# serviceAccountName: grafana
5756
volumes:
5857
- name: config
5958
configMap:

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:f16feb2fef76757786a22265628e93c67844e372eda9b4357d943a33c1dbb02c
29+
image: index.docker.io/sourcegraph/opentelemetry-collector:insiders@sha256:56a1711a25c95830468ce517b4082b593a1eadb0d72bc2dc100488418413cac9
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:f16feb2fef76757786a22265628e93c67844e372eda9b4357d943a33c1dbb02c
29+
image: index.docker.io/sourcegraph/opentelemetry-collector:insiders@sha256:56a1711a25c95830468ce517b4082b593a1eadb0d72bc2dc100488418413cac9
3030
command:
3131
- "/bin/otelcol-sourcegraph"
3232
# To use a custom configuration, edit otel-collector.ConfigMap.yaml

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:09656a16db539a073f7713caf6f2bb49568b23cf275dc8014bc24673725f8f44
28+
image: index.docker.io/sourcegraph/prometheus:insiders@sha256:a6c02f55e4d4861094df5df18aefab6813024aae9dd8bdb5694612becc33baf3
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:3f6cfae4bc779051d8378ca38e897074b540928dcce0ae0ebe4fad2ab5411ac3
29+
image: index.docker.io/sourcegraph/blobstore:insiders@sha256:a10b9e6be1f8bc843bd22496e6d28c2ec38aeb1f75f2eecb836cc152009d43eb
3030
livenessProbe:
3131
httpGet:
3232
path: /

base/sourcegraph/codeinsights-db/codeinsights-db.Deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
initContainers:
2828
- name: correct-data-dir-permissions
29-
image: index.docker.io/sourcegraph/alpine-3.14:insiders@sha256:9cba050c05ff060fa47d8f9268b7e18945346785eb3413dc295be9700531cca0
29+
image: index.docker.io/sourcegraph/alpine-3.14:insiders@sha256:5e047c7f753cab4a61d32728c5669ff3d6394c84ab317e8cd8ee375a402324e6
3030
command: ["sh", "-c", "if [ -d /var/lib/postgresql/data/pgdata ]; then chmod 750 /var/lib/postgresql/data/pgdata; fi"]
3131
volumeMounts:
3232
- mountPath: /var/lib/postgresql/data/
@@ -45,7 +45,7 @@ spec:
4545
runAsUser: 70
4646
containers:
4747
- name: codeinsights
48-
image: index.docker.io/sourcegraph/codeinsights-db:insiders@sha256:c6fd90c7e32980f82fa4c673d2ff6e00a09a175d7722689dc7c67213a0d4b9b9
48+
image: index.docker.io/sourcegraph/codeinsights-db:insiders@sha256:2a245d1acbadb3f5e0fa448dd123c4edd098bfb24355087509f8b8d917b96961
4949
env:
5050
- name: POSTGRES_DB
5151
value: postgres
@@ -82,7 +82,7 @@ spec:
8282
value: postgres://postgres:@localhost:5432/?sslmode=disable
8383
- name: PG_EXPORTER_EXTEND_QUERY_PATH
8484
value: /config/code_insights_queries.yaml
85-
image: index.docker.io/sourcegraph/postgres_exporter:insiders@sha256:24c63bcdda14a936ac34494a7fdf744b4b365bd4d46d14f2b97362cb34c9c5f7
85+
image: index.docker.io/sourcegraph/postgres_exporter:insiders@sha256:e1715c4e2b865670b347cdd442702718b97518922f50ddc18f471716cffd0e70
8686
terminationMessagePolicy: FallbackToLogsOnError
8787
name: pgsql-exporter
8888
ports:

base/sourcegraph/codeintel-db/codeintel-db.Deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
spec:
2828
initContainers:
2929
- name: correct-data-dir-permissions
30-
image: index.docker.io/sourcegraph/alpine-3.14:insiders@sha256:9cba050c05ff060fa47d8f9268b7e18945346785eb3413dc295be9700531cca0
30+
image: index.docker.io/sourcegraph/alpine-3.14:insiders@sha256:5e047c7f753cab4a61d32728c5669ff3d6394c84ab317e8cd8ee375a402324e6
3131
command: ["sh", "-c", "if [ -d /data/pgdata-12 ]; then chmod 750 /data/pgdata-12; fi"]
3232
volumeMounts:
3333
- mountPath: /data
@@ -45,7 +45,7 @@ spec:
4545
memory: "50Mi"
4646
containers:
4747
- name: pgsql
48-
image: index.docker.io/sourcegraph/codeintel-db:insiders@sha256:6a964b41ffa46397ff66da5631e2877e595ec1a69871c144ae7a4fccc5513e51
48+
image: index.docker.io/sourcegraph/codeintel-db:insiders@sha256:475d5373646ef42015fcf8d5d020ee5cac669399b6f693ff9c64842aed24e793
4949
terminationMessagePolicy: FallbackToLogsOnError
5050
readinessProbe:
5151
exec:
@@ -87,7 +87,7 @@ spec:
8787
value: postgres://sg:@localhost:5432/?sslmode=disable
8888
- name: PG_EXPORTER_EXTEND_QUERY_PATH
8989
value: /config/code_intel_queries.yaml
90-
image: index.docker.io/sourcegraph/postgres_exporter:insiders@sha256:24c63bcdda14a936ac34494a7fdf744b4b365bd4d46d14f2b97362cb34c9c5f7
90+
image: index.docker.io/sourcegraph/postgres_exporter:insiders@sha256:e1715c4e2b865670b347cdd442702718b97518922f50ddc18f471716cffd0e70
9191
terminationMessagePolicy: FallbackToLogsOnError
9292
name: pgsql-exporter
9393
ports:

base/sourcegraph/frontend/sourcegraph-frontend.Deployment.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
spec:
3030
initContainers:
3131
- name: migrator
32-
image: index.docker.io/sourcegraph/migrator:insiders@sha256:bca401f8c22a3f83d494259a4b49ca8c7b6d66a5558fb8f4a3286a8db2f27c08
32+
image: index.docker.io/sourcegraph/migrator:insiders@sha256:f540c204a001a3d723c5de229c7ddb36446f7f20aaca24d29d963e9925519ae6
3333
args: ["up"]
3434
resources:
3535
limits:
@@ -48,14 +48,12 @@ spec:
4848
name: sourcegraph-frontend-env
4949
containers:
5050
- name: frontend
51-
image: index.docker.io/sourcegraph/frontend:insiders@sha256:7cce06c40b6965183c0ef7f58c35bbabe0d8af6f2e3cddae33d27575785c8d86
51+
image: index.docker.io/sourcegraph/frontend:insiders@sha256:b063b3d0dabdb9000929b49face859f7fa5b74cb850a7ce512eb5b104197cf6a
5252
args:
5353
- serve
5454
envFrom:
5555
- configMapRef:
5656
name: sourcegraph-frontend-env
57-
# - configMapRef:
58-
# name: sourcegraph-endpoints-map
5957
# OTEL_AGENT_HOST must be defined before OTEL_EXPORTER_OTLP_ENDPOINT to substitute the node IP on which the DaemonSet pod instance runs in the latter variable
6058
env:
6159
- name: OTEL_AGENT_HOST

0 commit comments

Comments
 (0)