Stay organized with collections
Save and categorize content based on your preferences.
Delete your stateless workloads using standard Kubernetes deletion
methodologies.
Before you begin
To run commands against a
Kubernetes cluster,
ensure you have the following resources:
Locate the Kubernetes cluster name, or ask your Platform Administrator what
the cluster name is.
Sign in and generate the
kubeconfig file for the Kubernetes cluster if you don't have one.
Use the kubeconfig path of the Kubernetes cluster to replace
KUBERNETES_CLUSTER_KUBECONFIG in these instructions.
To get the required permissions to delete stateless workloads, ask your
Organization IAM Admin to grant you the Namespace Admin role (namespace-admin)
in your project namespace.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This guide explains how to delete stateless workloads in a Kubernetes cluster using standard deletion methods."],["You will need the Kubernetes cluster name, kubeconfig file, and Namespace Admin role permissions to proceed."],["Use the `kubectl delete deployment` command, specifying the kubeconfig file, namespace, and deployment name to delete a specific deployment."],["Ensure that you replace placeholder values like `\u003cvar translate=\"no\"\u003eKUBERNETES_CLUSTER_KUBECONFIG\u003c/var\u003e`, `\u003cvar translate=\"no\"\u003eNAMESPACE\u003c/var\u003e`, and `\u003cvar translate=\"no\"\u003eDEPLOYMENT_NAME\u003c/var\u003e` with your specific details."]]],[]]