File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 5858 periodSeconds : 30
5959 resources :
6060 requests :
61- memory : " 256Mi " # 預留資源
61+ memory : " 64Mi "
6262 limits :
63- memory : " 512Mi" # 硬上限,超過就殺掉
63+ memory : " 512Mi" # 硬上限,超過就殺掉 # 硬上限,超過就殺掉
6464 volumes :
6565 - name : datasources
6666 configMap :
Original file line number Diff line number Diff line change 2525 containerPort : 8080
2626 resources :
2727 requests :
28- memory : " 256Mi " # 預留資源
28+ memory : " 64Mi "
2929 limits :
30- memory : " 512Mi" # 硬上限,超過就殺掉
30+ memory : " 512Mi" # 硬上限,超過就殺掉 # 硬上限,超過就殺掉
3131 readinessProbe :
3232 tcpSocket :
3333 port : http
Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ spec:
7474 timeoutSeconds : 5
7575 failureThreshold : 3
7676 resources :
77+ requests :
78+ memory : " 64Mi"
7779 limits :
7880 memory : " 512Mi" # 對於開發測試,512MB 綽綽有餘
79- requests :
80- memory : " 256Mi"
8181 volumes :
8282 - name : mysql-config
8383 configMap :
Original file line number Diff line number Diff line change 4040 periodSeconds : 30
4141 resources :
4242 requests :
43- memory : " 64Mi" # 預留資源
43+ memory : " 64Mi"
4444 limits :
45- memory : " 256Mi" # 硬上限,超過就殺掉
45+ memory : " 256Mi" # 硬上限,超過就殺掉 # 硬上限,超過就殺掉
4646 volumeMounts :
4747 - name : alertmanager-config
4848 mountPath : /etc/alertmanager
Original file line number Diff line number Diff line change 4242 periodSeconds : 30
4343 resources :
4444 requests :
45- memory : " 512Mi " # 預留資源
45+ memory : " 64Mi "
4646 limits :
4747 memory : " 1024Mi" # 硬上限,超過就殺掉
4848 volumeMounts :
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ spec:
5151 - name : redis-data
5252 mountPath : /data # 儲存 nodes.conf,使用 emptyDir 即可。
5353 resources :
54+ requests :
55+ memory : " 64Mi"
5456 limits :
5557 memory : " 256Mi" # 開發環境上限
56- requests :
57- memory : " 30Mi" # 最小啟動需求
5858 startupProbe :
5959 tcpSocket :
6060 port : 6379
You can’t perform that action at this time.
0 commit comments