-
Notifications
You must be signed in to change notification settings - Fork 54
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
Quick Install: overlays operate with latest/stable bundle #762
Conversation
✅ Deploy Preview for cdk-next ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
The rest of this page assumes you already have Juju installed and have added | ||
The rest of this page assumes you already have Juju installed and have added |
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.
removed double space
the links here which function with the latest stable charm release. | ||
Be advised that you should use only **one** overlay from each category! |
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.
indicate the linked overlays only work with the latest versions of the bundles
<span>AWS integrator</span> | ||
<span>AWS integration</span> |
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.
these overlays are now multi-app integrations, rather than a single integrator charm
## Deploying an older Kubernetes version with newer charms | ||
|
||
Each Charmed Kubernetes release supports N-2 kubernetes releases. | ||
For example, Charmed Kubernetes 1.26 supports 1.26, 1.25, and 1.24 binary | ||
versions. Therefore, if you wish to install an older version of Kubernetes | ||
you may still be able to do so with the latest stable charms. | ||
|
||
Let's say, your project requires Kubernetes 1.24. Build an overlay which adjusts | ||
the charm configuration for that revision | ||
|
||
```yaml | ||
applications: | ||
kubernetes-control-plane: | ||
options: | ||
channel: 1.24/stable | ||
kubernetes-worker: | ||
options: | ||
channel: 1.24/stable | ||
``` | ||
|
||
and deploy with the 1.26/stable charm bundle | ||
|
||
```bash | ||
juju deploy charmed-kubernetes --channel=1.26/stable --overlay=1.24_overlay.yaml | ||
``` |
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.
Add instructions as to how to deploy an older k8s version with the latest charms
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.
🍰
You can also [download the fragment here][asset-aws-overlay]. | ||
|
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.
the above sample fragment isn't available from the bundle repo any longer
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.
thanks for the improvements and fixes 🍰
## Deploying an older Kubernetes version with newer charms | ||
|
||
Each Charmed Kubernetes release supports N-2 kubernetes releases. | ||
For example, Charmed Kubernetes 1.26 supports 1.26, 1.25, and 1.24 binary | ||
versions. Therefore, if you wish to install an older version of Kubernetes | ||
you may still be able to do so with the latest stable charms. | ||
|
||
Let's say, your project requires Kubernetes 1.24. Build an overlay which adjusts | ||
the charm configuration for that revision | ||
|
||
```yaml | ||
applications: | ||
kubernetes-control-plane: | ||
options: | ||
channel: 1.24/stable | ||
kubernetes-worker: | ||
options: | ||
channel: 1.24/stable | ||
``` | ||
|
||
and deploy with the 1.26/stable charm bundle | ||
|
||
```bash | ||
juju deploy charmed-kubernetes --channel=1.26/stable --overlay=1.24_overlay.yaml | ||
``` |
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.
🍰
|
||
|
||
### 1. Create a storage class using the `csi.vsphere.vmware.com` provisioner: | ||
|
||
```bash | ||
SC_NAME=mystorage |
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 like this pattern, we should use it more often
Addresses one part of issue #746 where @ca-scribner wanted to deploy 1.24, but ought to use 1.26/stable charms