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
2d5c429f
Commit
2d5c429f
authored
Dec 04, 2015
by
gmarek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add resource requests to addons
parent
cd59d1e5
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
54 additions
and
0 deletions
+54
-0
heapster-controller.yaml
...addons/cluster-monitoring/google/heapster-controller.yaml
+4
-0
heapster-controller-combined.yaml
...nitoring/googleinfluxdb/heapster-controller-combined.yaml
+4
-0
heapster-controller.yaml
...dons/cluster-monitoring/influxdb/heapster-controller.yaml
+4
-0
influxdb-grafana-controller.yaml
...ster-monitoring/influxdb/influxdb-grafana-controller.yaml
+8
-0
heapster-controller.yaml
...ns/cluster-monitoring/standalone/heapster-controller.yaml
+4
-0
skydns-rc.yaml.in
cluster/addons/dns/skydns-rc.yaml.in
+16
-0
es-controller.yaml
cluster/addons/fluentd-elasticsearch/es-controller.yaml
+3
-0
kibana-controller.yaml
cluster/addons/fluentd-elasticsearch/kibana-controller.yaml
+3
-0
kube-ui-rc.yaml
cluster/addons/kube-ui/kube-ui-rc.yaml
+4
-0
registry-rc.yaml
cluster/addons/registry/registry-rc.yaml
+4
-0
No files found.
cluster/addons/cluster-monitoring/google/heapster-controller.yaml
View file @
2d5c429f
...
...
@@ -28,9 +28,13 @@ spec:
-
image
:
gcr.io/google_containers/heapster:v0.18.2
name
:
heapster
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
requests
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
command
:
-
/heapster
-
--source=kubernetes:''
...
...
cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml
View file @
2d5c429f
...
...
@@ -28,9 +28,13 @@ spec:
-
image
:
gcr.io/google_containers/heapster:v0.18.2
name
:
heapster
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
requests
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
command
:
-
/heapster
-
--source=kubernetes:''
...
...
cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml
View file @
2d5c429f
...
...
@@ -28,9 +28,13 @@ spec:
-
image
:
gcr.io/google_containers/heapster:v0.18.2
name
:
heapster
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
requests
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
command
:
-
/heapster
-
--source=kubernetes:''
...
...
cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml
View file @
2d5c429f
...
...
@@ -23,9 +23,13 @@ spec:
-
image
:
gcr.io/google_containers/heapster_influxdb:v0.4
name
:
influxdb
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
200Mi
requests
:
cpu
:
100m
memory
:
200Mi
ports
:
-
containerPort
:
8083
hostPort
:
8083
...
...
@@ -38,9 +42,13 @@ spec:
name
:
grafana
env
:
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
100Mi
requests
:
cpu
:
100m
memory
:
100Mi
env
:
# This variable is required to setup templates in Grafana.
-
name
:
INFLUXDB_SERVICE_URL
...
...
cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml
View file @
2d5c429f
...
...
@@ -28,9 +28,13 @@ spec:
-
image
:
gcr.io/google_containers/heapster:v0.18.2
name
:
heapster
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
requests
:
cpu
:
100m
memory
:
{{
heapster_memory
}}
command
:
-
/heapster
-
--source=kubernetes:''
cluster/addons/dns/skydns-rc.yaml.in
View file @
2d5c429f
...
...
@@ -23,9 +23,13 @@ spec:
- name: etcd
image: gcr.io/google_containers/etcd:2.0.9
resources:
# keep request = limit to keep this container in guaranteed class
limits:
cpu: 100m
memory: 50Mi
requests:
cpu: 100m
memory: 50Mi
command:
- /usr/local/bin/etcd
- -data-dir
...
...
@@ -42,18 +46,26 @@ spec:
- name: kube2sky
image: gcr.io/google_containers/kube2sky:1.12
resources:
# keep request = limit to keep this container in guaranteed class
limits:
cpu: 100m
memory: 50Mi
requests:
cpu: 100m
memory: 50Mi
args:
# command = "/kube2sky"
- -domain={{ pillar['dns_domain'] }}
- name: skydns
image: gcr.io/google_containers/skydns:2015-10-13-8c72f8c
resources:
# keep request = limit to keep this container in guaranteed class
limits:
cpu: 100m
memory: 50Mi
requests:
cpu: 100m
memory: 50Mi
args:
# command = "/skydns"
- -machines=http://127.0.0.1:4001
...
...
@@ -84,9 +96,13 @@ spec:
- name: healthz
image: gcr.io/google_containers/exechealthz:1.0
resources:
# keep request = limit to keep this container in guaranteed class
limits:
cpu: 10m
memory: 20Mi
requests:
cpu: 10m
memory: 20Mi
args:
- -cmd=nslookup kubernetes.default.svc.{{ pillar['dns_domain'] }} 127.0.0.1 >/dev/null
- -port=8080
...
...
cluster/addons/fluentd-elasticsearch/es-controller.yaml
View file @
2d5c429f
...
...
@@ -23,8 +23,11 @@ spec:
-
image
:
gcr.io/google_containers/elasticsearch:1.8
name
:
elasticsearch-logging
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
requests
:
cpu
:
100m
ports
:
-
containerPort
:
9200
name
:
db
...
...
cluster/addons/fluentd-elasticsearch/kibana-controller.yaml
View file @
2d5c429f
...
...
@@ -23,8 +23,11 @@ spec:
-
name
:
kibana-logging
image
:
gcr.io/google_containers/kibana:1.3
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
requests
:
cpu
:
100m
env
:
-
name
:
"
ELASTICSEARCH_URL"
value
:
"
http://elasticsearch-logging:9200"
...
...
cluster/addons/kube-ui/kube-ui-rc.yaml
View file @
2d5c429f
...
...
@@ -23,9 +23,13 @@ spec:
-
name
:
kube-ui
image
:
gcr.io/google_containers/kube-ui:v4
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
50Mi
requests
:
cpu
:
100m
memory
:
50Mi
ports
:
-
containerPort
:
8080
livenessProbe
:
...
...
cluster/addons/registry/registry-rc.yaml
View file @
2d5c429f
...
...
@@ -23,9 +23,13 @@ spec:
-
name
:
registry
image
:
registry:2
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
100Mi
requests
:
cpu
:
100m
memory
:
100Mi
env
:
-
name
:
REGISTRY_HTTP_ADDR
value
:
:5000
...
...
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