If the workload on the Kaspersky Next XDR Expert components changes, you can add or delete target hosts included in the Kubernetes cluster (cluster nodes). KDT allows you to change the number of the nodes in the existing Kubernetes cluster.
You can add or delete nodes only if Kaspersky Next XDR Expert is deployed on multiple nodes.
To add new nodes to the Kubernetes cluster:
The current version of the configuration file is saved to the specified directory with the specified name.
nodes
section of the exported configuration file, add parameters of one or several new nodes (desc
, type
, host
, kind
, user
, and key
), and then save the configuration file./home/<user_name>/.ssh
directory) by using the ssh-copy-id utility../kdt apply -i <
full_path_to_configuration_file
>
./kdt apply -k <
full_path_to_transport_archive
> --force-bootstrap
New nodes are added to the Kubernetes cluster.
To delete a node from the Kubernetes cluster:
/root/.kube
directory.config.yaml
.kubectl get nodes
kubectl drain <
node_name
> --delete-emptydir-data --ignore-daemonsets
kubectl delete node <
node_name
>
The specified node is deleted.
Page top