Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
d3dab8ef
Commit
d3dab8ef
authored
8 years ago
by
Fabian Reinartz
Browse files
Options
Downloads
Patches
Plain Diff
Split and adjust kube-state-metrics manifests
parent
9e9e0e3c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/exporters/kube-state-metrics-depl.yaml
+2
-22
2 additions, 22 deletions
manifests/exporters/kube-state-metrics-depl.yaml
manifests/exporters/kube-state-metrics-svc.yaml
+17
-0
17 additions, 0 deletions
manifests/exporters/kube-state-metrics-svc.yaml
with
19 additions
and
22 deletions
manifests/exporters/kube-state-metrics-
bundle
.yaml
→
manifests/exporters/kube-state-metrics-
depl
.yaml
+
2
−
22
View file @
d3dab8ef
apiVersion
:
v1
kind
:
Service
metadata
:
annotations
:
prometheus.io/scrape
:
'
true'
labels
:
app
:
kube-state-metrics
name
:
kube-state-metrics
name
:
kube-state-metrics
spec
:
clusterIP
:
None
ports
:
-
name
:
scrape
port
:
8080
protocol
:
TCP
selector
:
app
:
kube-state-metrics
type
:
ClusterIP
---
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
...
...
@@ -27,14 +8,13 @@ spec:
metadata
:
labels
:
app
:
kube-state-metrics
annotations
:
prometheus.io/scrape
:
'
true'
spec
:
containers
:
-
name
:
kube-state-metrics
image
:
gcr.io/google_containers/kube-state-metrics:v0.3.0
ports
:
-
containerPort
:
8080
-
name
:
metrics
containerPort
:
8080
resources
:
requests
:
memory
:
30Mi
...
...
This diff is collapsed.
Click to expand it.
manifests/exporters/kube-state-metrics-svc.yaml
0 → 100644
+
17
−
0
View file @
d3dab8ef
apiVersion
:
v1
kind
:
Service
metadata
:
annotations
:
prometheus.io/scrape
:
'
true'
labels
:
app
:
kube-state-metrics
name
:
kube-state-metrics
spec
:
ports
:
-
name
:
metrics
port
:
8080
targetPort
:
metrics
protocol
:
TCP
selector
:
app
:
kube-state-metrics
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment