Help us understand the problem. What is going on with this article?

【Kubernaetes】AWS上でKubernetesを試すための備忘録

More than 1 year has passed since last update.

AWSでKubectlが使えるようになるまでの手順の備忘録です。

AWS Cliのインストール

$ sudo apt-get update
$ sudo apt-get -y install python-pip
$ sudo pip install awscli

ユーザーのキーを設定しておきます。

$ aws configure

環境変数の設定

Env Variable Name Description default
KUBE_AWS_ZONE Available Zone us-west-2a
NUM_NODES node数 4
MASTER_SIZE マスターのサイズ node数による
MINION_SIZE Minionのサイズ node数による
AWS_S3_REGION 使用するS3のリージョン us-east-1
EXTRA_DOCKER_OPTS Dockerデーモンの起動オプション?

Kubernetesのインストール

$ export KUBERNETES_PROVIDER=aws; curl -sS https://get.k8s.io | bash

kubectlの設定

$ sudo cp kubernetes/platforms/linux/amd64/kubectl /usr/local/bin/kubectl
$ sudo chmod +x /usr/local/bin/kubectl

参考

http://kubernetes.io/docs/getting-started-guides/aws/

http://kubernetes.io/docs/user-guide/prereqs/

http://qiita.com/Arturias/items/8f16194f164aeacbe67d

https://get.k8s.io/

https://github.com/kubernetes/kubernetes/blob/master/cluster/aws/config-default.sh

Yarimizu14
メモ
abeja
「ディープラーニング」を活用し、多様な業界、シーンにおけるビジネスの効率化・自動化を促進するベンチャー企業です。
https://abejainc.com
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした