-
Couldn't load subscription status.
- Fork 824
Serve --server-log in API server helm deployment #7226
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
Conversation
Signed-off-by: Aylei <[email protected]>
Signed-off-by: Aylei <[email protected]>
Signed-off-by: Aylei <[email protected]>
Signed-off-by: Aylei <[email protected]>
Signed-off-by: Aylei <[email protected]>
…ver-log # Conflicts: # docs/source/reference/api-server/helm-values-spec.rst
Signed-off-by: Aylei <[email protected]>
|
/smoke-test -k test_helm_deploy |
| - name: state-volume | ||
| mountPath: /root/.sky | ||
| subPath: .sky | ||
| {{- if .Values.storage.enabled }} |
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.
Should this be removed? The .ssh should always be mounted?
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.
Just to keep the behavior consistent with previous deployment, there is a logic to recover ssh key from PG when storage is disabled and PG is used
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.
LGTM! Thanks! @aylei
This PR add
--server-logsupport in helm deployment, which write the server logs to both stdout (forkubectl logs) and~/.sky/api_server/server.logforsky logs --server-logs.Users can optionally enable log rotation.
Tested (run the relevant ones):
bash format.sh/smoke-test(CI) orpytest tests/test_smoke.py(local)/smoke-test -k test_name(CI) orpytest tests/test_smoke.py::test_name(local)/quicktest-core(CI) orpytest tests/smoke_tests/test_backward_compat.py(local)