docs icon indicating copy to clipboard operation
docs copied to clipboard

Installing operator documentation is incorrect

Open jasonmccallister opened this issue 1 year ago • 6 comments

Expected Behavior

Following the instructions on installing the operator is confusing. On the Install knative operator page, the following statement is displayed:

Because the Operator is installed to the default namespace, ensure you set the current namespace to default by running the command

However, the namespace the operator is installed into is knative-operator and it is specific in the YAML files for the version provided in the URL.

Actual Behavior

I expect the operator is installed in the default namespace.

Steps to Reproduce the Problem

  1. Following the instructions on installing the operator
  2. Run the commands in the order presented in the documentation
  3. No deployments are found in the default namespace

jasonmccallister avatar Aug 23 '24 01:08 jasonmccallister

cc @houshengbo

skonto avatar Aug 27 '24 10:08 skonto

@houshengbo gentle ping

skonto avatar Sep 16 '24 13:09 skonto

I would like to solve this issue.Please assign it on my name

pranjalg1331 avatar Sep 24 '24 03:09 pranjalg1331

/assign

pranjalg1331 avatar Sep 24 '24 03:09 pranjalg1331

kubectl create -f https://github.com/knative/operator/releases/download/knative-v1.5.1/operator-post-install.yaml This is the yaml file to create operator. Should i make changes in the latest release or the older one?

pranjalg1331 avatar Sep 24 '24 04:09 pranjalg1331

I ended up with two operators running. 1 in the default namespace and 1 in the knative-operator namespace. I ended up deleteing the operator and webhook deployments in the default namespace however, this doesn't feel very clean. i am guessing i should go back and look at the yaml and delete the secrets, sa and maybe some other things that were created in the default namespace.

ScottWatsonWork avatar Sep 26 '24 19:09 ScottWatsonWork

I note that this issue has not gotten any traction from the time of assignment. If @pranjalg1331 is not available for this task, I'd be glad to take it up.

arthurkay avatar Nov 13 '24 21:11 arthurkay

This is still an issue. I just ran into the same problem.

It's not a major blocker, but definitely needs cleaning up.

cwegener avatar Jan 22 '25 03:01 cwegener

cc @houshengbo

dprotaso avatar Jan 22 '25 13:01 dprotaso

@houshengbo any update on this?

dprotaso avatar Jan 28 '25 02:01 dprotaso

I believe this was addressed by @houshengbo in https://github.com/knative/docs/pull/6211

dprotaso avatar Feb 11 '25 00:02 dprotaso