Repository navigation
design: Add resource dependency graph. - #100
openshift-merge-robot merged 1 commit into
Conversation
ff32dda to
6864274
Compare
There was a problem hiding this comment.
Why is this a dependency?
There was a problem hiding this comment.
because we need the kco config for kco operator to render bootstrap control plane.
There was a problem hiding this comment.
This should not be output to user.
There was a problem hiding this comment.
Need to add kubeconfig -> bootstrap.ign
There was a problem hiding this comment.
Can you break this up into all of the TLS assets?
There was a problem hiding this comment.
I tried previously but there are 30 files, and even I bundle them in to crt key pair, there are still around 15, The result is pretty messy. I can give another try to reorganize them. BTW what's the best way to group them? Is there a way to zoom in zoom out ?
There was a problem hiding this comment.
Don't worry about it being messy. That's the job of the renderer. You could put them all into a subgraph cluster so that they are all arranged together, but I'm not sure that it's worth the effort. It might be easiest to just color nodes based on their datatype.
There was a problem hiding this comment.
The rank approach may break down with 15 TLS nodes (or we'll go really wide ;). How about using neato to oraganize with node shape for type (tls, op config, ...) and fill color for phase? Or gradations of color to separate types within a phase?
There was a problem hiding this comment.
We could also color edges by command, since the installer commands are what's doing the conversion.
6864274 to
9ad342e
Compare
There was a problem hiding this comment.
You may want to remove the blank line here and just have:
kube_ca_bundle -> root_ca_bundle -> bootstrap_ignition;Although I'd expect the root_ca_bundle would be used to sign the kube_ca_bundle (and therefore be an ancestor of it instead of being a descendant). Perhaps you meant:
kube_ca_bundle -> kubernetes_control_plane;
wking
left a comment
There was a problem hiding this comment.
There are also a number of key/certs which have no consumer (as of 7b19963).
There was a problem hiding this comment.
Looks like you're missing a:
platform -> install_config;around here.
|
@wking Yeah, the 2nd commit is in WIP state, I was just saving some of the progress. |
7b19963 to
1404eef
Compare
|
I expanded the tls assets, ptal @crawford |
|
/retest |
There was a problem hiding this comment.
Increased the size, but it's still displayed small on github, tho the svg file can be enlarged without losing resolution.
There was a problem hiding this comment.
I think this is more confusing than it is helpful. I can probably be removed.
There was a problem hiding this comment.
ok I can remove it. I just want to illustrate the input and output. Not sure the best way to do that in pure dot graph.
There was a problem hiding this comment.
Everything is an input and an output though (other than a few exceptions).
There was a problem hiding this comment.
Sort of, but I want to highlight the user input and the final output that will be consumed by most of users who won't touch the intermediate generated files.
Anyway, no strong opinion on that.
|
@yifan-gu none of the TLS assets depend on the install config in your graph. |
|
Rather than trying to show the install targets along the side, can you just add them into the graph? That way, we know exactly which assets get output at which stage. |
0223598 to
6e86a25
Compare
@crawford What's in your mind on |
974d0cd to
622befd
Compare
There was a problem hiding this comment.
s/cluster_apiserver/clusterapi_apiserver
2c6d9b9 to
bccea0b
Compare
|
can we add |
c803e5b to
f06bc38
Compare
|
@abhinavdahiya Added |
There was a problem hiding this comment.
The label should also be clusterapi apiserver crt/key
Add the resource_dep.dot and its generated svg graph file.
f06bc38 to
f582831
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, yifan-gu 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 |
Update bmh crd
Moving powervs_regions.go out of the rhcos package and into a powervs package.
Add the resource_dep.dot and its generated svg graph file.