> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/tutorial/kubernetes-on-nipa-cloud-space-with-rancher/kubernetes/kubernetes-kubectl-command-line.md).

# การใช้งาน Kubernetes ผ่าน kubectl (Command Line)

หลังจากเข้ามายังหน้า Cluster ของ Kubernetes Cluster \
บน Rancher UI มี Kubectl Shell ให้ใช้งาน โดยจะขึ้นมาเป็น Terminal ด้านล่าง ให้สามารถเข้าไปพิมพ์ใช้งานได้

<figure><img src="/files/pPIxJJZ6gBdUR69YNUTY" alt=""><figcaption></figcaption></figure>

หรือถ้าหากต้องการใช้งานผ่าน เครื่อง client หรือ laptop จากที่อื่น \
สามารถ copy kubeConfig หรือ download KubeConfig ได้ตามรูปด้านล่าง

<figure><img src="/files/mb1KKYcm6c1rFNcuIKAi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xHbP509gZVvIjXA9Pm6b" alt=""><figcaption></figcaption></figure>

เมื่อได้ KubeConfig มาไว้ที่เครื่อง labtop เรียบร้อยแล้วสามารถใช้งานผ่าน Commandline ได้เลย

```
```
