mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
36 lines
744 B
Plaintext
36 lines
744 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * networking/enable-cluster-wide-proxy.adoc
|
|
|
|
:_content-type: PROCEDURE
|
|
[id="nw-proxy-remove_{context}"]
|
|
= Removing the cluster-wide proxy
|
|
|
|
The `cluster` Proxy object cannot be deleted. To remove the proxy from a cluster, remove all `spec` fields from the Proxy object.
|
|
|
|
.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. |