KubeWeekly #198

KubeWeeklyは毎週Kubernetesに関する興味深いニュースを提供しています。（https://kubeweekly.io/ ）この記事は 2020/01/10に発行された [Kube Weekly #198](https://kubeweekly.io/2020/01/10/kubeweekly-198/)を読んで、感じたことをメモ的にまとめたものです。
私の勘違いや説明不足による誤解もあるかと思いますので、この記事読んで「おっ」と思ったらURLを辿って本文を確認してください。

(過去のKubeWeekly読書メモは[こちら](https://qiita.com/tags/kubeweekly))

※この記事は、[Z Lab](https://qiita.com/organizations/zlab)の業務の一環として作成したものです。


# The Headlines

## kubectl tree: Visualize Kubernetes object ownership
<table>
<tr>
  <td colspan="2"><a href="https://ahmet.im/blog/kubectl-tree/">kubectl tree: Visualize Kubernetes object ownership</a></td>
</tr>
<tr>
  <td><img src="https://github.com/ahmetb/kubectl-tree/raw/a2ead1593a8019492302ab959cd7794b62ee4950/assets/example-1.png"></td>
</tr>
</table>

kubectlのプラグインである`kubectl tree`の紹介。
これはownerReferenceを辿りリソースの依存関係をいい感じに表示してくれるツールです。

## KubeCon + CloudNativeCon North America 2019 Conference Transparency Report: The Biggest KubeCon + CloudNativeCon to Date - Cloud Native Computing Foundation
<table>
<tr>
  <td colspan="2"><a href="https://www.cncf.io/blog/2020/01/09/kubecon-cloudnativecon-north-america-2019-conference-transparency-report-the-biggest-kubecon-cloudnativecon-to-date/">KubeCon + CloudNativeCon North America 2019 Conference Transparency Report: The Biggest KubeCon + CloudNativeCon to Date - Cloud Native Computing Foundation</a></td>
</tr>
<tr>
  <td><img src="https://www.cncf.io/wp-content/uploads/2017/12/icon_cncf_twitter.png"></td>
  <td>KubeCon + CloudNativeCon North America 2019 was our largest event to date with record-breaking registrations, attendance, sponsorships, and co-located events. With nearly 12,000 attendees, this year’s event in San Diego...</td>
</tr>
</table>

KubeCon + CloudNativeCon North America 2019の数字周りのレポートのサマリ。
11891人参加で、これは昨年比で49%増らしい。

# The Technical

## Consistent OIDC authentication across multiple EKS clusters using Kube-OIDC-Proxy | Amazon Web Services
<table>
<tr>
  <td colspan="2"><a href="https://aws.amazon.com/blogs/opensource/consistent-oidc-authentication-across-multiple-eks-clusters-using-kube-oidc-proxy/">Consistent OIDC authentication across multiple EKS clusters using Kube-OIDC-Proxy | Amazon Web Services</a></td>
</tr>
<tr>
  <td><img src="https://d2908q01vomqb2.cloudfront.net/ca3512f4dfa95a03169c5a670a4c91a19b3077b4/2019/12/22/landingpage-1260x630.jpg"></td>
  <td>Amazon Elastic Kubernetes Service (Amazon EKS) authenticates users against IAM before they’re granted access to an EKS cluster. Access to each cluster is controlled by the aws-auth ConfigMap, a file that maps IAM users/roles to Kubernetes RBAC groups. In this guest post from Josh Van Leeuwen from Jetstack, we look at how we can use […]</td>
</tr>
</table>

[Kube-OIDC-Proxy](https://github.com/jetstack/kube-oidc-proxy)を使い複数のEKSクラスタの認証をOIDCで行う方法を紹介。

## How to Monitor Kubernetes API Server | Sysdig
<table>
<tr>
  <td colspan="2"><a href="https://sysdig.com/blog/monitor-kubernetes-api-server/">How to Monitor Kubernetes API Server | Sysdig</a></td>
</tr>
<tr>
  <td><img src="https://sysdig.com/wp-content/uploads/2019/12/control_plane_apiserver.png"></td>
  <td>Monitoring Kubernetes API server is of vital importance when running Kubernetes in production. Learn how to validate that the service performs as expected.</td>
</tr>
</table>

KubernetesのAPIサーバをモニタリングする方法を紹介。
Golden Signalsの手法に基づいて、どのメトリクスを取るべきかを紹介している。

## Containers more secured? Use Cri-o Kata with Oracle Linux on Oracle Cloud
<table>
<tr>
  <td colspan="2"><a href="https://medium.com/@mschildmeijer/containers-more-secured-use-cri-o-kata-with-oracle-linux-on-oracle-cloud-241550226c4d">Containers more secured? Use Cri-o Kata with Oracle Linux on Oracle Cloud</a></td>
</tr>
<tr>
  <td><img src="https://miro.medium.com/max/1200/1*JWgquBAkEpIdVu_9PZaluQ.png"></td>
  <td>Thanks to Simon Coter, Product Director Oracle Linux</td>
</tr>
</table>

Cri-oを使いKata ContainerをランタイムとしてPodを実行する方法を紹介。

## Setting up a single master Kubernetes cluster on Azure using kubeadm
<table>
<tr>
  <td colspan="2"><a href="https://dev.to/adudko/setting-up-a-single-master-kubernetes-cluster-on-azure-using-kubeadm-1cjn">Setting up a single master Kubernetes cluster on Azure using kubeadm</a></td>
</tr>
<tr>
  <td><img src="https://dev.to/social_previews/article/228230.png"></td>
  <td></td>
</tr>
</table>

AzureでVMを作りkubeadmを使ってKubernetesクラスタを作成する方法を紹介。

## Navigating network services and policy with Helm - RX-M
<table>
<tr>
  <td colspan="2"><a href="https://rx-m.com/cloud-native/navigating-network-services-and-policy-with-helm-2/">Navigating network services and policy with Helm - RX-M</a></td>
</tr>
<tr>
  <td><img src="https://rx-m.com/wp-content/uploads/2019/07/helm-square.png"></td>
  <td>This blog is a tutorial that will take you from basic Helm concepts in an example deployment of a chart to modifying charts to fit your needs.</td>
</tr>
</table>

Helmを使ったアプリケーションのパラメータ変更の例としてNetworkPolicyを設定する例などを紹介。
Helm Chartをダウンロードしてきて、自分好みに変更する方法を利用している。

## The blog of wjwh - The poor state of Kubernetes horizontal pod autoscaling
<table>
<tr>
  <td colspan="2"><a href="http://www.wjwh.eu/posts/2020-01-04-kubernetes-autoscaling.html">The blog of wjwh - The poor state of Kubernetes horizontal pod autoscaling</a></td>
</tr>
</table>

KubernetesのHorizontal Pod Autoscalerの紹介とその欠点についての記事。
代替案も紹介されているが、なかなか筆者が思うようなものがないとのこと。

## 2019 My year in review: inlets inlets proxy and tunnel
<table>
<tr>
  <td colspan="2"><a href="https://blog.alexellis.io/2019-my-year-in-review-inlets/">2019 My year in review: inlets inlets proxy and tunnel</a></td>
</tr>
<tr>
  <td><img src="https://blog.alexellis.io/content/images/2019/12/bg-inlets.jpeg"></td>
  <td>inlets was a big part of my 2019 and I wanted to write up a bit of the story and how you can use it to expose and tunnel your own services.</td>
</tr>
</table>

プライベートネットワークに構築したKubernetesクラスタにリクエストを引き込むためのサーバを作成するコントローラである[inlets](https://github.com/inlets/inlets)の紹介
さらにL4にも対応した[inlet-pro](https://github.com/inlets/inlets-pro-pkg)というのもあるらしい。

## OSS Unboxing: Revisiting Gatekeeper - Policy Controller for Kubernetes
<table>
<tr>
  <td colspan="2"><a href="https://www.youtube.com/watch?v=2OWT1zQa43Q">OSS Unboxing: Revisiting Gatekeeper - Policy Controller for Kubernetes</a></td>
</tr>
<tr>
  <td><img src="https://i.ytimg.com/vi/2OWT1zQa43Q/maxresdefault.jpg"></td>
  <td>We revisit the latest features in Gatekeeper - https://github.com/open-policy-agent/gatekeeper. Original unboxing video here - https://youtu.be/vEe8R4i9g28</td>
</tr>
</table>

OPA周りのコンポーネントである[geetkeeper](https://github.com/open-policy-agent/gatekeeper)の新機能の紹介動画

## pingcap/chaos-mesh
<table>
<tr>
  <td colspan="2"><a href="https://github.com/pingcap/chaos-mesh">pingcap/chaos-mesh</a></td>
</tr>
<tr>
  <td><img src="https://repository-images.githubusercontent.com/206213815/7025de80-2c2a-11ea-86a1-c62d9442e979"></td>
  <td>A Chaos Engineering Platform for Kubernetes. Contribute to pingcap/chaos-mesh development by creating an account on GitHub.</td>
</tr>
</table>

Kubernetesにおけるカオスエンジニアリングを実現するためのツール。Chaosを発生させるChaos Operatorと、Chaosを分析するためのダッシュボードから構成されている。
pod-kill, pod-failure, netem chaos, network-partition, IO chaosなど、様々なChaosが実行できる。

## ChubaoFS: The Cloud Native Computing Foundation's Speedy New Distributed File System - The New Stack
<table>
<tr>
  <td colspan="2"><a href="https://thenewstack.io/chubaofs-the-cloud-native-computing-foundations-speedy-new-distributed-file-system/">ChubaoFS: The Cloud Native Computing Foundation's Speedy New Distributed File System - The New Stack</a></td>
</tr>
</table>

ChubaoFS がCNCFのSandboxに入りました。これは中国のECサービスであるJD.comがコントリビュートしている分散ファイルシステムです。

## Testing of CSI drivers
<table>
<tr>
  <td colspan="2"><a href="https://kubernetes.io/blog/2020/01/08/testing-of-csi-drivers/">Testing of CSI drivers</a></td>
</tr>
<tr>
  
  <td>Author: Patrick Ohly (Intel)
When developing a Container Storage Interface (CSI) driver, it is useful to leverage as much prior work as possible. This includes source code (like the sample CSI hostpath driver) but also existing tests. Besides saving time, using tests written by someone else has the advantage that it can point out aspects of the specification that might have been overlooked otherwise.
An earlier blog post about end-to-end testing already showed how to use the Kubernetes storage tests for testing of a third-party CSI driver.</td>
</tr>
</table>

CSI driverのテストの方法を紹介。
CSI driver開発者のためのsanity testと、E2Eテストの方法を紹介。

# The Editorial

## Short Talks: A Conversation with Kelsey Hightower - OpenShift Commons Briefing
<table>
<tr>
  <td colspan="2"><a href="https://www.youtube.com/watch?v=YYHp0oksor4">Short Talks: A Conversation with Kelsey Hightower - OpenShift Commons Briefing</a></td>
</tr>
<tr>
  <td><img src="https://i.ytimg.com/vi/YYHp0oksor4/maxresdefault.jpg"></td>
  <td>Chris Short, Principal Product Marketing Manager, OpenShift at Red Hat and CNCF Ambassador sits down with Staff Developer Advocate at Google, Kelsey Hightowe...</td>
</tr>
</table>

Kelsey Hightowerとのインタビュー動画

## Helm 3 Is Almost Boring and That’s a Great Sign of Maturity - The New Stack
<table>
<tr>
  <td colspan="2"><a href="https://thenewstack.io/helm-3-is-almost-boring-and-thats-a-great-sign-of-maturity/">Helm 3 Is Almost Boring and That’s a Great Sign of Maturity - The New Stack</a></td>
</tr>
</table>

Helm3について、Helm2との違いを中心に紹介。
2020年の早いうちにgraduatedするのでは？といったことが書かれている。

## OpenShift and Kubernetes, with Clayton Coleman
<table>
<tr>
  <td colspan="2"><a href="https://kubernetespodcast.com/episode/085-openshift-and-kubernetes/">OpenShift and Kubernetes, with Clayton Coleman</a></td>
</tr>
<tr>
  <td><img src="https://kubernetespodcast.com/_assets/images/Kubernetes-Podcast-Logo_1400x1400.png"></td>
</tr>
</table>

KubernetesPodcast
OpenShiftとKubernetesについて。ゲストはOpenShiftのアーキテクトであるClayton Coleman。

## We are the Reddit Infrastructure team. AMA about Kubernetes and/or infrastructure at Reddit!
<table>
<tr>  
  <td colspan="2"><a href="https://www.reddit.com/r/kubernetes/comments/ebxrkp/we_are_the_reddit_infrastructure_team_ama_about/">We are the Reddit Infrastructure team. AMA about Kubernetes and/or infrastructure at Reddit!</a></td>
</tr>
<tr>
  <td><img src="https://external-preview.redd.it/yFDQqdFJl7uvziSUWxz98bad7CcPWWWIHMt36zeQUU0.jpg?width=1200&height=628.272251309&auto=webp&s=b872165df56374860904407227f70568fa73840e"></td>
  <td>Hello, r/kubernetes! We are the Reddit Infrastructure team. Starting at 10am PDT we'll begin answering your most burning questions about our...</td>
</tr>
</table>

RedditのインフラチームによるReddit場でのAMA(Ask Me Anything)投稿。

## Farewell
<table>
<tr>
  <td colspan="2"><a href="https://blog.kontena.io/farewell/">Farewell</a></td>
</tr>
<tr>
  <td><img src="https://blog.kontena.io/content/images/2020/01/joe-leahy-elFvItsyXKQ-unsplash.jpg"></td>
  <td>This is a sad day for team Kontena. We tried to build something amazing but our plans of creating business around open source software has failed. We couldn't build a sustainable business. Despite all the effort, highs and lows, as of today, Kontena has ceased operations. The team is no</td>
</tr>
</table>

Kontena社の倒産エントリ。
（もともとはDockerを使ってクラスタを構築するためのツールの会社だったらしく、Kubernetesと完全に被ってしまった点で辛そう、と感じました。）

## Katie Gamanji on Condé Nast’s Kubernetes Platform, Self-Service, and the Federation and Cluster APIs 
<table>
<tr>
  <td colspan="2"><a href="https://www.infoq.com/podcasts/kubernetes-self-service-cluster-api/">Katie Gamanji on Condé Nast’s Kubernetes Platform, Self-Service, and the Federation and Cluster APIs </a></td>
</tr>
<tr>
  <td><img src="https://res.infoq.com/podcasts/kubernetes-self-service-cluster-api/en/headerimage/Katie-Gamanji-1578090840864.jpg"></td>
  <td>In this podcast, Daniel Bryant sat down with Katie Gamanji, Cloud Platform Engineer at Condé Nast International. Topics covered included: exploring the architecture of the Condé Nast Kubernetes-based platform; the importance of enabling self-service deployment for developers; and how the Kubernetes’ Federation API and Cluster API may enable more opportunities for platform automation.</td>
</tr>
</table>

Condé Nast社のKatie GamanjiによるPodcast
Federation APIやCluster APIなどの話をしているようだ（聞いていない）

## TOC Votes to Move Falco into CNCF Incubator - Cloud Native Computing Foundation
<table>
<tr>
  <td colspan="2"><a href="https://www.cncf.io/blog/2020/01/08/toc-votes-to-move-falco-into-cncf-incubator/">TOC Votes to Move Falco into CNCF Incubator - Cloud Native Computing Foundation</a></td>
</tr>
<tr>
  <td><img src="https://www.cncf.io/wp-content/uploads/2017/12/icon_cncf_twitter.png"></td>
  <td>Today, the Cloud Native Computing Foundation (CNCF) Technical Oversight Committee (TOC) voted to accept Falco as an incubation-level hosted project. Falco, which entered the CNCF Sandbox in October 2018, is...</td>
</tr>
</table>

CNCFはKubernetesにおけるランタイム異常検知ソフトウェアである[Falco](https://falco.org/)をSandboxからIncubationレベルプロジェクトへと昇格しました。

## Certified Kubernetes Application Developer (CKAD) Certification is Now Valid for 3 Years - Cloud Native Computing Foundation
<table>
<tr>
  <td colspan="2"><a href="https://www.cncf.io/blog/2020/01/09/certified-kubernetes-application-developer-ckad-certification-is-now-valid-for-3-years/">Certified Kubernetes Application Developer (CKAD) Certification is Now Valid for 3 Years - Cloud Native Computing Foundation</a></td>
</tr>
<tr>
  <td><img src="https://www.cncf.io/wp-content/uploads/2017/12/icon_cncf_twitter.png"></td>
  <td>Announced in May 2018, the Certified Kubernetes Application Developer (CKAD) program was designed as an extension of CNCF’s Kubernetes training offerings which already includes certification for Kubernetes administrators. By adding...</td>
</tr>
</table>

CKADの認定の有効期間が3年間となりました。（もともと2年間でした）