-
Notifications
You must be signed in to change notification settings - Fork 11
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
Rock for TWA #30
base: main
Are you sure you want to change the base?
Rock for TWA #30
Conversation
tensorboards-web-app/rockcraft.yaml
Outdated
summary: "tensorboards service" | ||
command: gunicorn -w 3 --bind 0.0.0.0:5000 --access-logfile - entrypoint:app | ||
startup: enabled | ||
user: ubuntu |
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.
Need to remove user: ubuntu
in favour of new setup of non-root user.
It should be added outside of services
:
https://github.com/canonical/seldonio-rocks/blob/main/seldon-core-operator/rockcraft.yaml#L17
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.
OK. My reference was the in-tree jupyter-web-app rock that still uses user: ubuntu
..
tensorboards-web-app/rockcraft.yaml
Outdated
stage-packages: | ||
- python3-venv | ||
|
||
non-root-user: |
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.
This part can be removed when run-user
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.
ACK.
Was any manual testing performed? @kimwnasptd Can we provide access to best practices spec that has all these details? |
All commits should be signed. Use |
Execution of service command. Looks like missing dependencies in the ROCK and/or incorrect paths:
|
tensorboards-web-app/rockcraft.yaml
Outdated
This web app is responsible for allowing the user to manipulate Tensorboard | ||
instances in their Kubeflow cluster. To achieve this it provides a user | ||
friendly way to handle the lifecycle of Tensorboard CRs. | ||
version: v1.7.0_1 |
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.
Version should be v1.7.0_20.04_1
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.
ACK
Add rockcraft.yaml for tensorboards-web-app.
Yes. I extracted the image with scopeo and loaded in a kind cluster that runs Kubeflow. The pod was running.
ACK.
I see that the Kubernetes deployment does not set a command, i.e., it uses a the image endtrypoint that is:
and has also:
So if I run:
It works but it fails because it doesn't find a kubeconfig...
Let me try your suggested changes, and force-push the updated branch. |
Add rockcraft.yaml for tensorboards-web-app.