Skip to content

Fix dns search error in groot #2850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 9, 2023
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 charts/graphscope-store/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data:
ingestor.node.count={{ .Values.ingestor.replicaCount }}
coordinator.node.count={{ .Values.coordinator.replicaCount }}
ingestor.queue.count={{ .Values.ingestor.replicaCount }}
partition.count={{ .Values.store.replicaCount | mul 8 }}
partition.count={{ .Values.store.replicaCount | mul 128 }}
engine.type={{ .Values.engineType }}
discovery.mode={{ .Values.discoveryMode }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ spec:
value: {{ $kafkaFullname}}-headless.{{ $releaseNamespace }}
- name: KAFKA_SERVERS
value: {{ include "graphscope-store.kafka.brokerlist" . }}
ports:
- name: port
containerPort: 55555
{{- if .Values.coordinator.resources }}
resources: {{- toYaml .Values.coordinator.resources | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,5 @@ spec:
- name: port
port: {{ .Values.coordinator.service.port }}
targetPort: port
- name: gaia-rpc
port: {{ .Values.coordinator.service.gaiaRpc }}
targetPort: gaia-rpc
- name: gaia-engine
port: {{ .Values.coordinator.service.gaiaEngine }}
targetPort: gaia-engine
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: coordinator
2 changes: 2 additions & 0 deletions charts/graphscope-store/templates/frontend/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ spec:
containerPort: 55556
- name: gremlin
containerPort: 12312
- name: port
containerPort: 55555
{{- if .Values.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.livenessProbe "enabled") "context" $) | nindent 12 }}
tcpSocket:
Expand Down
6 changes: 0 additions & 6 deletions charts/graphscope-store/templates/frontend/svc-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,5 @@ spec:
- name: port
port: {{ .Values.frontend.service.port }}
targetPort: port
- name: gaia-rpc
port: {{ .Values.frontend.service.gaiaRpc }}
targetPort: gaia-rpc
- name: gaia-engine
port: {{ .Values.frontend.service.gaiaEngine }}
targetPort: gaia-engine
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: frontend
3 changes: 3 additions & 0 deletions charts/graphscope-store/templates/ingestor/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ spec:
value: {{ $kafkaFullname}}-headless.{{ $releaseNamespace }}
- name: KAFKA_SERVERS
value: {{ include "graphscope-store.kafka.brokerlist" . }}
ports:
- name: port
containerPort: 55555
{{- if .Values.ingestor.resources }}
resources: {{- toYaml .Values.ingestor.resources | nindent 12 }}
{{- end }}
Expand Down
6 changes: 0 additions & 6 deletions charts/graphscope-store/templates/ingestor/svc-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,5 @@ spec:
- name: port
port: {{ .Values.ingestor.service.port }}
targetPort: port
- name: gaia-rpc
port: {{ .Values.ingestor.service.gaiaRpc }}
targetPort: gaia-rpc
- name: gaia-engine
port: {{ .Values.ingestor.service.gaiaEngine }}
targetPort: gaia-engine
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: ingestor
7 changes: 7 additions & 0 deletions charts/graphscope-store/templates/store/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ spec:
value: {{ $kafkaFullname}}-headless.{{ $releaseNamespace }}
- name: KAFKA_SERVERS
value: {{ include "graphscope-store.kafka.brokerlist" . }}
ports:
- name: port
containerPort: 55555
- name: gaia-rpc
containerPort: 60000
- name: gaia-engine
containerPort: 60001
{{- if .Values.store.resources }}
resources: {{- toYaml .Values.store.resources | nindent 12 }}
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions charts/graphscope-store/templates/store/svc-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ spec:
clusterIP: None
publishNotReadyAddresses: true
ports:
- name: engine
port: {{ .Values.store.service.engine }}
targetPort: engine
- name: port
port: {{ .Values.store.service.port }}
targetPort: port
- name: gaia-rpc
port: {{ .Values.store.service.gaiaRpc }}
targetPort: gaia-rpc
Expand Down
10 changes: 1 addition & 9 deletions charts/graphscope-store/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ store:
type: ClusterIP
## Service port
##
engine: 55556
port: 55555
gaiaRpc: 60000
gaiaEngine: 60001

Expand Down Expand Up @@ -139,10 +139,6 @@ frontend:
##
port: 55555

gaiaRpc: 60000

gaiaEngine: 60001

## Specify the nodePort value for the LoadBalancer and NodePort service types.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
##
Expand Down Expand Up @@ -213,8 +209,6 @@ ingestor:
service:
type: ClusterIP
port: 55555
gaiaRpc: 60000
gaiaEngine: 60001
annotations: {}

## @param hostAliases pods host aliases
Expand Down Expand Up @@ -277,8 +271,6 @@ coordinator:
service:
type: ClusterIP
port: 55555
gaiaRpc: 60000
gaiaEngine: 60001
annotations: {}

## @param hostAliases pods host aliases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public void garbageCollect(long snapshotId, CompletionCallback<Void> callback) {
this.garbageCollectExecutor.execute(
() -> {
try {
logger.info("Garbage collecting, snapshot [{}]", snapshotId);
logger.debug("Garbage collecting, snapshot [{}]", snapshotId);
garbageCollectInternal(snapshotId);
callback.onCompleted(null);
} catch (Exception e) {
Expand Down