-
Notifications
You must be signed in to change notification settings - Fork 184
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
Can I associate a context with a tab? #9090
Comments
hello there. thanks for sharing some great thoughts! each top-level tab in kui should lock itself to a kubernetes context, but currently this only happens after a command execution, in that tab, to change context. it should be possible to add support for expressing the desire that this should happen onload, perhaps via a topmatter element. markdown tabs currently do not have this capability. there also isn't a great way to add any kind of topmatter to a tab (we are using the pymdown/mkdocs syntax, which is pretty limiting in this respect) one other thing we could do is add a bit of metadata support to kui's markdown code block implementation. right now, you can express things like
i.e. kui does support adding a "topmatter" element to each code block (in this case, the we could add 🤔 |
Thanks @starpit East
West
I'm not sure how auto-executing steps would help me, so, for now I think my best option is to generate markdown with the context embedded, eg thanks @starpit Any pointers for new kui users who want to create markdown notebooks, I'm currently using https://github.com/kui-shell/KuiClientTemplate but I dunno if that's the best option... Ideally I want the flow for skupper users to be:
but is that what folks do? (I'm not finding any doc for that flow) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Trying to figure out the best way to create a notebook that switches kube context as they proceed thru steps.
With skupper.io we have automatically rendered README.md files to illustrate various examples, eg https://github.com/skupperproject/skupper-example-hello-world
I think it might be possible to redirect the markdown to kui to give a great experience for new skupper users, but I'm new to kui and don't know the best way to approach it.
With skupper, you switch between clusters/namespaces for each procedure 'step', and I thought I could use 'tabs' for this experience, for example:
but I'm not sure if it's possible to tie each tab to a kube context, or if there is another approach I should try?
thanks in advance for a super tool, any 'getting started' links appreciated.
currently using steps like:
The text was updated successfully, but these errors were encountered: