docs icon indicating copy to clipboard operation
docs copied to clipboard

Document use of `kn service create --force`

Open abrennan89 opened this issue 2 years ago • 19 comments

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.

abrennan89 avatar Sep 21 '22 14:09 abrennan89

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

Atharv-Nalwade avatar Oct 02 '22 11:10 Atharv-Nalwade

I would really wish to work on this issue and document use of kn service create force . Could you please assign this issue.

Harini1023 avatar Oct 07 '22 04:10 Harini1023

/assign @Harini1023

evankanderson avatar Dec 08 '22 16:12 evankanderson

(You can use /assign to assign the issue to yourself)

evankanderson avatar Dec 08 '22 16:12 evankanderson

/good-first-issue

evankanderson avatar Dec 08 '22 20:12 evankanderson

@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.

knative-prow[bot] avatar Dec 08 '22 20:12 knative-prow[bot]

/assign @afzal442

afzal442 avatar Feb 03 '23 15:02 afzal442

hey @afzal442 are you still working on it?

keshavcodex avatar Feb 26 '23 09:02 keshavcodex

Hi, r u able to find and run knative service create --force ? I'm assigning to u as well. /assign @keshavcodex

afzal442 avatar Feb 26 '23 10:02 afzal442

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 Jun 23 '23 01:06 github-actions[bot]

/unassign @Harini1023

@keshavcodex @afzal442 are you still working on this issue?

dprotaso avatar Jun 23 '23 12:06 dprotaso

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.

keshavcodex avatar Jun 26 '23 14:06 keshavcodex

Hey @evankanderson can you tell me where should I add this file, and what should be the name of this file.

keshavcodex avatar Jul 02 '23 16:07 keshavcodex

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".

evankanderson avatar Jul 04 '23 14:07 evankanderson

@keshavcodex are you still working on it?

satyampsoni avatar Nov 16 '23 09:11 satyampsoni

@keshavcodex are you still working on it?

No

keshavcodex avatar Nov 17 '23 14:11 keshavcodex

/assign @gouthamhusky

gouthamhusky avatar Jan 12 '24 00:01 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.

gouthamhusky avatar Jan 12 '24 00:01 gouthamhusky

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 Apr 11 '24 01:04 github-actions[bot]