--- title: "The cluster-map module: examples" --- ## Enable the module for administrators ```yaml apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: cluster-map spec: enabled: true version: 1 settings: auth: allowedUserGroups: - admins ``` The web interface opens at `cluster-map.`. ## Collect traffic only while the map is in use ```yaml spec: settings: traffic: mode: OnDemand onDemandIdleMinutes: 15 ``` ## Keep a day of traffic ```yaml spec: settings: traffic: retentionMinutes: 1440 ``` Memory grows with retention; watch `cluster_map_traffic_tracked_tuples` and the `ClusterMapTrackedTuplesHigh` alert. ## A read-only map ```yaml spec: settings: actions: enabled: false ``` No action buttons, and the user's token is no longer passed to the module.