Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[構築メモ] kubernetesでアプリを動かす #2

Open
quwen opened this issue Jul 20, 2020 · 4 comments
Open

[構築メモ] kubernetesでアプリを動かす #2

quwen opened this issue Jul 20, 2020 · 4 comments

Comments

@quwen
Copy link
Collaborator

quwen commented Jul 20, 2020

mdファイルにまとめたほうがいいかも?

  • micchieさんの"simple"にDockerfileを追加する
  • マルチステージビルドに変更
@quwen
Copy link
Collaborator Author

quwen commented Jul 20, 2020

expose を追加したら失敗→docker run に-pオプション追加したら成功(?)

@quwen quwen changed the title Dockerfileを作成する [構築メモ] Dockerfileを作成する Jul 20, 2020
@quwen
Copy link
Collaborator Author

quwen commented Jul 20, 2020

k8s で動かすためにDocker Hubにイメージをプッシュ。

@quwen
Copy link
Collaborator Author

quwen commented Jul 20, 2020

@quwen quwen changed the title [構築メモ] Dockerfileを作成する [構築メモ] kubernetesでアプリを動かす Jul 20, 2020
@quwen
Copy link
Collaborator Author

quwen commented Aug 4, 2020

実行時のコマンドは以下二つ

  • create(作成)
  • apply(更新)
    kubectl apply -f XXXX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant