-
-
Notifications
You must be signed in to change notification settings - Fork 13
Bump trino-cli version #822
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
✅ Deploy Preview for stackable-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sbernauer
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.
Approving this as the change LGTM. I hope you will figure the Nexus problems
| sleep 1 # it takes time before the statefulset is recreated | ||
|
|
||
| echo "Waiting for superset StatefulSet ..." | ||
| kubectl rollout status --watch statefulset/superset-node-default | ||
|
|
||
| sleep 2 # just to be sure we're up and running No newline at end of file | ||
| sleep 2 # just to be sure we're up and running |
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.
No need to change, but ideally we just use a kubectl wait supersetcluster/superset (pseudo code) here (same below for trino)
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.
I'm not so sure. I think statefulsets are a bit weird for conditional waits.
I did try to put something in that I did for deployments, but it doesn't work for statefulsets: https://github.com/stackabletech/actions/blob/c34dbb4f27b274736c7d2edc6f6f30a03d03edf5/run-integration-test/action.yaml#L216-L218
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.
I was thinking of something like kubectl wait --for=condition=available trinocluster/trino --timeout 1200s, can you give that a try?
For Superset that would be kubectl wait --for=condition=available supersetcluster/superset --timeout 1200s
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.
You try it and tell me :D
I don't have my cluster anymore.
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.
I guess not super important 😅
Part of stackabletech/docker-images#1383
I fixed the example to use the correct trino-cli file, and fix old usages of
stackablectl svc.