Skip to content

Commit

Permalink
Merge pull request #268 from Telecominfraproject/WIFI-13361
Browse files Browse the repository at this point in the history
Bump up resources for kafka - from default chart resources
  • Loading branch information
carsten989 authored May 30, 2024
2 parents d8674a8 + 7b93a3a commit f4720fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
22 changes: 7 additions & 15 deletions chart/environment-values/values.openwifi-qa.owls-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,18 @@ owgw:
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:ap-south-1:289708231103:certificate/2cc8c764-11fd-411d-bf7d-a93f488f3f6c
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "16002,16003,17002"

#configProperties:
configProperties:
# done by default for owgw now:
#simulatorid: 53494D020202
#storage.type: postgresql
#storage.type.postgresql.host: owgw-pgsql
#storage.type.postgresql.database: owgw
#storage.type.postgresql.username: owgw
#storage.type.postgresql.password: owgw
#openwifi.certificates.allowmismatch: "true"
# on a host with more CPUs you may need to bump this up from default of 64
storage.type.postgresql.maxsessions: 120
# this actually disables websocket logging
logging.websocket = true

resources:
requests:
cpu: 2000m
memory: 3Gi
limits:
cpu: 2000m
memory: 8Gi

#postgresql:
# enabled: true
# fullnameOverride: owgw-pgsql
# postgresqlDatabase: owgw
# postgresqlUsername: owgw
# postgresqlPassword: owgw
memory: 5Gi
21 changes: 14 additions & 7 deletions chart/environment-values/values.openwifi-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -815,13 +815,6 @@ kafka:
enabled: true
commonAnnotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
#resources:
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# cpu: 500m
# memory: 1Gi
readinessProbe:
initialDelaySeconds: 45
livenessProbe:
Expand All @@ -838,6 +831,13 @@ kafka:
extraEnvVars:
- name: ALLOW_PLAINTEXT_LISTENER
value: "yes"
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 750m
memory: 2Gi
listeners:
client:
protocol: PLAINTEXT
Expand All @@ -848,6 +848,13 @@ kafka:
persistence:
size: 20Gi
replicaCount: 2
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 750m
memory: 2Gi

clustersysteminfo:
enabled: true
Expand Down

0 comments on commit f4720fc

Please sign in to comment.