Skip to content

Commit 17913d9

Browse files
author
Sam Johns
authored
sourcegraph: make searcher and symbols headless (#250)
* make searcher and symbols headless * update changelog * update changelog and fix syntax for headless services * update changelog pr * remove commented line
1 parent a233e77 commit 17913d9

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

charts/sourcegraph/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ Use `**BREAKING**:` to denote a breaking change
77
<!-- START CHANGELOG -->
88

99
## Unreleased
10-
* The default `hostPort`s for OpenTelemetry agent pods deployed by the DaemonSet can now be overridden by setting `openTelemetry.agent.hostPorts` for one or more of `otlpGrpc`, `otlpHttp`, and `zpages`. This allows multiple instances of Sourcegraph to be deployed on a single cluster [#245](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/245).
11-
* Update default `searcher` replicas from 2 --> 1
10+
1211

1312
## 4.5.0
1413

1514
- Sourcegraph 4.5.0 is now available
1615

16+
17+
- The default `hostPort`s for OpenTelemetry agent pods deployed by the DaemonSet can now be overridden by setting `openTelemetry.agent.hostPorts` for one or more of `otlpGrpc`, `otlpHttp`, and `zpages`. This allows multiple instances of Sourcegraph to be deployed on a single cluster [#245](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/245).
18+
- Update default `searcher` replicas from 2 --> 1
19+
- Update `searcher` and `symbols` services to be headless.
20+
- Before upgrading, delete your `searcher` and `symbols` services (ex: `kubectl delete svc/searcher svc/symbols`) [#250](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/250)
1721
- Deploy Sourcegraph Executors now deployable via helm [#236](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/236).
1822
- Searcher and Symbols now use StatefulSets and PVCs to avoid large `ephermeralStorage` requests [#242](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/242)
1923

charts/sourcegraph/templates/searcher/searcher.Service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ metadata:
1616
{{- end }}
1717
name: searcher
1818
spec:
19+
clusterIP: None
1920
ports:
2021
- name: http
2122
port: 3181
@@ -26,4 +27,3 @@ spec:
2627
selector:
2728
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
2829
app: searcher
29-
type: {{ .Values.searcher.serviceType | default "ClusterIP" }}

charts/sourcegraph/templates/symbols/symbols.Service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ metadata:
1616
{{- end }}
1717
name: symbols
1818
spec:
19+
clusterIP: None
1920
ports:
2021
- name: http
2122
port: 3184
@@ -26,4 +27,3 @@ spec:
2627
selector:
2728
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
2829
app: symbols
29-
type: {{ .Values.symbols.serviceType | default "ClusterIP" }}

0 commit comments

Comments
 (0)