Open gvbalaji opened 1 year ago
@gvbalaji could you please provide more info regarding this task? What watcher agent refers to? To monitor infrastructure layer or CNF specific metrics? Or Nephio platform itself?
I think this is about watching CNF orchestration status on workload clusters. @johnbelamaric can you please confirm?
Both "intent realization status" and also possibly other types of status. See https://github.com/GoogleContainerTools/kpt/issues/3543 for a discussion of some options. That is centered around "intent realization status".
Seed code should include an implementation of this that uses grpc for the transport, though whether we can use it directly may depend on our CRD structure decisions. Personally I would like to see about leveraging the metrics pipeline and not implement separate code for this. I like avoiding new code.
Also, from this doc:
How is the status described here different from the status that would be in any well design CRD? Are we saying that we want to create an alternate mechanism than a get operation on the corresponding k8s cluster API for the CR?
At the base of it, that is necessary. But we need a few more things:
By the way, the "apply" stage seems simple but if we have webhooks, apply time mutations, etc. it can easily fail.
Implement the GRPC server for the edge watcher. EdgeWatcher will be a service/pod running on management cluster, exposes List/Watch interface for client to access statuses