Skip to content

Commit

Permalink
hubble: Point hubble-ui to hubble-relay service
Browse files Browse the repository at this point in the history
- Configure hubble-ui to connect to hubble-relay:80. Now hubble-relay is
  responsible for retrieving flows from Cilium instances.
- Remove hubble-grpc service.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent committed May 6, 2020
1 parent 062afd9 commit f0cda89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
19 changes: 0 additions & 19 deletions install/kubernetes/cilium/charts/agent/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,6 @@ spec:
selector:
k8s-app: cilium
{{- end }}
{{- if .Values.global.hubble.ui.enabled }}
---
kind: Service
apiVersion: v1
metadata:
name: hubble-grpc
namespace: {{ .Release.Namespace }}
labels:
k8s-app: hubble
spec:
type: ClusterIP
clusterIP: None
selector:
k8s-app: cilium
ports:
- targetPort: 50051
protocol: TCP
port: 50051
{{- end }}
{{- if and .Values.global.hubble.metrics.enabled (.Values.global.hubble.metrics.serviceMonitor.enabled) }}
---
kind: Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ spec:
- name: HUBBLE
value: "true"
- name: HUBBLE_SERVICE
value: "hubble-grpc.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
value: "hubble-relay.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
- name: HUBBLE_PORT
value: "50051"
value: "80"
ports:
- containerPort: 12000
name: http
Expand Down

0 comments on commit f0cda89

Please sign in to comment.