4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

KubeWeekly #152

Last updated at Posted at 2018-10-17

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

The Headlines

Annual “CNCF Community Awards” Nominations Kick Off – Winners to be Recognized at KubeCon + CloudNativeCon Seattle - Cloud Native Computing Foundation

Annual “CNCF Community Awards” Nominations Kick Off – Winners to be Recognized at KubeCon + CloudNativeCon Seattle - Cloud Native Computing Foundation
Nominations open today for the third-annual CNCF Community Awards – sponsored by VMware – honoring those who have made the greatest impact over the last year in the cloud native...

CNCF Community Awardsのノミネートが開始されました。
Top Ambassador, Top Commiter,Chop Wood/Carry Water Awardがあるようです。
Chop Wood/Carry Water影の功労者みたいな意味だろうか?

Introducing the Non-Code Contributor’s Guide

Introducing the Non-Code Contributor’s Guide
Author: Noah Abrahams (InfoSiftr), Jonas Rosland (VMware), Ihor Dvoretskyi (CNCF) It was May 2018 in Copenhagen, and the Kubernetes community was enjoying the contributor summit at KubeCon/CloudNativeCon, complete with the first run of the New Contributor Workshop. As a time of tremendous collaboration between contributors, the topics covered ranged from signing the CLA to deep technical conversations. Along with the vast exchange of information and ideas, however, came continued scrutiny of the topics at hand to ensure that the community was being as inclusive and accommodating as possible.

Kubernetesプロジェクトに対してソースコード以外にも貢献する方法があることの紹介。

community/non-code-contributions.md at master · kubernetes/community · GitHub

Deploy Your First Deep Learning Model On Kubernetes With Python, Keras, Flask, and Docker

Deploy Your First Deep Learning Model On Kubernetes With Python, Keras, Flask, and Docker
So Easy Even Your Boss Can Do It!

Kubernetesを使ってディープラーニングをやってみようという記事
Building a simple Keras + deep learning REST API をKubernetes上で動かしている

Pythonのライブラリであるkeras, tensorflowなどを使い、モデルはResnet50を使って、与えられた画像に何が写っているかを推定するというWebアプリケーションを作る。ソースコードはたった85行

GKEでのクラスタの作成方法なども紹介されている。

The Technical

How to use Envoy as a Load Balancer in Kubernetes

How to use Envoy as a Load Balancer in Kubernetes
An introduction to using Envoy as a load balancer in Kubernetes, and configuring various load balancing algorithms.

EnvoyをKubernetes上のサービスのロードバランサとして使用する方法。
EnvoyのSTRICT_DNS service discovery modeを使うとDNSから引けるAレコードにロードバランスしてくれる。これはKubernetesのheadless Serviceと相性が良い。
IngressControllerなどは使わず、シンプルにEnvoyをKubernetes内にデプロイしている。
grafanaでメトリクスを確認しつつ、ロードバランスのアルゴリズムを選定するデモ。

Support for Azure VMSS, Cluster-Autoscaler and User Assigned Identity

Support for Azure VMSS, Cluster-Autoscaler and User Assigned Identity
Author: Krishnakumar R (KK) (Microsoft), Pengfei Ni (Microsoft) Introduction With Kubernetes v1.12, Azure virtual machine scale sets (VMSS) and cluster-autoscaler have reached their General Availability (GA) and User Assigned Identity is available as a preview feature. Azure VMSS allow you to create and manage identical, load balanced VMs that automatically increase or decrease based on demand or a set schedule. This enables you to easily manage and scale multiple VMs to provide high availability and application resiliency, ideal for large-scale applications like container workloads [1].

Azure virtual machine scale sets (VMSS) と cluster-autoscalerがGAになったので、紹介する。
加えて Azureでのuser assigned identity features についても紹介している。

