This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.16.3. 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
-
OpenShift Container Platform
oc
CLI tool installed
Procedure
Use the
oc edit
command to modify the proxy:oc edit proxy/cluster
$ oc edit proxy/cluster
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Remove all
spec
fields from the Proxy object. For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Save the file to apply the changes.