Closed aauren closed 7 months ago
@emanic I think this is a good example of an area where we're missing a lot of key information (CNI docs in general). Would be good to brainstorm how / where we can fit this sort of information in.
This doesn't have to do specifically with CNI, but while I was trying to trace down some etcdv3 compaction errors that I was experiencing with my calico-kube-controller deployment. I found some more configuration options that are undocumented here: https://github.com/projectcalico/kube-controllers/blob/master/pkg/config/config.go
Specifically, I needed to know that I could stop Calico from doing it's own compaction by setting the env variable COMPACTION_PERIOD
to 0
.
Expected Behavior
Documentation should fully describe what the supported Calico CNI types do and why you would use them.
Current Behavior
Documentation currently doesn't do a good job explaining what the
host-local
type does or why you would or wouldn't want to use it over thecalico-ipam
type. From the documentation it only says the following:Possible Solution
Flesh out the documentation section a bit more to include information on what the options are, and specifically what changes are introduced to the way Calico works when the different options are exercised. It would also be helpful to give examples as to why you would use one or the other, and perhaps even specifically state that one should be the default option in most use cases.
@caseydavenport let me know more about the options in Slack:
I think that provides a place to start, but any additional information would be helpful.
Steps to Reproduce (for bugs)
N/A
Context
I spent several hours combing through documentation before I had to ask @caseydavenport in slack.
Your Environment
CC @emanic (as requested by @caseydavenport)