40 lines
1.6 KiB
Markdown
40 lines
1.6 KiB
Markdown
# Configure-UIS_688987644
|
||
## Configure Optic Switcher with single sign on (Azure IDP solution)
|
||
|
||
Refer to: [Configure Optic Switcher with single sign on (Azure IDP solution)](https://rndwiki.houston.softwaregrp.net/confluence/pages/viewpage.action?pageId=1290634151)
|
||
|
||
## How to enable Feature Toggle for UIS Data clean up on time series bar chart
|
||
|
||
1) Enable Feature Toggle in bvd helm configure map, on the Kubernetes master machine:
|
||
|
||
```
|
||
kubectl -n <namespace> edit configmap bvd-config
|
||
```
|
||
|
||
Search **featureToggles,** and add **"ENABLE\_DATA\_CLEAN\_UP": true** inside {}. The result should be like below, if previous value is empty:
|
||
|
||
featureToggles: {"ENABLE\_DATA\_CLEAN\_UP": true}
|
||
|
||

|
||
|
||
## How to enable Feature Toggle for UIS Caching
|
||
|
||
The feature toggle " **QueryCaching** " controls whether caching is enabled or disabled at the system level. By default, it is set to **false** (disabled). If it is set to **false**, all frontend and backend UIS data collector caching-related features will no longer have any effect.
|
||
|
||
- Run the following commands:
|
||
**Configure feature toggle**
|
||
`# Get namespace of UIS`
|
||
`kubectl get ns`
|
||
|
||
`# Edit config map`
|
||
`kubectl edit configmap bvd-config -n {namespace}`
|
||
- Search " **featureToggles".** Set the value of " **QueryCaching** " to **true** or **false**. If " **QueryCaching** " does not exist, please add it to {}, for example:
|
||
**Set QueryCaching**
|
||
`bvd.featureToggles: ``'{"QueryCaching":true}'`
|
||
- Save the change.
|
||
- Wait for about tens of seconds and refresh the browser page.
|
||
|
||
## Attachments:
|
||
|
||
[image2024-5-9\_16-12-0.png](attachments/688987644/688987643.png) (image/png)
|