<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BioErrorLog</author_name>
  <author_url>https://blog.hatena.ne.jp/BioErrorLog/</author_url>
  <blog_title>BioErrorLog Tech Blog</blog_title>
  <blog_url>https://www.bioerrorlog.work/</blog_url>
  <categories>
    <anon>Kubernetes</anon>
    <anon>Docker</anon>
    <anon>shell</anon>
    <anon>コンテナ</anon>
    <anon>クラウド</anon>
  </categories>
  <description>kubectlでコマンド補完できるようにする方法を整理します。 はじめに kubectlをコマンド補完できるようにする やり方 エラー対処: command not found: compdef 補足: コマンドaliasを使ってる場合 おわりに 参考 はじめに 最近Kubernetesに入門している中で、kubectlのコマンド補完ができなくて不便に感じてました。 コマンド補完可に設定できるようなので、やり方を整理します。 ※ 作業環境: M2 Mac / zsh kubectlをコマンド補完できるようにする やり方はOSとshellの種類で異なります。 本記事では、macOSにおけるzsh…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.bioerrorlog.work%2Fentry%2Fkubectl-command-completion&quot; title=&quot;kubectlをコマンド補完できるようにする - BioErrorLog Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20240913/20240913011814.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-13 01:18:33</published>
  <title>kubectlをコマンド補完できるようにする</title>
  <type>rich</type>
  <url>https://www.bioerrorlog.work/entry/kubectl-command-completion</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
