---
# System prepended metadata

title: 使 EKS 上的某 pod 退役
tags: [eks, k8s, aws]

---

# 使 EKS 上的某 pod 退役

[TOC]

###### tags: `aws` `eks` `k8s`

---

## 使用 Kubernetes Dashboard

Refer to another note.

```shell
% kubectl proxy
```

Open http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login

```shell
% kubectl -n kubernetes-dashboard create token admin-user
```

Enter token created from previous statement.

## 選擇 namespace

![](https://i.imgur.com/1Wjx0Iv.png)

## 刪除 deployment

![](https://i.imgur.com/encMyjw.png)

## 刪除 service

![](https://i.imgur.com/oy2FIpL.png)

## 刪除 ingress

![](https://i.imgur.com/VRgBClo.png)

## 刪除 config map

![](https://i.imgur.com/MID3UBF.png)
