1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/removing-custom-config-from-machinepool.adoc
Frances_McDonald 13ccccbca6 adding new info for HCP
adding suggestions from gdoc for HCP

fixing a warning

fixing peer review comments
2025-08-08 16:57:54 +00:00

33 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * rosa_cluster_admin/rosa-configuring-pid-limits.adoc
:_mod-docs-content-type: PROCEDURE
[id="removing-custom-config-from-machinepool_{context}"]
= Removing custom configuration from a machine pool
You can remove custom configuration on your machine pools by removing the `KubeletConfig` object that contains the configuration details.
.Prerequisites
* You have an existing {product-title} cluster.
* You have installed the ROSA CLI (rosa).
* You have logged in to your Red Hat account by using the ROSA CLI.
.Procedure
* Edit the machine pool and set the `--kubeletconfigs` parameter so that the `KubeletConfig` object you want to remove is omitted.
+
To remove all `KubeletConfig` objects from the machine pool, set an empty value for the `--kubeletconfigs` parameter, for example:
+
[source,terminal]
----
$ rosa edit machinepool -c <cluster_name> --kubelet-configs="" <machinepool_name>
----
.Verification steps
* Confirm that the `KubeletConfig` object you removed is not visible in the machine pool description:
+
[source,terminal]
----
$ rosa describe machinepool --cluster <cluster_name> --machinepool=<machinepool_name>
----