Skip to content
Snippets Groups Projects
Commit 1b5d9536 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Recover default settings and specs

parent 80078b21
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!282Resolve "(CTTC) Auto-start telemetry collection when a device endpoint is activated"
...@@ -36,7 +36,7 @@ spec: ...@@ -36,7 +36,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: CRDB_DATABASE - name: CRDB_DATABASE
value: "tfs_analytics" value: "tfs_analytics"
- name: METRICS_PORT - name: METRICS_PORT
...@@ -54,7 +54,7 @@ spec: ...@@ -54,7 +54,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30080"] command: ["/bin/grpc_health_probe", "-addr=:30080"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
...@@ -67,7 +67,7 @@ spec: ...@@ -67,7 +67,7 @@ spec:
- containerPort: 9193 - containerPort: 9193
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: METRICS_PORT - name: METRICS_PORT
value: "9193" value: "9193"
envFrom: envFrom:
...@@ -81,7 +81,7 @@ spec: ...@@ -81,7 +81,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30090"] command: ["/bin/grpc_health_probe", "-addr=:30090"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -39,7 +39,7 @@ spec: ...@@ -39,7 +39,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
startupProbe: startupProbe:
exec: exec:
command: ["/bin/grpc_health_probe", "-addr=:30200"] command: ["/bin/grpc_health_probe", "-addr=:30200"]
...@@ -53,7 +53,7 @@ spec: ...@@ -53,7 +53,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30200"] command: ["/bin/grpc_health_probe", "-addr=:30200"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -40,7 +40,7 @@ spec: ...@@ -40,7 +40,7 @@ spec:
- name: MB_BACKEND - name: MB_BACKEND
value: "nats" value: "nats"
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: ALLOW_EXPLICIT_ADD_DEVICE_TO_TOPOLOGY - name: ALLOW_EXPLICIT_ADD_DEVICE_TO_TOPOLOGY
value: "FALSE" value: "FALSE"
- name: ALLOW_EXPLICIT_ADD_LINK_TO_TOPOLOGY - name: ALLOW_EXPLICIT_ADD_LINK_TO_TOPOLOGY
...@@ -60,7 +60,7 @@ spec: ...@@ -60,7 +60,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:1010"] command: ["/bin/grpc_health_probe", "-addr=:1010"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -39,7 +39,7 @@ spec: ...@@ -39,7 +39,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
startupProbe: startupProbe:
exec: exec:
command: ["/bin/grpc_health_probe", "-addr=:2020"] command: ["/bin/grpc_health_probe", "-addr=:2020"]
...@@ -53,7 +53,7 @@ spec: ...@@ -53,7 +53,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:2020"] command: ["/bin/grpc_health_probe", "-addr=:2020"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -38,7 +38,7 @@ spec: ...@@ -38,7 +38,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: CRDB_DATABASE - name: CRDB_DATABASE
value: "tfs_kpi_mgmt" value: "tfs_kpi_mgmt"
envFrom: envFrom:
...@@ -52,7 +52,7 @@ spec: ...@@ -52,7 +52,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30010"] command: ["/bin/grpc_health_probe", "-addr=:30010"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -50,7 +50,7 @@ spec: ...@@ -50,7 +50,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30020"] command: ["/bin/grpc_health_probe", "-addr=:30020"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -50,7 +50,7 @@ spec: ...@@ -50,7 +50,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30030"] command: ["/bin/grpc_health_probe", "-addr=:30030"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -47,7 +47,7 @@ spec: ...@@ -47,7 +47,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10020"] command: ["/bin/grpc_health_probe", "-addr=:10020"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:3030"] command: ["/bin/grpc_health_probe", "-addr=:3030"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -36,7 +36,7 @@ spec: ...@@ -36,7 +36,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: CRDB_DATABASE - name: CRDB_DATABASE
value: "tfs_telemetry" value: "tfs_telemetry"
- name: METRICS_PORT - name: METRICS_PORT
...@@ -54,7 +54,7 @@ spec: ...@@ -54,7 +54,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30050"] command: ["/bin/grpc_health_probe", "-addr=:30050"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
...@@ -67,7 +67,7 @@ spec: ...@@ -67,7 +67,7 @@ spec:
- containerPort: 9193 - containerPort: 9193
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: METRICS_PORT - name: METRICS_PORT
value: "9193" value: "9193"
envFrom: envFrom:
...@@ -81,7 +81,7 @@ spec: ...@@ -81,7 +81,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:30060"] command: ["/bin/grpc_health_probe", "-addr=:30060"]
resources: resources:
requests: requests:
cpu: 100m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"
# Set the list of components, separated by spaces, you want to build images for, and deploy. # 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) # Uncomment to activate Monitoring (old)
#export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
# Uncomment to activate Monitoring Framework (new) # 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 # Uncomment to activate QoS Profiles
#export TFS_COMPONENTS="${TFS_COMPONENTS} qos_profile" #export TFS_COMPONENTS="${TFS_COMPONENTS} qos_profile"
...@@ -48,7 +48,7 @@ export TFS_COMPONENTS="${TFS_COMPONENTS} kpi_manager kpi_value_writer kpi_value_ ...@@ -48,7 +48,7 @@ export TFS_COMPONENTS="${TFS_COMPONENTS} kpi_manager kpi_value_writer kpi_value_
#export TFS_COMPONENTS="${TFS_COMPONENTS} ztp" #export TFS_COMPONENTS="${TFS_COMPONENTS} ztp"
# Uncomment to activate Policy Manager # Uncomment to activate Policy Manager
export TFS_COMPONENTS="${TFS_COMPONENTS} policy" #export TFS_COMPONENTS="${TFS_COMPONENTS} policy"
# Uncomment to activate Optical CyberSecurity # Uncomment to activate Optical CyberSecurity
#export TFS_COMPONENTS="${TFS_COMPONENTS} dbscanserving opticalattackmitigator opticalattackdetector opticalattackmanager" #export TFS_COMPONENTS="${TFS_COMPONENTS} dbscanserving opticalattackmitigator opticalattackdetector opticalattackmanager"
...@@ -83,6 +83,9 @@ export TFS_COMPONENTS="${TFS_COMPONENTS} policy" ...@@ -83,6 +83,9 @@ export TFS_COMPONENTS="${TFS_COMPONENTS} policy"
# export TFS_COMPONENTS="${BEFORE} qkd_app service ${AFTER}" # export TFS_COMPONENTS="${BEFORE} qkd_app service ${AFTER}"
#fi #fi
# Uncomment to activate Load Generator
#export TFS_COMPONENTS="${TFS_COMPONENTS} load_generator"
# Set the tag you want to use for your images. # Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev" export TFS_IMAGE_TAG="dev"
...@@ -103,7 +106,7 @@ export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml" ...@@ -103,7 +106,7 @@ export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml"
export TFS_GRAFANA_PASSWORD="admin123+" export TFS_GRAFANA_PASSWORD="admin123+"
# Disable skip-build flag to rebuild the Docker images. # Disable skip-build flag to rebuild the Docker images.
export TFS_SKIP_BUILD="YES" export TFS_SKIP_BUILD=""
# ----- CockroachDB ------------------------------------------------------------ # ----- CockroachDB ------------------------------------------------------------
...@@ -131,7 +134,7 @@ export CRDB_DATABASE="tfs" ...@@ -131,7 +134,7 @@ export CRDB_DATABASE="tfs"
export CRDB_DEPLOY_MODE="single" export CRDB_DEPLOY_MODE="single"
# Disable flag for dropping database, if it exists. # 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. # Disable flag for re-deploying CockroachDB from scratch.
export CRDB_REDEPLOY="" export CRDB_REDEPLOY=""
...@@ -183,7 +186,7 @@ export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis" ...@@ -183,7 +186,7 @@ export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis"
export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups"
# Disable flag for dropping tables if they exist. # 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. # Disable flag for re-deploying QuestDB from scratch.
export QDB_REDEPLOY="" export QDB_REDEPLOY=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment