Commit 7234a02e authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Ajusta límites de recursos

parent d07acd5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ KSQL_KSQL_SERVICE_ID=ksql-server
KSQL_BOOTSTRAP_SERVERS=kf-1:9092,kf-2:9092,kf-3:9092
KSQL_KSQL_SCHEMA_REGISTRY_URL=http://schema-registry:8081
KSQL_AUTO_OFFSET_RESET=earliest
KSQL_OPTS=-Xmx512m -Xms256m
KSQL_OPTS=-Xmx320m -Xms320m

KSQL_SERVER_HOSTNAME=ksql-server
KSQL_SERVER_PORT=8088
+5 −5
Original line number Diff line number Diff line
@@ -27,10 +27,10 @@ services:
      resources:
        limits:
          cpus: '${KSQL_SERVER_RESOURCES_LIMITS_CPUS:-1}'
          memory: ${KSQL_SERVER_RESOURCES_LIMITS_MEMORY:-1G}
          memory: ${KSQL_SERVER_RESOURCES_LIMITS_MEMORY:-700M}
        reservations:
          cpus: '${KSQL_SERVER_RESOURCES_RESERVATIONS_CPUS:-0.001}'
          memory: ${KSQL_SERVER_RESOURCES_RESERVATIONS_MEMORY:-820M}
          memory: ${KSQL_SERVER_RESOURCES_RESERVATIONS_MEMORY:-512M}

  ksql-ui:
    image: ${KSQL_UI_IMAGE_NAME:-matsumana/tsujun}:${KSQL_UI_IMAGE_TAG:-latest}
@@ -61,11 +61,11 @@ services:
        traefik.http.services.ksql-ui.loadbalancer.server.port: ${KSQL_UI_PORT}
      resources:
        limits:
          cpus: '${KSQL_UI_RESOURCES_LIMITS_CPUS:-0.5}'
          memory: ${KSQL_UI_RESOURCES_LIMITS_MEMORY:-256M}
          cpus: '${KSQL_UI_RESOURCES_LIMITS_CPUS:-1}'
          memory: ${KSQL_UI_RESOURCES_LIMITS_MEMORY:-640M}
        reservations:
          cpus: '${KSQL_UI_RESOURCES_RESERVATIONS_CPUS:-0.001}'
          memory: ${KSQL_UI_RESOURCES_RESERVATIONS_MEMORY:-205M}
          memory: ${KSQL_UI_RESOURCES_RESERVATIONS_MEMORY:-512M}

networks:
  kafka-net: