docs
docs copied to clipboard
Document use of `kn service create --force`
From @rhuss
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.
This is my first time to open source this issue will help me start my journey into open source Can I get assigned to this issue
I would really wish to work on this issue and document use of kn service create force . Could you please assign this issue.
/assign @Harini1023
(You can use /assign
to assign the issue to yourself)
/good-first-issue
@evankanderson: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
In response to this:
/good-first-issue
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.
/assign @afzal442
hey @afzal442 are you still working on it?
Hi, r u able to find and run knative service create --force
? I'm assigning to u as well.
/assign @keshavcodex
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
.
/unassign @Harini1023
@keshavcodex @afzal442 are you still working on this issue?
Hey @dprotaso i wrote this, but can you tell me where should I add this file, and what should be the name of this file.
Hey @evankanderson can you tell me where should I add this file, and what should be the name of this file.
I suspect it might make sense to put it in https://knative.dev/docs/client/ as a new file, possibly "using the CLI in automation".
@keshavcodex are you still working on it?
@keshavcodex are you still working on it?
No
/assign @gouthamhusky
Hi @evankanderson, this seems to a long standing open issue. To be clear, do we want to document the use of kn service create --force
command > alone? I see no references to other commands like service update
etc.
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
.