postgres 13, forced
gitea with limits adapted descheduler, still
This commit is contained in:
@@ -16,7 +16,7 @@ spec:
|
|||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
containers:
|
containers:
|
||||||
- name: descheduler
|
- name: descheduler
|
||||||
image: k8s.gcr.io/descheduler/descheduler:v0.21.0
|
image: k8s.gcr.io/descheduler/descheduler:v0.22.0
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /policy-dir
|
- mountPath: /policy-dir
|
||||||
name: policy-volume
|
name: policy-volume
|
||||||
|
|||||||
@@ -12,18 +12,26 @@ data:
|
|||||||
enabled: true
|
enabled: true
|
||||||
"RemovePodsViolatingInterPodAntiAffinity":
|
"RemovePodsViolatingInterPodAntiAffinity":
|
||||||
enabled: true
|
enabled: true
|
||||||
|
"HighNodeUtilization":
|
||||||
|
enabled: true
|
||||||
|
params:
|
||||||
|
nodeResourceUtilizationThresholds:
|
||||||
|
thresholds:
|
||||||
|
"cpu" : 20
|
||||||
|
"memory": 20
|
||||||
|
"pods": 8
|
||||||
"LowNodeUtilization":
|
"LowNodeUtilization":
|
||||||
enabled: true
|
enabled: true
|
||||||
params:
|
params:
|
||||||
nodeResourceUtilizationThresholds:
|
nodeResourceUtilizationThresholds:
|
||||||
thresholds:
|
thresholds:
|
||||||
"cpu": 50
|
"cpu": 50
|
||||||
"memory": 50
|
|
||||||
"pods": 12
|
|
||||||
targetThresholds:
|
|
||||||
"cpu": 60
|
|
||||||
"memory": 70
|
"memory": 70
|
||||||
"pods": 30
|
"pods": 10
|
||||||
|
targetThresholds:
|
||||||
|
"cpu": 70
|
||||||
|
"memory": 70
|
||||||
|
"pods": 20
|
||||||
nodeFit: true
|
nodeFit: true
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -62,11 +62,11 @@ spec:
|
|||||||
port: http
|
port: http
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "200Mi"
|
||||||
cpu: "250m"
|
cpu: "150m"
|
||||||
limits:
|
limits:
|
||||||
memory: "1000Mi"
|
memory: "312Mi"
|
||||||
cpu: "1500m"
|
cpu: "500m"
|
||||||
volumes:
|
volumes:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
value: "postgresql://postgres:pg2020@localhost:5432/postgres?sslmode=disable"
|
value: "postgresql://postgres:pg2020@localhost:5432/postgres?sslmode=disable"
|
||||||
#value: "port=5432 host=127.0.0.1"
|
#value: "port=5432 host=127.0.0.1"
|
||||||
- name: postgres
|
- name: postgres
|
||||||
image: postgres
|
image: postgres:13
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
Reference in New Issue
Block a user