Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ include::deploy:partial$kubernetes/guides/external-access-steps.adoc[]

include::deploy:partial$kubernetes/default-components.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/uninstall.adoc[leveloffset=+1]

== Delete the cluster

To delete your Kubernetes cluster:

[,bash]
----
az aks delete --name <cluster-name> --resource-group redpandaResourceGroup
----

include::deploy:partial$kubernetes/guides/troubleshoot.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/next-steps.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,17 @@ include::deploy:partial$kubernetes/guides/external-access-steps.adoc[]

include::deploy:partial$kubernetes/default-components.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/uninstall.adoc[leveloffset=+1]

== Delete the cluster

To delete your Kubernetes cluster:

[,bash]
----
eksctl delete cluster --name <cluster-name>
----

include::deploy:partial$kubernetes/guides/troubleshoot.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/next-steps.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ include::deploy:partial$kubernetes/guides/external-access-steps.adoc[]

include::deploy:partial$kubernetes/default-components.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/uninstall.adoc[leveloffset=+1]

== Delete the cluster

To delete your Kubernetes cluster:

[,bash]
----
gcloud container clusters delete <cluster-name> \
--region=<region>
----

include::deploy:partial$kubernetes/guides/troubleshoot.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/next-steps.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,8 @@ helm list --namespace <namespace>

include::deploy:partial$kubernetes/default-components.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/uninstall.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/troubleshoot.adoc[leveloffset=+1]

== Next steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,35 @@ rpk cluster info

include::deploy:partial$kubernetes/default-components.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/uninstall.adoc[leveloffset=+1]

== Delete the cluster

To delete your Kubernetes cluster:

[tabs]
======
kind::
+
--

[,bash]
----
kind delete cluster
----

--
minikube::
+
--
[,bash]
----
minikube delete
----
--
======


include::deploy:partial$kubernetes/guides/troubleshoot.adoc[leveloffset=+1]

include::deploy:partial$kubernetes/guides/next-steps.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
* https://killercoda.com/redpanda/scenario/redpanda-k8s[Getting started with Redpanda in Kubernetes (blog)^]
* xref:manage:kubernetes/networking/k-networking-and-connectivity.adoc[Networking and Connectivity in Kubernetes]
* xref:manage:kubernetes/security/kubernetes-tls.adoc[Configure TLS for Redpanda in Kubernetes]
* xref:manage:kubernetes/security/authentication/k-authentication.adoc[Configure SASL for Redpanda in Kubernetes]
Expand Down
32 changes: 32 additions & 0 deletions modules/deploy/partials/kubernetes/guides/uninstall.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
= Uninstall Redpanda

When you've finished testing Redpanda, you can uninstall it from your cluster and delete any Kubernetes resources that the Helm chart created.

[tabs]
======
Helm + Operator::
+
--
[,bash]
----
kubectl delete -f redpanda-cluster.yaml --namespace <namespace>
helm uninstall redpanda-controller --namespace <namespace>
kubectl delete pod --all --namespace <namespace>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we need to delete Pods. Did you saw Pods left behind?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The configurator Pods get left behind

kubectl delete pvc --all --namespace <namespace>
kubectl delete secret --all --namespace <namespace>
----
--

Helm::
+
--
[,bash]
----
helm uninstall redpanda --namespace <namespace>
kubectl delete pod --all --namespace <namespace>
kubectl delete pvc --all --namespace <namespace>
kubectl delete secret --all --namespace <namespace>
----
--
======