1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nw-proxy-remove.adoc
2026-01-28 21:00:43 +00:00

37 lines
857 B
Plaintext

// Module included in the following assemblies:
//
// * networking/enable-cluster-wide-proxy.adoc
:_mod-docs-content-type: PROCEDURE
[id="nw-proxy-remove_{context}"]
= Removing the cluster-wide proxy
[role="_abstract"]
The `cluster` Proxy object cannot be deleted. To remove the cluster-wide proxy configuration from your {product-title} cluster, you can remove all spec fields from the `Proxy` object by using the `oc edit` command.
.Prerequisites
* Cluster administrator permissions
* {product-title} `oc` CLI tool installed
.Procedure
. Use the `oc edit` command to modify the proxy:
+
[source,terminal]
----
$ oc edit proxy/cluster
----
. Remove all `spec` fields from the Proxy object. For example:
+
[source,yaml]
----
apiVersion: config.openshift.io/v1
kind: Proxy
metadata:
name: cluster
spec: {}
----
. Save the file to apply the changes.