DE-3668: Add docs for juju charmed kubernetes - #2249
Conversation
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@Glen-Tigera Thanks for this first submission to the docs repo! Looks like everything is working as it ought to. I'd like to take this for a spin before I complete my review. I spotted a guide from Sara about spinning up a Charmed cluster, so I'll try to get through that and follow your install guide in the next day or so. It's not a bad idea to get an SME review as well. Is there anyone else involved who could look it over? Perhaps Sara? |
Hey @ctauchen , sounds good. Yeah think Sara could help with reviewing the instructions to create a charmed cluster. I think the doc that Sara wrote is similar to the quickstart that canonical has published, I have referenced this here - https://github.com/tigera/docs/pull/2249/files#diff-348f762926833df3dbadcbb62ade5c52e710793b2fe0f453069940fe48a8296fR61 I am not sure how informative I should be in this doc, so let me know if I need to call out exact steps or can reference a 3rd party link that owns provisioning for those clusters. Thanks! |
ctauchen
left a comment
There was a problem hiding this comment.
Thanks @Glen-Tigera. I've made a few small suggestions below.
There are a couple other questions that may be worth addressing.
- Does this installation work with any Charmed cluster? Or are there special configurations or procedures that must be done during or after you create the cluster? In particular, I wonder about the fact that Calico is already present by default. Is it a requirement that the Charmed cluster have Calico already as a CNI? Or will any possible configuration work?
- Do we need to address the tigera-secure-ee installation option in Charmed k8s? What's going on there? https://ubuntu.com/kubernetes/charmed-k8s/docs/tigera-secure-ee
|
|
||
| <GeekDetails | ||
| prodname='$[prodname]' | ||
| details='Policy:Calico,IPAM:Calico,CNI:Calico,Overlay:IPIP,Routing:BGP,Datastore:Kubernetes' |
There was a problem hiding this comment.
A reminder to double check these.
There was a problem hiding this comment.
It depends on the path they take - if they are following the quick start to provisioned a charmed k8s cluster using the canonical docs, I think the details are slightly different. But I can confirm this setup looks accurate from provisioning using a custom bundle (overlay).
| :::note | ||
|
|
||
| By default, Charmed Kubernetes uses Calico for networking. Other CNI options like Flannel or Canal can be configured using bundle overlays during deployment. | ||
|
|
||
| ::: |
There was a problem hiding this comment.
I think we can strike this. Unless you're suggesting alternative installation patterns, like installing CE for policy while using Flannel for networking?
There was a problem hiding this comment.
This is an example from the canonical docs but thought we can call out there is an option to configure flannel CNI using an overlay - https://ubuntu.com/kubernetes/charmed-k8s/docs/cni-flannel
Co-authored-by: Christopher Tauchen <tauchen@gmail.com>
|
If that's the case, then we need to provide guidelines for users so they can follow the guide. If, for example, it's a requirement that they delete the packaged Calico CNI, then we need to say that. And explain why people can't just follow the upgrade from Calico to CE doc. Basically, someone with no exposure to Charmed/juju should be able to find enough information here to correctly get to the base setup you need to install CE with the instructions you provide. |
Got it, thanks @ctauchen. I will ensure to include that info. |
…e Charmed Kubernetes cluster to install Calico Enterprise
@ctauchen I added some additional information on using a bundle file to setup a charmed cluster for installing CE in the charmed-k8s.mdx files. I mentioned some of the challenges a user may face and steps to address it. Let me know if there's any feedback around this. Thanks! |
|
@Glen-Tigera Thanks for the changes. I've got one last high-level question for you. Now the guide seems to be saying: Create a Charmed cluster with juju. Don't use the default settings with the default Calico. Instead, you must create the cluster with no CNI. The way to to this is to specify that no-CNI setting in a bundle.yaml file. But then you supply a bundle file with loads of configuration options. Can we simplify this? Which of those parameters are required? |
@ctauchen The default bundle file already contains these charms specified in the custom bundle I have in the doc to deploy the charmed kubernetes cluster. I believe these are required applications to create a healthy charmed cluster (k8s control plane, k8s worker, easyrsa charms etc) The bundle provided in the doc is already at the most minimal configuration. Other than the |
…docs [DE-3668] Incorporate docs feedback for charmed kubernetes
|
@ctauchen Thanks for touching base about this last week. As discussed, I've incorporated the changes to mention preparation of the bundle file for charmed k8s, reason for removing calico from the bundle, additional steps to setup the controller, model via Juju, and removing legacy JSX files. If I am missing anything else, please let me know. This is a PR from my forked repo that contains those changes that I've merged into this branch - Glen-Tigera#1 |
|
LGTM! Ready to merge? |

This PR adds documentation to call out support for charmed kubernetes by Canonical. Docs have been updated for calico enterprise for v3.20 and above as this was tested starting in CE v3.20 GA.
Product Version(s):
Applies to Calico Enterprise v3.20 and older
Issue:
https://tigera.atlassian.net/browse/DE-3668
Link to docs preview:
SME review:
DOCS review:
Additional information:
Merge checklist: