Kubernetes The Hard Way#1

いまさらだけどそろそろやってみる。

まずはREADMEを読む

README

This tutorial walks you through setting up Kubernetes the hard way. This guide is not for people looking for a fully automated command to bring up a Kubernetes cluster. If that's you then check out Google Kubernetes Engine, or the Getting Started Guides.

このチュートリアルでは、Kubernetesを簡単に設定する方法を説明します。 このガイドは、Kubernetesクラスターを起動するための完全に自動化されたコマンドを探している人向けではありません。 その場合は、Google Kubernetes Engineまたはスタートガイドをご覧ください。

Kubernetes The Hard Way is optimized for learning, which means taking the long route to ensure you understand each task required to bootstrap a Kubernetes cluster.

Kubernetes The Hard Wayは学習用に最適化されています。つまり、Kubernetesクラスターをブートストラップするために必要な各タスクを確実に理解するために長いルートを取る必要があります。

The results of this tutorial should not be viewed as production ready, and may receive limited support from the community, but don't let that stop you from learning!

このチュートリアルの結果は、本番環境として表示されるべきではなく、コミュニティからの限定的なサポートを受ける可能性がありますが、それで学習が妨げられないようにしてください!


Cluster Detail

Kubernetes The Hard Way guides you through bootstrapping a highly available Kubernetes cluster with end-to-end encryption between components and RBAC authentication.

Kubernetes The Hard Wayは、コンポーネント間のエンドツーエンド暗号化とRBAC認証を使用して、可用性の高いKubernetesクラスターをブートストラップする方法を案内します。

・kubernetes 1.15.3
・containerd 1.2.9
・coredns v1.6.3
・cni v0.7.1
・etcd v3.4.0

Labs

This tutorial assumes you have access to the Google Cloud Platform. While GCP is used for basic infrastructure requirements the lessons learned in this tutorial can be applied to other platforms.

このチュートリアルでは、Google Cloud Platformにアクセスできることを前提としています。 GCPは基本的なインフラストラクチャ要件に使用されますが、このチュートリアルで学んだ教訓は他のプラットフォームにも適用できます。

チュートリアルは下記のステップを踏むらしい。

準備

Prerequisites

これは準備済みなので割愛


Installing the Client Tools

CFSSLとkubectlのインストール。

CFSSLは初耳だったがPKIインフラ用に必要らしい

The cfssl and cfssljson command line utilities will be used to provision a PKI Infrastructure and generate TLS certificates.

cfsslおよびcfssljsonコマンドラインユーティリティを使用して、PKIインフラストラクチャをプロビジョニングし、TLS証明書を生成します。

https://github.com/cloudflare/cfssl

https://qiita.com/aqr_w/items/5489033346a12c55ff43

なるほどopensslの様にCSRとかも作れるのか。


今回はここまで

この記事が気に入ったらサポートをしてみませんか?