21 lines
454 B
YAML
21 lines
454 B
YAML
#
|
|
# Copyright (c) 2023 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "cadvisor.fullname" . }}
|
|
labels:
|
|
{{- include "cadvisor.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "cadvisor.selectorLabels" . | nindent 4 }}
|