-
Notifications
You must be signed in to change notification settings - Fork 4
knoQのk8s移行 #1160
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
base: main
Are you sure you want to change the base?
knoQのk8s移行 #1160
Conversation
Kentaro1043
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
確認をお願いします🙏
これらを見つつ、先にknoq-devの用意をしていただけると助かります🙏
knoq/backend-deployment.yaml
Outdated
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: knoq-backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この辺の名前から-backendを削除して欲しいです(フロントエンドも実行されるので)
ファイル名からもお願いします🙏
knoq/ingress-route.yaml
Outdated
| secretName: knoq-tls | ||
|
|
||
| routes: | ||
| - match: (Host(`knoq.trap.jp`) && PathPrefix(`/api/`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
フロントエンドも同じコンテナで実行されるので、PathPrefixは必要ないです
あと余分な(が先頭についてます
| valueFrom: | ||
| secretKeyRef: | ||
| name: knoq-secrets | ||
| key: DB_PASSWORD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
READMEに従って、この値を格納するSecretの用意をお願いします
わからなかったら聞いて下さい!
| @@ -0,0 +1,5 @@ | |||
| resources: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ファイル名ミス: kustomization.yamlです
knoq/backend-deployment.yaml
Outdated
| weight: 1 | ||
|
|
||
| containers: | ||
| - name: knoq-backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
フロントエンドのリポジトリをpullしてVolumeをアタッチするinitContainersの用意をお願いします
DiffNo diff detected! |
knoQのk8sを書きました。