After running the CircleCI Server for a while, the size of the Support bundle will gradually increase. This is because Replicated Operator continually accumulates application logs and those logs are stored in the following path in the support bundle.
- CircleCI Server
- Admin Permissions
The total size of logs managed by the Replicated Operator can be limited, by default, it's 500MB. So, to reduce the size of the Support bundle, you can follow the steps below.
Below is an example
/etc/default/replicated-operator configuration file with Operator set to reduce total log size to 10MB.
APP_LOG_SIZE environment variable into the replicated-operator option.
$ vim /etc/default/replicated-operator
REPLICATED_OPERATOR_OPTS="-e TAGS=local -e LOG_LEVEL=info -e NODENAME=a.dev.instance -e PUBLIC_ADDRESS=188.8.131.52"
REPLICATED_OPERATOR_OPTS="-e APP_LOG_SIZE=10MB -e TAGS=local -e LOG_LEVEL=info -e NODENAME=a.dev.instance -e PUBLIC_ADDRESS=184.108.40.206"
$ sudo service replicated-operator restart
Article is closed for comments.