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