Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: reference pages for Evaluation and Metrics definitions and providers #1224

Closed
wants to merge 81 commits into from
Closed

docs: reference pages for Evaluation and Metrics definitions and providers #1224

wants to merge 81 commits into from

Conversation

StackScribe
Copy link
Contributor

@StackScribe StackScribe commented Apr 13, 2023

Closes #1080

  • Create reference pages out of the content in the concepts/evaluations file
  • Create reference pages and implementing/metrics out of the content in the concepts/metrics file
  • Delete the concepts/evaluations and concepts/metrics files
  • Update content for 0.8.0 changes

@StackScribe StackScribe self-assigned this Apr 13, 2023
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 13, 2023
@netlify
Copy link

netlify bot commented Apr 13, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 20a604b
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/6454b6f9f41808000843411c
😎 Deploy Preview https://deploy-preview-1224--keptn-lifecycle-toolkit.netlify.app/docs/yaml-crd-ref/metricsprovider
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication


* Observability

* Evaluations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evaluations are not part of Observability. I would add it at the main level and say that Evaluation allows to implement quality gates for your deployments. You can reuse most of the content from https://keptn.sh/docs/concepts/quality_gates/#keptn-quality-gate-process

docs/content/en/docs/implementing/_index.md Outdated Show resolved Hide resolved
Comment on lines 9 to 12
However, the Kubernetes metrics servers
only allow you to release a single service on a API;
you cannot use multiple observability platforms
in one namespace for one API.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this stems from the limitation of the Kubernetes API where you can register a single custom or external metric server through the Metric APIs.
I would not add this text since it is very deep into the details of K8s. I would rather start directly with the following up paragraph that explains the benefits of our metric server

docs/content/en/docs/implementing/metrics.md Outdated Show resolved Hide resolved
docs/content/en/docs/implementing/metrics.md Outdated Show resolved Hide resolved
docs/content/en/docs/implementing/metrics.md Outdated Show resolved Hide resolved
docs/content/en/docs/implementing/metrics.md Outdated Show resolved Hide resolved
docs/content/en/docs/yaml-crd-ref/evaluationdefinition.md Outdated Show resolved Hide resolved
## Fields

* **apiVersion** -- API version being used.
Must be `v1alpha3` or later for this syntax.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be painful to maintain. At each new API release, we would need to change it. I suggest creating a pointer towards the autogenerated docs of the CRDs to find the right version.

[Kubernetes Object Names and IDs](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names)
specification.

* **spec**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have mixed feelings about having this manually maintained. The APIs will change continuously and we need to keep this section aligned with the implementation. For the fields, we generate the documentation automatically in the API reference page: https://lifecycle.keptn.sh/docs/crd-ref/
I would rather keep it there so we don't have to maintain the fields in multiple places

StackScribe and others added 11 commits April 26, 2023 02:31
Signed-off-by: Meg McRoberts [email protected]

Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by: Meg McRoberts [email protected]

Co-authored-by: Giovanni Liva <[email protected]>
Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by: Meg McRoberts [email protected]

Co-authored-by: Giovanni Liva <[email protected]>
Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by: Meg McRoberts [email protected]

Co-authored-by: Giovanni Liva <[email protected]>
Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by: Meg McRoberts [email protected]

Co-authored-by: Giovanni Liva <[email protected]>
Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by: Meg McRoberts [email protected]

Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by Meg McRoberts meg.mcroberts@dynatrace

Signed-off-by: Meg McRoberts <[email protected]>
StackScribe and others added 2 commits May 5, 2023 00:54
Signed-off-by: Meg McRoberts [email protected]

Co-authored-by: Giovanni Liva <[email protected]>
Signed-off-by: Meg McRoberts <[email protected]>
Signed-off-by: Meg McRoberts [email protected]

Co-authored-by: Giovanni Liva <[email protected]>
Signed-off-by: Meg McRoberts <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@StackScribe
Copy link
Contributor Author

This PR is corrupted and so I am deleting it.
This PR is replaced by #1385

@StackScribe StackScribe closed this May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Concepts" ref pages for KeptnEvaluation* CRDs
5 participants