(Azureに馴染みがないのでいまいちイメージがつかなかった

Introducing Volume Snapshot Alpha for Kubernetes

Introducing Volume Snapshot Alpha for Kubernetes
Author: Jing Xu (Google) Xing Yang (Huawei), Saad Ali (Google) Kubernetes v1.12 introduces alpha support for volume snapshotting. This feature allows creating/deleting volume snapshots, and the ability to create new volumes from a snapshot natively using the Kubernetes API. What is a Snapshot? Many storage systems (like Google Cloud Persistent Disks, Amazon Elastic Block Storage, and many on-premise storage systems) provide the ability to create a “snapshot” of a persistent volume.

1.12でalphaサポートされるようになった、VolumaSnapshotの紹介。
使い方と、それを実現するsnapshotterの動作について説明している。

Kubernetes | Deploying Prometheus Operator

Kubernetes | Deploying Prometheus Operator
In this long episode I give a high level overview about Prometheus Operator. I talk through a getting started concept along with how to configure it for your...

YouTube動画。
(みていない)

How to generate certificates for Kubeadm with Vault - My personal blog - Björn Wenzel

How to generate certificates for Kubeadm with Vault - My personal blog - Björn Wenzel
Tutorial on how to use Hashicorp Vault to generate certificates to access Kube-API

HashicorpのVaultを使ってKubernetsの利用者向けの証明書を発行する。kubeadmでクラスタを作ると、証明書は1つで1年の有効期限になるが、この方法を使うとユーザごとに違う証明書を発行でき、期限も任意に設定できる。

Kubernetes Resource Statistics – ITNEXT

Kubernetes Resource Statistics – ITNEXT
Gathering resource statistics (e.g., how many pods are running in a certain namespace) can be a useful to sometime necessary activity…

Kubernetes上のリソースの数を数えるだけの簡単なプログラムを作った話。
GitHub - mhausenblas/krs: A command line tool for capturing and serializing Kubernetes resource statistics in OpenMetrics format
内部的にはkubectl getを実行して、Open Metricsの形式で出力しているだけらしい。

大掛かりなものとしては、GitHub - kubernetes/kube-state-metrics: Add-on agent to generate and expose cluster-level metrics.GitHub - kubernetes-incubator/spartakus: Anonymous Usage Collector を紹介している。

Autoscaling Applications on Kubernetes - A Primer

Autoscaling Applications on Kubernetes - A Primer
Kubernetes provides different capabilities in terms of scalability. This primer is the first part of a series that introduces you to concepts and how to scale your cluster & applications.

Kubernetesでのスケーリングについて。この記事はシリーズ物でそのうちClusterAutoscalerやHorizontalPodAutoscalerの話などをする予定らしい。
この記事では単にマニュアルでのClusterのスケールと、Podのスケールを紹介している。

Deploy machine learning models with GKE and Dataiku

Deploy machine learning models with GKE and Dataiku
Introduction In a previous post I described how easy it is to create and deploy machine learning models (exposing them as REST APIs) with Dataiku. In particular, it was an XGboost model predicting …

Dataikuという機械学習のソフトウェアからDockerImageを作ってKubernetesにデプロイする方法。
単にDataikuからDockerImageをpushしているだけのように見える。

Manipulating Istio and other Custom Kubernetes Resources in Golang

Manipulating Istio and other Custom Kubernetes Resources in Golang
In this article I'll demonstrate how to use Golang to manipulate Kubernetes Custom Resources, with Istio as an example. No knowledge of Istio is needed, I'll just use it to demonstrate the concepts! Istio is a highly popular Service Mesh platform which allows engineers to quickly add telemetry, advanced traffic
golangを使ってCRDを変更するチュートリアル。DynamicClientを使うことで簡単にCRDを扱えることがわかる。

Tooling Spotlight

新コーナーのようです。

opencredo/kubefuse

opencredo/kubefuse
Kubernetes as a FUSE Filesystem. Contribute to opencredo/kubefuse development by creating an account on GitHub.
- KubernetesのマニフェストをLinuxのファイルシステムに見せる。ファイルを変更するとKubernets上のリソースも変更される。2年前から進展がない

GoogleContainerTools/kubehost

GoogleContainerTools/kubehost
Expose web services directly on GKE nodes during development. - GoogleContainerTools/kubehost
- GCPにて、ServiceオブジェクトをhostポートでListenすることができるツール。GCPのLoadBalancerより手軽にサービスを晒すことができる。開発用。

zegl/kube-score

zegl/kube-score
Kubernetes object static code analysis. Contribute to zegl/kube-score development by creating an account on GitHub.
- Kubernetesのリソースが決められた条件を満たしているかチェックするツール。チェック項目はハードコーディングされているようです。

mhausenblas/krs

mhausenblas/krs
A command line tool for capturing and serializing Kubernetes resource statistics in OpenMetrics format - mhausenblas/krs
- 今回の記事で説明されていた、kubernetes常にデプロイされているリソースの数を数え、Metricsとして公開するツール

The Editorial

Kubernetes v1.12: Introducing RuntimeClass

Kubernetes v1.12: Introducing RuntimeClass
Author: Tim Allclair (Google) Kubernetes originally launched with support for Docker containers running native applications on a Linux host. Starting with rkt in Kubernetes 1.3 more runtimes were coming, which lead to the development of the Container Runtime Interface (CRI). Since then, the set of alternative runtimes has only expanded: projects like Kata Containers and gVisor were announced for stronger workload isolation, and Kubernetes’ Windows support has been steadily progressing.
1.12でalphaとして実装されたRuntimClassの紹介。 複数のコンテナランタイムが利用できる状況で、どのランタイムを使うかをPodのSpecで設定できるような機能のようです。

Kubernetes Is a Prime Catalyst in AI and Big Data’s Evolution

Kubernetes Is a Prime Catalyst in AI and Big Data’s Evolution
Kubernetes is becoming synonymous with cloud-native computing. As an open-source platform, it enables development, deployment, orchestration and
KubernetesはAIやBigData基盤として使えるよという話。

Cloud Foundry expands its support for Kubernetes

Cloud Foundry expands its support for Kubernetes
Not too long ago, the Cloud Foundry Foundation was all about Cloud Foundry, the open source platform as a service (PaaS) project that’s now in use by most of the Fortune 500 enterprises. This project is the Cloud Foundry Application Runtime. A year ago, the Foundation also announced the Cloud…

CloudFoundlyがKubernetesのサポートを進めている話。

Kubernetes Podcast from Google

Kubernetes Podcast from Google

Kubernetes Pod Castの紹介
(まだ聞いていない)

Making the Bet on Open Source - DZone Open Source

Making the Bet on Open Source - DZone Open Source
A developer on the Talend team discusses the company's choice to use Docker and Kubernetes before they were enterprise-ready and how to engage untested tools.

OpenSourceと企業の関わり方について。DockerやKubernetesを採用しながら成功してきた経験を語る記事。

Kubernetes 1.12 Brings Volume Snapshots, TLS Improvements, and More

Kubernetes 1.12 Brings Volume Snapshots, TLS Improvements, and More
The Cloud Native Community Foundation has announced Kubernetes 1.12. This version brings Snapshot and restore volumes, improvements on TLS, Horizontal Pod Autoscaler (HPA), topology-aware dynamic provisioning, Advanced Auditing, topology support for Container Storage Interface (CSI) plugin, and more.

Kubernetes v1.12の新機能の紹介。

Imperative vs Declarative – Dominik Tornow – Medium

Imperative vs Declarative – Dominik Tornow – Medium
By Andrew Chen and Dominik Tornow

命令的、宣言的 についての解説。

Container security starts with Kubernetes - JAXenter

Container security starts with Kubernetes - JAXenter
Todd Moreau explains several essential Kubernetes security considerations for any develop looking to adopt this useful technology.

Kubernetesのセキュリティの特徴。どういうことが起こりうるのかなど解説。

Docker And Kubernetes: Furthering The Goals Of DevOps Automation

Docker And Kubernetes: Furthering The Goals Of DevOps Automation
As the buzz around Docker and Kubernetes continues to grow, large enterprises are starting to build container strategies for both development and operations.

DevOpsの文脈でDockerとKubernetesの有用性について説明している。

バックナンバー

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?