Use the following command to deregister and uninstall the OpsRamp Gateway.

sudo opsramp-collector-start uninstall

Supported Flags for Uninstallation

ShortLongData typeDescriptionMandatory
-e--environmentstringenvironment to uninstall opsramp gateway (default "k8s")No
-n--namespacestringk8s/k3s namespace (default "default")No
-h--helphelp for uninstall