docs icon indicating copy to clipboard operation
docs copied to clipboard

Add User Manual

Open rhuss opened this issue 5 years ago • 25 comments

Describe the feature:

The user manual should be use case focussed and guide the user through several important use cases. That's different to the reference manual which is more for a quick lookup of options.

The user manual should live on knative.dev, we just track the issue here (but could move it over, too)

I could imagine a TOC like in:

  • [x] Installation of kn: https://knative.dev/docs/install/client/install-kn/

  • [x] Authentication and configuration: config is here https://knative.dev/docs/install/client/configure-kn/, not sure what is meant by authentication in this case

  • [ ] Knative Serving

    • [x] Create a simple service and verify that its running: creating a service using kn is documented; https://knative.dev/docs/serving/services/creating-services/#procedure we maybe need a follow up issue to improve the creating services docs in general, inc. verification steps etc, but I think that's outside the scope of just kn docs
    • [x] #5227
    • [ ] What is a BYO revision name and why it is useful ?
    • [ ] How to tune concurrency parameter ?
    • [ ] How to change requests/limits
    • [ ] How to add labels
    • [ ] How to update a service ?
    • [ ] What is a Traffic split ?
    • [ ] How can I perform a canary deployment ? A blue green deployment ?
    • [ ] How can I rollback ?
    • [ ] What does the output of kn service describe actually means, especially the output for the traffic split ?
    • [ ] What the difference between latest created and latest ready and how can I see this in the client ?
  • [ ] Knative Eventing

    • [x] #5056
    • [ ] Which sources are supported ?
    • [ ] How to use triggers and what are the prerequisites ? (i.e. a broker that is enabled)
    • [ ] Which sink types are supported ?
  • [x] Plugins

    • [x] What is a plugin and how can I implement it ?
    • [x] Where to find plugins ? (client-contrib)
    • [x] How to install a plugin and how does the lookup mechanism work ? How can this be changed/configured ?
    • [x] How to list all plugins ?
    • [x] How does a eventing source plugin looks like and how it is different to other plugins ? (i.e using a manifest)

The style of the user manual should be relaxed and easy to read. The section can build upon each other.

The User Manual is hosted as part of knative.dev

This issue is part of knative/client#510

rhuss avatar Feb 11 '20 16:02 rhuss

I hope to help with the eventing part. Please let me know how to start.

daisy-ycguo avatar Feb 28 '20 14:02 daisy-ycguo

/assign

daisy-ycguo avatar Apr 17 '20 01:04 daisy-ycguo

Sounds good ! I have a crazy busy week ahead, but if you have any ideas how you would like to structure the eventing docs, let me know. We can already start with sandbox/docs in client-contrib (or we might open a client-sandbox repo for this ?)

rhuss avatar Apr 20 '20 07:04 rhuss

@rhuss should this be filed against the /docs repo instead? :thinking:

abrennan89 avatar May 15 '20 16:05 abrennan89

@abrennan89 I think that makes totally sense. Is there already an issue related to where to integrate client documentation ?

rhuss avatar May 27 '20 08:05 rhuss

There's a project for kn docs: https://github.com/knative/docs/projects/23 I've just been adding related issues there as I find them.

abrennan89 avatar May 27 '20 16:05 abrennan89

@abrennan I'd like to move this issue also over to the docs repo, and also want to split it up more. This issue would be a candidate to discuss in one of the next calls.

rhuss avatar Sep 11 '20 13:09 rhuss

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen.Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Dec 13 '20 11:12 github-actions[bot]

/remove-lifecycle stale

rhuss avatar Dec 15 '20 09:12 rhuss

Note to self: Related to https://github.com/knative/ux/issues/39

abrennan89 avatar May 04 '21 22:05 abrennan89

@daisy-ycguo @rhuss is anyone currently working on this or should we unassign it and split up the issue into smaller tasks?

abrennan89 avatar Jul 28 '21 19:07 abrennan89

