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

Best Practices: Should there be a section that talks about support k8s resources like configmap, secrets, PVs etc etc #6484

Closed
alberttwong opened this issue Jul 1, 2023 · 9 comments
Assignees
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. triage/needs-information Indicates an issue needs more information in order to work on it.
Milestone

Comments

@alberttwong
Copy link

node affinity and taints, TLS certs.

The problem I see is that I see some operators don't support those options. I feel that it would have been better that they should have these configuration options in the v1 of their operator.

@alberttwong
Copy link
Author

alberttwong commented Jul 1, 2023

I'm talking about configmaps, secrets, PVs, node affinity, taints, TLS certs, maybe even other items like chaos monkey, being able to use telepresense, toplogy aware routing, limit ranges, resource quotas, controlling pod to node assignment, autoscaler?

@everettraven everettraven self-assigned this Jul 3, 2023
@everettraven everettraven added the triage/needs-information Indicates an issue needs more information in order to work on it. label Jul 3, 2023
@everettraven everettraven added this to the Backlog milestone Jul 3, 2023
@everettraven
Copy link
Contributor

@alberttwong Thanks for raising this issue! I'm a little lost as to what kind of documentation you are looking to be added, would you mind elaborating a bit more about what content you would like to see for this topic?

@alberttwong
Copy link
Author

I would love to see also recommendations on what the operator should have in terms of capability. I've seen operators built without the ability to add configmaps or secrets or even using PVs or even supporting TLS certs. I'm afraid that many operators developers think that just using the SDK is enough to be called an "operator".

@varshaprasad96
Copy link
Member

@alberttwong We already have an operator capability model which decides on the level of maturity of an operator.

I feel that it would have been better that they should have these configuration options in the v1 of their operator.

I believe what you are looking for is to mention the set of actions in terms resource limitations, network configurations, storage options etc so as to define an operator to be entirely stable and of the highest capability. To do so we already have a model defined which defines the list of functionalities an operator needs to implement for it to be considered matured (https://sdk.operatorframework.io/docs/overview/operator-capabilities/). For example, an operator being able to collect metrics and provide insights would be a level IV operator - the method in which it is implemented could be using prometheus and grafana or through any other 3rd party solution (say Sensu or Scope)

@alberttwong
Copy link
Author

Is there a technical validation test harness or just verbal suggestions?

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 9, 2023
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 8, 2023
@openshift-bot
Copy link

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Copy link

openshift-ci bot commented Dec 9, 2023

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

@openshift-ci openshift-ci bot closed this as completed Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

4 participants