Document how to setup prometheus-operator for Knative#52
Conversation
|
Hi @marcobebway. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
297d654 to
d06288a
Compare
| ```bash | ||
| kubectl get pods -n knative-monitoring --selector='app.kubernetes.io/component=controller,app.kubernetes.io/name=prometheus-operator' -w | ||
| ``` |
There was a problem hiding this comment.
I suggest expanding on the flag names. Verbosity in docs is fine. Since you have --selector, I suggest using --watch and --namespace.
| ## Cluster setup | ||
|
|
||
| Create a kubernetes cluster as mentioned [here](https://knative.dev/docs/install/knative-with-gke/#creating-a-kubernetes-cluster). | ||
|
|
||
| > Note: A GKE cluster is used, but any other cluster type can be used as well. | ||
|
|
There was a problem hiding this comment.
Since the docs pointed here also contain instructions on installing knative, I feel it may be a little confusing. Maybe provide the simplest command to creating a GKE cluster and providing the cluster admin instructions.
|
|
||
| ## Knative setup | ||
|
|
||
| ### Install Knative [Serving](https://github.com/knative/serving/blob/master/DEVELOPMENT.md#deploy-knative-serving) and [Eventing](https://github.com/knative/eventing/blob/master/DEVELOPMENT.md#starting-eventing-controller). |
There was a problem hiding this comment.
Did you want the users to install the monitoring components of knative/serving as well? To avoid confusion, you can suggest skipping that part.
wfernandes
left a comment
There was a problem hiding this comment.
Made a few comments. Just being nit-picky but otherwise looks good to me. Let me know if you have any questions.
|
/ok-to-test |
- Expand the kubectl flag names - Remove the trailing punctuation in the headers - Add simple commands to create a GKE cluster and to grant the cluster admin permissions - Add a note to skip installing the monitoring components coming with Knative serving
|
/assign wfernandes |
|
/lgtm |
|
/approved |
|
@Benjamintf1 Can you mark this as approved? |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marcobebway, wfernandes The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Add documentation guidelines explaining how to setup Prometheus operator for Knative observability.
Resolves knative/eventing#1925