To deactivate continuous discovery in Kubernetes Visibility Agent, add –set continuousDiscovery=false to the Helm install command, or set the value beneath CONTINUOUS_DISCOVERY to false in k8s_informer.yaml. This suits clusters where periodic resource snapshots meet your needs. For multiple clusters with frequent changes, switching off continuous discovery reduces load on the ServiceNow instance.
Decide whether periodic snapshots are enough
The decision starts with how people use cluster resource information. A periodic snapshot can meet an inventory requirement while leaving a gap between a resource change and the next view of that resource. Before changing the agent configuration, ask the teams consuming the information whether that gap is acceptable for their work.
For example, an inventory review may need a representative view at agreed checkpoints. An investigation into a short-lived resource may need information closer to the time of a change. Treat these as different requirements. Do not approve a snapshot-based approach simply because the inventory looks complete during a quiet period.
Write down which clusters are candidates, who relies on their data, and what freshness those consumers expect. Use those expectations as the acceptance criteria for the change. If the requirement is unclear, resolve it before editing deployment configuration. A setting can be easy to change while its operational consequences need more discussion.
If the wider discovery model is unfamiliar, the plain-language guide to ServiceNow Discovery provides context for that discussion. Keep this decision focused on whether continuous discovery is needed for these Kubernetes resources.
Identify the deployment method and change owner
There are two configuration paths: a Helm install command and the k8s_informer.yaml file. Identify which one your deployment uses before preparing the edit. Choosing the path from the actual deployment record helps avoid changing an unused file or documenting a command that does not control the target cluster.
No ServiceNow role is required for the deactivation procedure. Treat access to your Kubernetes deployment configuration separately: arrange for the person responsible for that configuration to carry out the change under your normal access and change process. The absence of a ServiceNow role requirement does not establish who can modify your deployment.
Check the setting against your instance and release before execution. Some releases name this agent Agent Client Collector for Kubernetes – Visibility, while current releases use Kubernetes Visibility Agent. Identify the deployed component by its configuration rather than by name alone. Identify the deployed component and its configuration rather than relying on the product name alone.
- Record the target cluster and the deployment method in the change record.
- Preserve the current command or configuration so the previous state is known.
- Agree who will execute the deployment change and who will assess the resulting inventory.
- Choose an observation period that includes the resource activity relevant to your acceptance criteria.
Deactivate continuous discovery with Helm
For a deployment using a Helm chart, add –set continuousDiscovery=false to the Helm install command. Preserve the spelling and capitalization of continuousDiscovery. The argument belongs with the Helm command used for the agent deployment.
- Locate the Helm install command maintained for the target Kubernetes Visibility Agent deployment.
- Review the command with the deployment owner so its target and existing options are understood.
- Add –set continuousDiscovery=false to that command.
- Carry out the deployment through your established Helm deployment process.
- Retain the executed command and the deployment outcome for the subsequent review.
The setting supplies the deactivation instruction; the rest of the command remains specific to your environment. Avoid constructing a complete install command from memory. Cluster selection, chart details, and existing deployment options should come from the maintained deployment configuration.
The procedure describes two branches, and a given install uses only one of them. Use the Helm branch when the agent is deployed from a chart, and the YAML branch when the deployment reads k8s_informer.yaml. Enter the value as the word false, using the same spelling and lowercase form in both places, so that a search of the configuration later finds the same value that the procedure names.
If the agent is already deployed, have the deployment owner decide how the configuration change enters that installation. An example install argument does not determine the update workflow used by your environment. Review the proposed operation before execution so a configuration change does not become an unintended deployment change.
Deactivate continuous discovery in k8s_informer.yaml
For a deployment using k8s_informer.yaml, locate CONTINUOUS_DISCOVERY and change the value on the line beneath it to false. This path expresses the same deactivation choice through the YAML configuration instead of a Helm command argument.
- Open the maintained k8s_informer.yaml file used for the target deployment.
- Find the CONTINUOUS_DISCOVERY entry and inspect its associated value.
- Set the value beneath CONTINUOUS_DISCOVERY to false while preserving the surrounding YAML structure.
- Review the change to confirm that unrelated configuration has stayed intact.
- Use your established deployment process to put the revised configuration into use.
Note which branch the deployment followed in the change record. If a later reviewer finds the setting in one file but the deployed agent was installed from the other source, the record should make that mismatch easy to see.
Editing a local copy is a preparation step. Include evidence in the change record that the deployment process used the intended revision. Otherwise, a correct edit in a file can be mistaken for a completed operational change.
If other configuration changes are necessary, record them explicitly and consider whether they should be handled separately. Combining unrelated adjustments makes it harder to explain why the observed inventory or instance behavior changed.
Check the result against the reason for switching off
Use two kinds of evidence after deployment: configuration evidence and operational evidence. Configuration evidence shows that the intended false value was included in the deployed change. Operational evidence shows whether periodic snapshots satisfy the agreed information need. Neither a successful deployment nor a familiar-looking inventory answers both questions by itself.
Start with the deployment record. Confirm the target cluster, the configuration revision, and the method used. Then review resource information at the checkpoints agreed with the inventory consumers. Select examples that reflect their work rather than checking a single stable resource and assuming the review is complete.
Deactivating continuous discovery reduces instance load when multiple clusters have frequent changes. Do not turn that behavior into a promised performance figure. For your own assessment, compare observations under reasonably similar conditions and record other changes that could affect the result. A quieter workload can make a comparison misleading.
If the resulting resource view does not meet expectations, use the Discovery troubleshooting guide to structure a broader investigation. First establish what changed and whether the intended configuration reached the intended deployment. Avoid treating every inventory concern as evidence that this setting failed.
For help planning this work, see ServiceNow implementation.
Keep the snapshot decision clear after handover
Record why continuous discovery was deactivated, not just the false value. A later operator needs to understand the freshness requirement that supported the decision. Include the cluster scope, deployment method, acceptance observations, and the person responsible for reviewing that requirement when usage changes.
Set a review trigger around a real change in information needs. A new consumer, a different resource lifecycle, or a new operational workflow may justify reassessing whether periodic snapshots are enough. This is a planning recommendation, not an additional agent setting.
Keep neighboring discovery questions separate during that review. The guide to what ServiceNow Discovery can discover helps frame coverage questions. Coverage and freshness deserve separate acceptance criteria: knowing which resources are in scope does not settle how quickly their changes must become visible.
Before closing the work, ask the receiving operator to locate the maintained configuration and explain the acceptance criteria. That short handover check can expose missing context while the people who made the change are still available to clarify it.
Questions about planning a snapshot-based approach
What should we do if teams disagree about freshness?
Ask each team to describe a decision that depends on the resource information and when that decision happens. Compare those needs cluster by cluster. If one team needs information sooner than another, resolve the competing requirements before selecting the deactivation scope.
How should we choose a first cluster for review?
Prefer a cluster whose deployment configuration and information consumers are understood. Choose representative activity and a manageable review scope. A quiet cluster with no identified consumer may be easy to change but provide little evidence for a wider decision.
What if a new team starts using the inventory later?
Give that team the recorded freshness assumptions and ask whether they fit its workflow. Treat a different requirement as a reason to reopen the discovery decision. Do not assume an earlier approval covers a new use of the same resource information.