LoginSignup
2
1

More than 3 years have passed since last update.

ローカル環境でRancherを立ち上げる

Posted at

オライリーの「分散システムデザインパターン」のハンズオンを試していて、k8sをローカルで動かしているうちにRancherも触ってみたくなったので調べてみた

k8sをローカルで動かす

Docker CE for macをインストールして、PreferencesからEnable Kubernetesをonにしておく

Rancherをローカルで動かす

Rancherの公式のblog記事があったのでそれを参考にした。

  • Dockerに4096MB以上のメモリを割り当てないといけない
  • helmを入れろとのことで、公式見てhomebrewでinstall
  • 言われるがままにServiceAccount、ClusterRoleBindingをcreateしてtillerをinitializeし、IngressControllerを追加した
  • Cert-Managerのinstallはblogの手順ではうまくいかなかったのでcert-managerのドキュメントを参考にした
  • rancherのレポジトリを落としてきてinstallした
  • https://rancher.localhost にアクセス
  • ログイン画面が出るのでログイン

ハロー牛さん
スクリーンショット 2019-06-07 23.42.00.png

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