-
Notifications
You must be signed in to change notification settings - Fork 1.9k
SRVCLI-259: Add docs on using offline services with the kn CLI #32671
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 osdocs ready! 🔨 Explore the source changes: 9fab681 🔍 Inspect the deploy log: https://app.netlify.com/sites/osdocs/deploys/60be3f0106094000084b15ae 😎 Browse the preview: https://deploy-preview-32671--osdocs.netlify.app |
|
@dsimansk @abrennan89 Could you PTAL? Note that based on David's bug report, I have not included the command that modifies an offline service. |
We call it "experimental" in the upstream to have a bit of soak time and potential window to take compatibility-breaking changes. IMO it sound all right to have a note that it's technology preview feature in our docs. @rhuss any objections to call offline mode TP? |
|
@mvinkler Could you please review these docs? |
@rh-max he's on sick leave I think so someone else may need to take a look for QE. I think a better place for this would be under / after the serverless applications topic here: https://deploy-preview-32671--osdocs.netlify.app/openshift-enterprise/latest/serverless/knative_serving/serverless-applications.html Only this module https://deploy-preview-32671--osdocs.netlify.app/openshift-enterprise/latest/serverless/cli_reference/kn-offline-services.html#creating-an-offline-service_kn-offline-services really belongs in the CLI guide I think, and it can live in the This one isn't a blocker for 1.15.0 FYI, so I'd make the release notes higher priority probably and come back to it if you're pushed for time. |
d2ba6f7 to
99b26a8
Compare
@abrennan89 Thanks. I think [1] is a good location. However, I think it's better to not split
|
|
@dsimansk The built docs for review now reside at: |
jrangelramos
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.
qe review. looks good to me with minor suggestions.
In time, as a suggestion I think it would be nice to show (as a step 5.) the actual service creation in a cluster using the descriptor created. but I leave it up to you, wdyt?
$ kn service create -f test/ksvc/event-display.yaml
Creating service 'event-display' in namespace 'test':
0.058s The Route is still working to reflect the latest desired specification.
0.098s ...
0.168s Configuration "event-display" is waiting for a Revision to become ready.
23.377s ...
23.419s Ingress has not yet been reconciled.
23.534s Waiting for load balancer to be ready
23.723s Ready to serve.
Service 'event-display' created to latest revision 'event-display-00001' is available at URL:
Good idea, I've included this as the last step. |
|
@dsimansk @jrangelramos I've implemented your feedback, which resulted in some more rewrites. I'd appreciate you having a look at the changes. No need for actual QE testing, @jrangelramos, I have not changed the commands. |
|
QE Approved |
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.
Thanks Max looks good to me. I like the updated introduction listing with the use cases. 👍
/lgtm
|
Thanks @dsimansk and @jrangelramos for your work on this! |
|
@rh-max please ensure that you're adding labels if you can and following the guidelines wrt titles etc for PRs. There was an email forwarded to us about this from Vikram / Cheryl. |
lbarbeevargas
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.
Great job on this new section for offline mode! I added some feedback and considerations per the OCP guidelines and ISG. Please let me know if you have any questions about my comments.
|
New changes are detected. LGTM label has been removed. |
|
@lbarbeevargas Thanks for the review 👍 , all suggestions implemented. Provided you, or anyone else, has no more feedback, let's consider this ready. |
abrennan89
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.
Some final updates, otherwise lgtm
abrennan89
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.
lgtm!
Add Technology Preview note for using offline services Improve feature name in TP note Move Using offline services to serverless/knative_serving Fix section nesting level Numerous improvements Add missing output line Numerous stylistic improvements s/the offline mode/offline mode/ Lowercase "Continuous Integration" Co-authored-by: Ashleigh Brennan <abrennan@redhat.com> Minor markup and wording fixes
4233c4c to
9fab681
Compare
|
/cherrypick enterprise-4.6 |
|
/cherrypick enterprise-4.7 |
|
/cherrypick enterprise-4.8 |
|
@abrennan89: new pull request created: #33157 DetailsIn 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. |
|
@abrennan89: new pull request created: #33158 DetailsIn 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. |
|
@abrennan89: new pull request created: #33159 DetailsIn 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. |
Add docs on using kn CLI in the offline mode
For versions 4.6+
https://issues.redhat.com/browse/SRVCLI-259
https://deploy-preview-32671--osdocs.netlify.app/openshift-enterprise/latest/serverless/knative_serving/serverless-applications.html#using-offline-services