# etcd member 제외 방법

<table border="1" id="bkmrk-perplexity%EC%97%90%EC%84%9C-%EC%83%9D%EC%84%B1%ED%95%9C-ai%EC%9D%B4" style="border-collapse: collapse; width: 100%; height: 59.5938px;"><colgroup><col style="width: 99.8785%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">[![unnamed.jpg](http://wiki.igoni.kr/uploads/images/gallery/2026-03/scaled-1680-/jYGunnamed.jpg)](http://wiki.igoni.kr/uploads/images/gallery/2026-03/jYGunnamed.jpg)</td></tr><tr style="height: 29.7969px;"><td class="align-right" style="height: 29.7969px;">Gemini3 에서 생성한 AI이미지</td></tr></tbody></table>

kuebernetes DB격인 etcd의 member리스트를 제외하는 절차를 기술한다.  
다중 마스터(3대로 구현)되어 있을때 특정 노드를 제외하는 방법이다.

1. etcd memver list 확인  
    ```bash
    $> cd /usr/local/bin
    $> ./etcdctl.sh -w table endpoint status --cluter=true
    +----------------------+------+---------+----------+-----------+------------+------------+------------+--------------------+--------|
    |       ENDPOINT       |  ID  | VERSION |  DB SIZE | IS LEADER | IS LEARNER | RAFT TERM  | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
    +----------------------+------+---------+----------+-----------+------------+------------+------------+--------------------+--------|
    | https://1.2.3.4:2379 | abcd | 3.4.13  |    11 MB | true      | false      | 16         |    2607488 |            2607488 |        |
    | https://5.6.7.8:2379 | efgh | 3.4.13  |    11 MB | false     | false      | 16         |    2607488 |            2607488 |        |
    | https://9.8.7.6:2379 | ijkl | 3.4.13  |    11 MB | false     | false      | 16         |    2607488 |            2607488 |        |
    +----------------------+------+---------+----------+-----------+------------+------------+------------+--------------------+--------|
    ```
2. 제외할 인스턴스 ID입력  
    ```bash
    $> ./etcdctl.sh  member remove efgh
    Memeber efgh removed from cluster 1234
    ```
3. 제외상태 확인  
    ```
    $> cd /usr/local/bin
    $> ./etcdctl.sh -w table endpoint status --cluter=true
    +----------------------+------+---------+----------+-----------+------------+------------+------------+--------------------+--------|
    |       ENDPOINT       |  ID  | VERSION |  DB SIZE | IS LEADER | IS LEARNER | RAFT TERM  | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
    +----------------------+------+---------+----------+-----------+------------+------------+------------+--------------------+--------|
    | https://1.2.3.4:2379 | abcd | 3.4.13  |    11 MB | true      | false      | 16         |    2607488 |            2607488 |        |
    | https://9.8.7.6:2379 | ijkl | 3.4.13  |    11 MB | false     | false      | 16         |    2607488 |            2607488 |        |
    +----------------------+------+---------+----------+-----------+------------+------------+------------+--------------------+--------|
    ```