diff --git a/manifests/analyticsservice.yaml b/manifests/analyticsservice.yaml index 1c1b9f034081682966e2b9e32044adbff90e4126..536bb185286ba5444ad22d17d00706a066172e4c 100644 --- a/manifests/analyticsservice.yaml +++ b/manifests/analyticsservice.yaml @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: CRDB_DATABASE value: "tfs_analytics" - name: METRICS_PORT @@ -54,7 +54,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30080"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m @@ -67,7 +67,7 @@ spec: - containerPort: 9193 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: METRICS_PORT value: "9193" envFrom: @@ -81,7 +81,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30090"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/automationservice.yaml b/manifests/automationservice.yaml index d2113cecf6fe356977e98d0c91bd596fae57264f..f6c97f7fb7635e4b04431d41dbf20ca3edc51475 100644 --- a/manifests/automationservice.yaml +++ b/manifests/automationservice.yaml @@ -39,7 +39,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" startupProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:30200"] @@ -53,7 +53,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30200"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/contextservice.yaml b/manifests/contextservice.yaml index e687687c0b745e8945d0b64e289a5ffe2f6015de..0fc8a1c44f7358a962276ebcf38a165d2db986cd 100644 --- a/manifests/contextservice.yaml +++ b/manifests/contextservice.yaml @@ -40,7 +40,7 @@ spec: - name: MB_BACKEND value: "nats" - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: ALLOW_EXPLICIT_ADD_DEVICE_TO_TOPOLOGY value: "FALSE" - name: ALLOW_EXPLICIT_ADD_LINK_TO_TOPOLOGY @@ -60,7 +60,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml index f12faed115fbf5184e1088bc657b59c5b6c789e2..e49ba23995b07f4e7e956a69f8d5383c8e976e89 100644 --- a/manifests/deviceservice.yaml +++ b/manifests/deviceservice.yaml @@ -39,7 +39,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" startupProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:2020"] @@ -53,7 +53,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/kpi_managerservice.yaml b/manifests/kpi_managerservice.yaml index 69046af895e8331b9a619ac1e1232de03a817634..f8ee8ff821ec1acb689cbe8d0bb8f8f407c971e3 100644 --- a/manifests/kpi_managerservice.yaml +++ b/manifests/kpi_managerservice.yaml @@ -38,7 +38,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: CRDB_DATABASE value: "tfs_kpi_mgmt" envFrom: @@ -52,7 +52,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30010"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/kpi_value_apiservice.yaml b/manifests/kpi_value_apiservice.yaml index def3879b6ffe301ff3ea28b4be3135e13576b078..e4dcb00545ffaa33de39fd29c029780b777ea91f 100644 --- a/manifests/kpi_value_apiservice.yaml +++ b/manifests/kpi_value_apiservice.yaml @@ -50,7 +50,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30020"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/kpi_value_writerservice.yaml b/manifests/kpi_value_writerservice.yaml index c2b3d9507581898ae2cf100e82e9afec06447f99..e21e36f48ba08999f142e8548fed61cd2dfef0cc 100644 --- a/manifests/kpi_value_writerservice.yaml +++ b/manifests/kpi_value_writerservice.yaml @@ -50,7 +50,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30030"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/pathcompservice.yaml b/manifests/pathcompservice.yaml index 690c8232c89e991bf74ed7dc16a2c5aba3105e1a..1f54c569ce861a9ac957a2e276eb0e5f227d514a 100644 --- a/manifests/pathcompservice.yaml +++ b/manifests/pathcompservice.yaml @@ -47,7 +47,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10020"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/serviceservice.yaml b/manifests/serviceservice.yaml index bcd69f140ca8b9d44929f3a3a928ab5b54a8316e..1dd383d615bb167ae6de15ae03c404a50bdee942 100644 --- a/manifests/serviceservice.yaml +++ b/manifests/serviceservice.yaml @@ -45,7 +45,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:3030"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/manifests/telemetryservice.yaml b/manifests/telemetryservice.yaml index 44ee500c21d598851778d130be3f360bbc967d19..86d864157838513dd68f10679d44d11b074c422c 100644 --- a/manifests/telemetryservice.yaml +++ b/manifests/telemetryservice.yaml @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: CRDB_DATABASE value: "tfs_telemetry" - name: METRICS_PORT @@ -54,7 +54,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30050"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m @@ -67,7 +67,7 @@ spec: - containerPort: 9193 env: - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: METRICS_PORT value: "9193" envFrom: @@ -81,7 +81,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:30060"] resources: requests: - cpu: 100m + cpu: 250m memory: 128Mi limits: cpu: 1000m diff --git a/my_deploy.sh b/my_deploy.sh index 6692803f50a70c6128a2e3ee94e60a0ccbda885e..555173cf5ece4833bea8829ae7be593599b3dde2 100755 --- a/my_deploy.sh +++ b/my_deploy.sh @@ -20,13 +20,13 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. -export TFS_COMPONENTS="context device pathcomp service nbi webui" +export TFS_COMPONENTS="context device pathcomp service slice nbi webui" # Uncomment to activate Monitoring (old) #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" # Uncomment to activate Monitoring Framework (new) -export TFS_COMPONENTS="${TFS_COMPONENTS} kpi_manager kpi_value_writer kpi_value_api telemetry analytics automation" +#export TFS_COMPONENTS="${TFS_COMPONENTS} kpi_manager kpi_value_writer kpi_value_api telemetry analytics automation" # Uncomment to activate QoS Profiles #export TFS_COMPONENTS="${TFS_COMPONENTS} qos_profile" @@ -48,7 +48,7 @@ export TFS_COMPONENTS="${TFS_COMPONENTS} kpi_manager kpi_value_writer kpi_value_ #export TFS_COMPONENTS="${TFS_COMPONENTS} ztp" # Uncomment to activate Policy Manager -export TFS_COMPONENTS="${TFS_COMPONENTS} policy" +#export TFS_COMPONENTS="${TFS_COMPONENTS} policy" # Uncomment to activate Optical CyberSecurity #export TFS_COMPONENTS="${TFS_COMPONENTS} dbscanserving opticalattackmitigator opticalattackdetector opticalattackmanager" @@ -83,6 +83,9 @@ export TFS_COMPONENTS="${TFS_COMPONENTS} policy" # export TFS_COMPONENTS="${BEFORE} qkd_app service ${AFTER}" #fi +# Uncomment to activate Load Generator +#export TFS_COMPONENTS="${TFS_COMPONENTS} load_generator" + # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" @@ -103,7 +106,7 @@ export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml" export TFS_GRAFANA_PASSWORD="admin123+" # Disable skip-build flag to rebuild the Docker images. -export TFS_SKIP_BUILD="YES" +export TFS_SKIP_BUILD="" # ----- CockroachDB ------------------------------------------------------------ @@ -131,7 +134,7 @@ export CRDB_DATABASE="tfs" export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. -export CRDB_DROP_DATABASE_IF_EXISTS="YES" +export CRDB_DROP_DATABASE_IF_EXISTS="" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" @@ -183,7 +186,7 @@ export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" # Disable flag for dropping tables if they exist. -export QDB_DROP_TABLES_IF_EXIST="YES" +export QDB_DROP_TABLES_IF_EXIST="" # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY=""