Contents
Stopping autoprofiling
If an autoprofile task is running in the selected cluster, Kaspersky Container Security displays the time remaining until the process completes:
- in the Autoprofiles column of the table with the list of clusters
- in the Autoprofiles column of the table with the list of namespaces in the cluster
- in the Autoprofiles column of the table with the list of pods in the selected namespace in the cluster.
You can stop a running autoprofiling process at three levels:
- At the cluster level
- At the namespace level
- At the pod level
At the cluster and namespace level, you can stop creating an autoprofile using a table with a list of clusters or namespaces, or from a graph of objects within a cluster. At the pod level, autoprofiling can only be stopped using the table.
Autoprofiling can be stopped for the entire profiled object (cluster, namespace, or pod) or for specific entities within the profiled object (for example, for selected namespaces or pods).
You can stop a running autoprofiling process if you have the necessary rights.
Stopping an autoprofiling task
To stop running an autoprofiling task using the table with a list of objects:
- Go to Resources → Clusters.
- Follow these steps depending on the level at which you are stopping the autoprofiling:
- If you want to stop autoprofiling at the cluster level, use the check box to select one or more clusters for which the autoprofiling task has been started.
- If you want to stop autoprofiling at the namespace level, follow these steps:
- Click the name of the cluster in the cluster table.
- On the Table tab, in the table that lists the namespaces in the cluster, use the check box to select one or more namespaces for which the autoprofiling task has been started.
- If you want to stop autoprofiling at the pod level, do the following:
- Click the name of the cluster in the cluster table.
- Click the name of the namespace in the table of namespaces in the cluster.
- In the displayed sidebar, select the Pods and containers tab, and in the table of pods within the namespace, select check boxes for one or more pods for which the autoprofiling task has been started.
- Click the Stop autoprofiling button located above the table.
If the list of selected objects includes a cluster, namespace, or subcluster where the autoprofiling process has not been started, the Stop autoprofiling button becomes inactive.
- Click the Stop button to confirm stopping the autoprofiling process.
To stop an autoprofiling task from a graph:
- Go to Resources → Clusters.
- Do the following on the Graph view tab, depending on the level at which you are creating an autoprofile:
- If you want to stop an autoprofiling task at the cluster level, left-click on the cluster icon (
) on a namespace graph.
- If you want to stop an autoprofiling task at the namespace level, do the following:
- Double-click to expand the group of namespaces within the cluster on the graph.
- In the namespace graph, left-click on the icon of the namespace you are interested in (
).
- If you want to stop an autoprofiling task at the cluster level, left-click on the cluster icon (
- In the menu that opens, select Stop autoprofiling.
- Click the Stop button to confirm stopping the autoprofiling process.
Stopping autoprofiling for individual objects
To stop autoprofiling for individual objects in an autoprofiling task:
- Start an autoprofiling task.
- Do one of the following:
- If a cluster autoprofiling task is running, do the following:
- In the table with the list of clusters, click the name of the cluster for which an autoprofile is being created.
- In the window that opens, do one of the following:
- Select one or more namespaces for which you want to stop auto-profiling.
- Click the namespace name and in the window that opens, select one or more pods for which you want to stop autoprofiling.
- If a namespace autoprofiling task is running, do the following:
- In the table with the list of namespaces in the cluster, click the name of the namespace for which an autoprofile is being created.
- In the window that opens, select one or more pods for which you want to stop autoprofiling.
- If a cluster autoprofiling task is running, do the following:
- Click the Stop autoprofiling button located above the table with the list of objects.
- Click the Stop button to confirm stopping the autoprofiling process.
Kaspersky Container Security stops the autoprofiling process for the selected objects. The solution will continue running the autoprofiling task for the rest of the objects in the cluster or namespace.
When stopping autoprofiling for individual objects, bear in mind that stopping the task at the level of a larger object will completely stop the task. For example, an autoprofiling task is completely stopped in the following cases:
- If a task for autoprofiling namespaces or pods is started and you stop autoprofiling at the level of the cluster that includes the selected namespaces or pods.
- If a task for autoprofiling pods is started and you stop autoprofiling at the level of the namespace that contains the selected pods.