Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system-charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
system-charts
Commits
3cd401ed
Commit
3cd401ed
authored
Feb 19, 2019
by
Frank Mai
Committed by
orangedeng
Feb 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a Service as a creatation history for Prometheus Operator when uninstalling
parent
7085404a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
deployment.yaml
charts/rancher-monitoring/v0.0.2/templates/deployment.yaml
+18
-1
No files found.
charts/rancher-monitoring/v0.0.2/templates/deployment.yaml
View file @
3cd401ed
{{
- if .Values.enabled
}}
{{
- $kubeletSvcName
:
= "expose-kubelets-metrics" -
}}
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
{{
$kubeletSvcName
}}
labels
:
k8s-app
:
kubelet
{{
.Values.apiGroup
}}:
"
true"
spec
:
type
:
ClusterIP
clusterIP
:
None
ports
:
-
name
:
https-metrics
port
:
10250
targetPort
:
10250
---
apiVersion
:
{{
template "deployment_api_version" .
}}
kind
:
Deployment
metadata
:
...
...
@@ -26,7 +43,7 @@ spec:
-
name
:
prometheus-operator
image
:
{{
template "system_default_registry" .
}}{{
.Values.image.repository
}}
:{{ .Values.image.tag }}
args
:
-
--kubelet-service={{ .Release.Namespace }}/
expose-kubelets-metrics
-
--kubelet-service={{ .Release.Namespace }}/
{{ $kubeletSvcName }}
-
--log-format={{ .Values.logFormat }}
-
--log-level={{ .Values.logLevel }}
-
--prometheus-config-reloader={{ template "system_default_registry" . }}{{ .Values.image.prometheusConfigReloader.repository }}:{{ .Values.image.prometheusConfigReloader.tag }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment