k8s charts: update default resource usage in values.yaml
add liveness probe for backend pod
This commit is contained in:
parent
d28ebcc7b6
commit
57e5b9fceb
@ -71,6 +71,16 @@ spec:
|
|||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: 8000
|
port: 8000
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 30
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 8000
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 30
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
@ -27,11 +27,11 @@ api_password_secret: "c9085f33ecce4347aa1d69339e16c499"
|
|||||||
|
|
||||||
api_num_replicas: 1
|
api_num_replicas: 1
|
||||||
|
|
||||||
api_requests_cpu: "25m"
|
api_requests_cpu: "10m"
|
||||||
api_limits_cpu: "100m"
|
api_limits_cpu: "128m"
|
||||||
|
|
||||||
api_requests_memory: "100M"
|
api_requests_memory: "100Mi"
|
||||||
api_limits_memory: "256M"
|
api_limits_memory: "192Mi"
|
||||||
|
|
||||||
|
|
||||||
# Nginx Image
|
# Nginx Image
|
||||||
@ -39,8 +39,11 @@ api_limits_memory: "256M"
|
|||||||
nginx_image: "nginx"
|
nginx_image: "nginx"
|
||||||
nginx_pull_policy: "IfNotPresent"
|
nginx_pull_policy: "IfNotPresent"
|
||||||
|
|
||||||
nginx_limit_cpu: "100m"
|
nginx_requests_cpu: "3m"
|
||||||
nginx_requests_cpu: "25m"
|
nginx_limits_cpu: "10m"
|
||||||
|
|
||||||
|
nginx_requests_memory: "4Mi"
|
||||||
|
nginx_limits_memory: "12Mi"
|
||||||
|
|
||||||
|
|
||||||
# MongoDB Image
|
# MongoDB Image
|
||||||
@ -52,8 +55,12 @@ mongo_host: "local-mongo"
|
|||||||
mongo_image: "mongo"
|
mongo_image: "mongo"
|
||||||
mongo_pull_policy: "IfNotPresent"
|
mongo_pull_policy: "IfNotPresent"
|
||||||
|
|
||||||
mongo_limit_cpu: "100m"
|
mongo_requests_cpu: "12m"
|
||||||
mongo_requests_cpu: "25m"
|
mongo_limits_cpu: "128m"
|
||||||
|
|
||||||
|
mongo_requests_memory: "96Mi"
|
||||||
|
mongo_limits_memory: "512Mi"
|
||||||
|
|
||||||
|
|
||||||
mongo_auth:
|
mongo_auth:
|
||||||
username: root
|
username: root
|
||||||
@ -69,6 +76,12 @@ redis_pull_policy: "IfNotPresent"
|
|||||||
|
|
||||||
redis_url: "redis://local-redis.default:6379/1"
|
redis_url: "redis://local-redis.default:6379/1"
|
||||||
|
|
||||||
|
redis_requests_cpu: "3m"
|
||||||
|
redis_limits_cpu: "48m"
|
||||||
|
|
||||||
|
redis_requests_memory: "10Mi"
|
||||||
|
redis_limits_memory: "64Mi"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Crawler Image
|
# Crawler Image
|
||||||
@ -80,10 +93,19 @@ crawler_pull_policy: "IfNotPresent"
|
|||||||
crawler_namespace: "crawlers"
|
crawler_namespace: "crawlers"
|
||||||
|
|
||||||
# num retries
|
# num retries
|
||||||
crawl_retries: 1
|
crawl_retries: 3
|
||||||
|
|
||||||
# browsertrix-crawler args:
|
# browsertrix-crawler args:
|
||||||
crawler_args: "--timeout 90 --logging stats,behaviors,debug --generateWACZ --screencastPort 9037"
|
crawler_args: "--timeout 90 --logging stats,behaviors,debug --generateWACZ --screencastPort 9037 --text --workers 2"
|
||||||
|
|
||||||
|
crawler_requests_cpu: "800m"
|
||||||
|
crawler_limits_cpu: "1200m"
|
||||||
|
|
||||||
|
crawler_requests_memory: "512Mi"
|
||||||
|
crawler_limits_memory: "768Mi"
|
||||||
|
|
||||||
|
# debug
|
||||||
|
no_delete_jobs: 1
|
||||||
|
|
||||||
|
|
||||||
# Local Minio Pod (optional)
|
# Local Minio Pod (optional)
|
||||||
@ -148,10 +170,16 @@ signer:
|
|||||||
# image_pull_policy: "IfNotPresent"
|
# image_pull_policy: "IfNotPresent"
|
||||||
# auth_token: <set to custom value>
|
# auth_token: <set to custom value>
|
||||||
|
|
||||||
|
signer_requests_cpu: "3m"
|
||||||
|
signer_limits_cpu: "32m"
|
||||||
|
|
||||||
|
signer_requests_memory: "36Mi"
|
||||||
|
signer_limits_memory: "96Mi"
|
||||||
|
|
||||||
|
|
||||||
# Optional: configure load balancing
|
# Optional: configure load balancing
|
||||||
service:
|
service:
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
# annotations:
|
# annotations:
|
||||||
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
|
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
|
||||||
# helm.sh/resource-policy: keep
|
# helm.sh/resource-policy: keep
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user