Skip to content

Commit

Permalink
modify the resource allocate
Browse files Browse the repository at this point in the history
  • Loading branch information
WakeupTsai committed Aug 8, 2018
1 parent 8e41334 commit 1b3ffec
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions deploy/helm/config/development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
glusterfs: false
apiserverImageTag: v0.1.9
webappImageTag: v0.1.0
portalCPU: 20m
serverCPU: 10m
portalCPU: 50m
serverCPU: 100m
service:
ports:
apiserverNodePort: 32326
Expand All @@ -18,42 +18,42 @@ apps:
network-controller:
controller:
imageTag: v0.4.0
tcpCPU: 20m
unixCPU: 10m
tcpCPU: 50m
unixCPU: 50m
# vortex/deploy/helm/apps/charts/prometheus
prometheus:
controller:
replicaCount: 1
imageTag: v2.2.1
scrapeInterval: 5s
retention: 1h
cpu: 10m
cpu: 50m
service:
nodePort: true
# vortex/deploy/helm/apps/charts/prometheus/charts/cadvisor
cadvisor:
controller:
imageTag: v0.27.4
housekeeping_interval: 10s
cpu: 20m
cpu: 100m
# vortex/deploy/helm/apps/charts/prometheus/charts/kube-state-metrics
kube-state-metrics:
controller:
imageTag: v1.3.1
cpu: 10m
cpu: 50m
# vortex/deploy/helm/apps/charts/prometheus/charts/node-exporter
node-exporter:
controller:
imageTag: v1.0.1
cpu: 10m
cpu: 50m

# vortex/deploy/helm/services
services:
# vortex/deploy/helm/services/charts/mongodb
mongodb:
controller:
replicaCount: 1
cpu: 10m
cpu: 50m
image:
tag: 4.1.1-xenial
pvc:
Expand Down
18 changes: 9 additions & 9 deletions deploy/helm/config/productaion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
glusterfs: true
apiserverImageTag: v0.1.9
webappImageTag: v0.1.0
portalCPU: 20m
serverCPU: 10m
portalCPU: 200m
serverCPU: 100m
service:
ports:
apiserverNodePort: 32326
Expand All @@ -18,42 +18,42 @@ apps:
network-controller:
controller:
imageTag: v0.4.0
tcpCPU: 20m
unixCPU: 10m
tcpCPU: 100m
unixCPU: 100m
# vortex/deploy/helm/apps/charts/prometheus
prometheus:
controller:
replicaCount: 1
imageTag: v2.2.1
scrapeInterval: 5s
retention: 1h
cpu: 10m
cpu: 100m
service:
nodePort: false
# vortex/deploy/helm/apps/charts/prometheus/charts/cadvisor
cadvisor:
controller:
imageTag: v0.27.4
housekeeping_interval: 10s
cpu: 20m
cpu: 200m
# vortex/deploy/helm/apps/charts/prometheus/charts/kube-state-metrics
kube-state-metrics:
controller:
imageTag: v1.3.1
cpu: 10m
cpu: 100m
# vortex/deploy/helm/apps/charts/prometheus/charts/node-exporter
node-exporter:
controller:
imageTag: v1.0.1
cpu: 10m
cpu: 100m

# vortex/deploy/helm/services
services:
# vortex/deploy/helm/services/charts/mongodb
mongodb:
controller:
replicaCount: 1
cpu: 10m
cpu: 200m
image:
tag: 4.1.1-xenial
pvc:
Expand Down
18 changes: 9 additions & 9 deletions deploy/helm/config/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
glusterfs: false
apiserverImageTag: v0.1.9
webappImageTag: v0.1.0
portalCPU: 20m
serverCPU: 10m
portalCPU: 50m
serverCPU: 100m
service:
ports:
apiserverNodePort: 32326
Expand All @@ -18,42 +18,42 @@ apps:
network-controller:
controller:
imageTag: v0.4.0
tcpCPU: 20m
unixCPU: 10m
tcpCPU: 50m
unixCPU: 50m
# vortex/deploy/helm/apps/charts/prometheus
prometheus:
controller:
replicaCount: 1
imageTag: v2.2.1
scrapeInterval: 5s
retention: 1h
cpu: 10m
cpu: 50m
service:
nodePort: true
# vortex/deploy/helm/apps/charts/prometheus/charts/cadvisor
cadvisor:
controller:
imageTag: v0.27.4
housekeeping_interval: 10s
cpu: 20m
cpu: 100m
# vortex/deploy/helm/apps/charts/prometheus/charts/kube-state-metrics
kube-state-metrics:
controller:
imageTag: v1.3.1
cpu: 10m
cpu: 20m
# vortex/deploy/helm/apps/charts/prometheus/charts/node-exporter
node-exporter:
controller:
imageTag: v1.0.1
cpu: 10m
cpu: 20m

# vortex/deploy/helm/services
services:
# vortex/deploy/helm/services/charts/mongodb
mongodb:
controller:
replicaCount: 1
cpu: 10m
cpu: 50m
image:
tag: 4.1.1-xenial
pvc:
Expand Down

0 comments on commit 1b3ffec

Please sign in to comment.