diff --git a/helm/values.yaml b/helm/values.yaml index f7ec49c..3953be8 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -107,10 +107,11 @@ public_env_variables: CGW_KAFKA_PORT: "9092" CGW_REDIS_HOST: "redis" CGW_REDIS_PORT: "6379" - CFG_LOG_LEVEL: "Info" # or Debug + CGW_LOG_LEVEL: "info" # or debug CGW_KAFKA_CONSUME_TOPIC: "CnC" CGW_KAFKA_PRODUCE_TOPIC: "CnC_Res" - DEFAULT_WSS_THREAD_NUM: "4" + # set to (#cpus * 2) - 2 + DEFAULT_WSS_THREAD_NUM: "6" secret_env_variables: CGW_DB_PASSWORD: "123" diff --git a/utils/toolbox/README.md b/utils/toolbox/README.md new file mode 100644 index 0000000..b54dceb --- /dev/null +++ b/utils/toolbox/README.md @@ -0,0 +1,26 @@ +# CGW Toolbox + +## About + +Toolbox can be used to run the various utilities in the _openlan-cgw/utils/_ directory within the +confines of the cluster (and with full access to the various services.) +It has utilities to access redis, kafka and postgres. + +## Usage + +```bash +# To run a temporary toolbox (disappears when you exit the session): +kubectl -n NAMESPACE run -it cgwtools --rm --image tip-tip-wlan-cloud-ucentral.jfrog.io/cgw-toolbox:latest --command -- /bin/bash + +# Keep it around: +kubectl -n NAMESPACE run -it cgwtools --image tip-tip-wlan-cloud-ucentral.jfrog.io/cgw-toolbox:latest --command -- /bin/bash +# You can then attach to it with this command at any time +kubectl -n NAMESPACE attach cgwtools -c cgwtools -it + +# Then delete it when you're done +kubectl -n NAMESPACE delete pod cgwtools +``` + +Once inside you can run various commands: + +TODO show some available commands