Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
8a50e7ed
Commit
8a50e7ed
authored
Sep 20, 2018
by
Tim Allclair
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add kube-state-metrics nanny configuration
parent
7b2bc842
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
kube-state-metrics-deployment.yaml
cluster/addons/prometheus/kube-state-metrics-deployment.yaml
+24
-0
No files found.
cluster/addons/prometheus/kube-state-metrics-deployment.yaml
View file @
8a50e7ed
...
@@ -56,8 +56,12 @@ spec:
...
@@ -56,8 +56,12 @@ spec:
valueFrom
:
valueFrom
:
fieldRef
:
fieldRef
:
fieldPath
:
metadata.namespace
fieldPath
:
metadata.namespace
volumeMounts
:
-
name
:
config-volume
mountPath
:
/etc/config
command
:
command
:
-
/pod_nanny
-
/pod_nanny
-
--config-dir=/etc/config
-
--container=kube-state-metrics
-
--container=kube-state-metrics
-
--cpu=100m
-
--cpu=100m
-
--extra-cpu=1m
-
--extra-cpu=1m
...
@@ -65,3 +69,23 @@ spec:
...
@@ -65,3 +69,23 @@ spec:
-
--extra-memory=2Mi
-
--extra-memory=2Mi
-
--threshold=5
-
--threshold=5
-
--deployment=kube-state-metrics
-
--deployment=kube-state-metrics
volumes
:
-
name
:
config-volume
configMap
:
name
:
kube-state-metrics-config
---
# Config map for resource configuration.
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
kube-state-metrics-config
namespace
:
kube-system
labels
:
k8s-app
:
kube-state-metrics
kubernetes.io/cluster-service
:
"
true"
addonmanager.kubernetes.io/mode
:
Reconcile
data
:
NannyConfiguration
:
|-
apiVersion: nannyconfig/v1alpha1
kind: NannyConfiguration
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