mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-02-14 10:00:08 +00:00
* Update labels * Update kubeshark API url * Update other domains * comments --------- Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
24 lines
621 B
YAML
24 lines
621 B
YAML
---
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
labels:
|
|
{{- include "kubeshark.labels" . | nindent 4 }}
|
|
annotations:
|
|
prometheus.io/scrape: 'true'
|
|
prometheus.io/port: '{{ .Values.tap.metrics.port }}'
|
|
{{- if .Values.tap.annotations }}
|
|
{{- toYaml .Values.tap.annotations | nindent 4 }}
|
|
{{- end }}
|
|
name: kubeshark-worker-metrics
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
selector:
|
|
app.kubeshark.com/app: worker
|
|
{{- include "kubeshark.labels" . | nindent 4 }}
|
|
ports:
|
|
- name: metrics
|
|
protocol: TCP
|
|
port: {{ .Values.tap.metrics.port }}
|
|
targetPort: {{ .Values.tap.metrics.port }}
|