<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>opensourcetech</author_name>
  <author_url>https://blog.hatena.ne.jp/opensourcetech/</author_url>
  <blog_title>Opensourcetechブログ</blog_title>
  <blog_url>https://www.opensourcetech.tokyo/</blog_url>
  <categories>
    <anon>kubernetes</anon>
    <anon>kubectl</anon>
    <anon>チートシート</anon>
    <anon>補完</anon>
    <anon>alias</anon>
    <anon>tab</anon>
  </categories>
  <description>LinuCエヴァンジェリストの鯨井貴博@opensourcetechです。 はじめに kubectlコマンドの補完に関するメモです。 こちらを参考にしています。 Linuxのbashなどであればファイルパスなどtabキーで補完できますが、 同じようにkubectlも使えれば楽だよなぁっていう技です。 CKAの試験時にも使える便利な技なので、覚えておくといいかと思います。 やってみる 具体的には、以下のような場面で補完出来れば操作が楽になります。 ※kubectl get podsを実行したい。 kubeuser@master01:~$ kubectl g error: unknown comm…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.opensourcetech.tokyo%2Fentry%2F20230314%2F1678784369&quot; title=&quot;kubectlコマンドの補完やalias - Opensourcetechブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-14 17:59:29</published>
  <title>kubectlコマンドの補完やalias</title>
  <type>rich</type>
  <url>https://www.opensourcetech.tokyo/entry/20230314/1678784369</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