@abrennan89 no, nobody is actually working on this issue (an @daisy-ycguo is not working on Knative anymore ...)

rhuss avatar Jul 30 '21 10:07 rhuss

I don't think that this should be one single guide for CLI, but let's see what comes out of Omer's card sorts in terms of docs structure. I think this should've been filed as individual issues per topic, not one giant issue, but I've converted the list to checkboxes. I think in the meantime let's cross off what already exists in docs and fill any gaps, then the kn content in the site can be restructured later if it needs to be.

abrennan89 avatar Sep 13 '21 20:09 abrennan89

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Dec 13 '21 01:12 github-actions[bot]

@snneji any thoughts on where this fits into the new card sort version of docs? I don't think we have a CLI section anymore but kn is a major part of Knative.

abrennan89 avatar Dec 17 '21 16:12 abrennan89

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Mar 18 '22 01:03 github-actions[bot]

/remove-lifecycle stale

rhuss avatar Mar 18 '22 10:03 rhuss

@psschwei it looked like you were working on some sort of automation for this, is that still the plan going forward? Not sure if there's any work to do here still?

abrennan89 avatar May 19 '22 14:05 abrennan89

I just added a link to the client docs to the knative docs... it would be good to add it to the site (rather than linking out), but it's not something I'd be able to work on in the near future...

psschwei avatar May 23 '22 13:05 psschwei

Proposal for docs WG - how do we feel about adding top level CLI and Functions sections to the site, the same way we have for Serving and Eventing? More specifically, any arguments against doing this? To me they're the other two largest UX components that I could see folks wanting to find quickly. cc @psschwei @csantanapr @snneji

abrennan89 avatar Jun 06 '22 16:06 abrennan89

cc @nainaz

abrennan89 avatar Jun 06 '22 16:06 abrennan89

We have discussed this one in the Docs WG and although we have decided not to include the content in this exact format / layout, we plan to check that each of these requests are documented, or else maybe open individual issues for dealing with any gaps in the docs.

abrennan89 avatar Jun 29 '22 17:06 abrennan89

What does kn service create --force ?

What would the user story be for this @knative/client-wg-leads ? Does it really need to be documented? Why?

abrennan89 avatar Jun 29 '22 18:06 abrennan89

Plugins requirements split into separate issue: https://github.com/knative/docs/issues/3534

abrennan89 avatar Jun 29 '22 20:06 abrennan89

@abrennan89 knative service create --force is to entirely overwrite an existing service, which means delete it first and then recreate it. This is in contrast to kn service update, which updates individual fields on an existing installation. You would use it in scripts to ensure that you have a fresh service even if a service with this name already exists. That's useful e.g. for CI runs when you are not sure that the previous run has been cleaned up properly (which can happen when a CI tests fails).

Also it's different to kn service apply as it does not merge on an existing service, that might have been changed by a third party. It just overwrites any changes that had happened. It's a sledgehammer.

rhuss avatar Jul 29 '22 10:07 rhuss

Closing this since the issue has been open for over 2 years. @rhuss please do not open XXL issues like this, and instead open an issue for each individual section if there are changes still required. Opening issues that are this large make working them unmanageable.

abrennan89 avatar Oct 10 '22 19:10 abrennan89

I'm fine with closing this issue. @abrennan89 this issue was never meant as a task list for things to perform, but as brainstorming and an example of how a user document could contain. It should not have been taken literally, but have some arguments why a use case focussed User Manual might have been helpful in addition to the Reference Manual we have.

I could imagine a TOC like in: ....

"could imagine" was the important part, which was meant to continue the discussion that has been started in https://github.com/knative/client/issues/510

But I agree that a GitHub issue may be the wrong format for this, possibly a Google Docs would have been better. I also apologize that I could not drive that story more (e.g. splitting it up was one of the following goals).

rhuss avatar Oct 11 '22 19:10 rhuss