<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yomon8</author_name>
  <author_url>https://blog.hatena.ne.jp/yomon8/</author_url>
  <blog_title>YOMON8.NET</blog_title>
  <blog_url>https://yomon.hatenablog.com/</blog_url>
  <categories>
    <anon>Azure</anon>
    <anon>Kubernetes</anon>
  </categories>
  <description>AKSでもマネージドIDが使えるようになったことで、KubernetesのPodから定期ジョブなどでkubectlを実行したい時にAzure CLIで認証できるようになりました。 前提 コンテナイメージをビルド ENTRYPOINTのスクリプト イメージのビルド ACRにイメージをビルド Kubernetesデプロイ 定義作成 Podデプロイ 前提 以下の記事でも書いたように、AKSに紐付いたマネージドIDに適切な権限が付いていることが前提になります。 yomon.hatenablog.com コンテナイメージをビルド ENTRYPOINTのスクリプト マネージドIDで認証をAzure CLI…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyomon.hatenablog.com%2Fentry%2F2020%2F04%2Faks_pod_kubectl&quot; title=&quot;Azure Kubernetes ServiceのPod上でkubectlコマンドをマネージドID認証して実行 - YOMON8.NET&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>2020-04-14 20:32:19</published>
  <title>Azure Kubernetes ServiceのPod上でkubectlコマンドをマネージドID認証して実行</title>
  <type>rich</type>
  <url>https://yomon.hatenablog.com/entry/2020/04/aks_pod_kubectl</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
