1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

OCI上でKubernetesクラスタを構築する

1
Posted at

クラスタの作成をクリックする
image.png

クイック作成で続行
image.png

設定を適切に変更して次へ
image.png
image.png
image.png
image.png

設定を確認してクラスタの作成をクリックする
image.png
image.png
image.png
image.png

基本クラスタをチェックして続行する
image.png

クラスタを作成した。
image.png

クラスタへのアクセスをクリックする
image.png

クラウド・シェルの起動をクリックする
image.png

クラウドシェルでkube設定ファイルを作成する

oci ce cluster create-kubeconfig --cluster-id ocid1.cluster.oc1.ap-tokyo-1.aaaaaaaavd34ao74zspp7h54tczjzzyek6xxxxxxxxxxxxxxxxxxxxxxxxxx --file $HOME/.kube/config --region ap-tokyo-1 --token-version 2.0.0  --kube-endpoint PUBLIC_ENDPOINT

Worker Nodeの一覧と状態を確認する

kubectl get nodes

image.png

以上でOKEクラスタの作成と接続確認ができた。

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?