-
Notifications
You must be signed in to change notification settings - Fork 18
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
Adding O2IMS CRD for create cluster story #63
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with the MR.
We can remove the line until we do not add the kube-builder code here.
this is not a good api definition. You dont call something a provisionRequest. K8s apis are about the what not the how. |
@henderiw I understand the term "Requests" is not suitable. But it comes from O-RAN cluster provisioningRequest. This CRD was accepted in the last WG2 (O-RAN meeting). Now, we need to discuss this in the meeting to change it. I am fine in changing from cluster scope to namespace |
@gvbalaji Do you have some comments? |
Yes as @arora-sagar mentioned this is the CRD from O-RAN specs we're using as is and adapting to our internal implementation. This is used for our thin IMS implementation. |
ORAN should follow the k8s principles. it is not because it is approved there we have to accept it. You don't call a CRD kind using verbs. A k8s api/crd should be about what the resource is about. it should be Cluster or ClusterClaim and given you have a oran group it is relevant in the oran context. |
What we are doing here is writing an IMS implementation for provisioning. As part of the O-RAN intersection , this effort is to write the IMS service for the O-RAN API. We are not changing their API. |
I agree with @arora-sagar and @gvbalaji. The scope and objective of this PR is to implement O-RAN defined constructs and APIs. We in Nephio shall not change (rename) O-RAN defined IOCs such as ProvisioningRequest for lifecycle management of O-Cloud Node Clusters as well as O-Cloud Infrastructure resource(s). Nephio-based O-Cloud IMS implementation will have its internal Nephio CRs such as ClusterClaim and WorkloadCluster CRs. The ClusterClaim CR will model the request to create a cluster with a certain configuration while the current WorkloadCluster CR will be used to model successfully deployed clusters and used as a target for NF Deployment. The design details regarding Create O-Cloud Node Cluster User Story can be found here: https://docs.google.com/presentation/d/1iyE_XLkBJkl_ClYsE_vRnEkm8Ica7YE0/edit#slide=id.p1 |
@dkosteck: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
This O2IMS CRD is defined for the northbound API of Nephio, and data will be given by FOCOM. Therefore we should respect the data that FOCOM will provide, and in Specs a Provisioning Request is defined and there is no notion of namespaces