# Kubernetes (MicroK8s)

**URL:** https://forum.ficusonline.com/t/topic/459
**Category:** Server
**Created:** [2022 年 9 月 30 日午前 9:31 UTC](https://forum.ficusonline.com/t/topic/459 "2022-09-30T09:31:19Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2022 年 11 月 3 日午後 1:44 UTC](https://forum.ficusonline.com/t/topic/459/17 "2022-11-03T13:44:44Z")

</div>

## インスタンス `.bashrc`

`minicube`の記事 [Kubernetes (minikube) - tk-fuse の #26](https://forum.ficusonline.com/t/topic/453/26) でも記述しましたが、インスタンスのシェル起動時に `kubectl` コマンドへのカスタマイズが反映されるよう.bashrcに以下の項目（標準編集アプリとコマンドエイリアス）を追加します（再ログイン必要）。

`~/.bashrc`

```auto
..........
..........
alias kubectl='microk8s kubectl'
export KUBE_EDITOR=/usr/bin/nano

```

---

_[View the full topic](https://forum.ficusonline.com/t/topic/459)._
