Comments (10)
@nikParasyr - I proactively added this as a discussion topic for the Cluster API meeting agenda next week 3/29. Hopefully we will see you there.
from cluster-api-addon-provider-helm.
This is something I discussed with @fabriziopandini and @jackfrancis in the initial design, and we're planning on looking into it as part of an additional iteration of the prototype. I found that some Helm charts like cloud-provider-azure already have existing logic for matching the chart version with the K8s version, so in that case some charts would likely work out of the box.
I'm just brainstorming, but I wonder if we can add an additional field like versionMap
which could look something like this. The idea would be that if a regex in the map matches the K8s version, we install/upgrade to that version and if isn't in the map, we just default to the version specified in the version
field. What do you think about this?
versionMap:
1.24.*: 2.1.3.0
1.25.*: 2.14.0
from cluster-api-addon-provider-helm.
I found that some Helm charts like cloud-provider-azure already have existing logic for matching the chart version with the K8s version
This is interesting. Although i'd say we can't expect all upstream helm charts to have such logic and adding that logic could be a lot of work for users.
I'm just brainstorming, but I wonder if we can add an additional field like versionMap which could look something like this. The idea would be that if a regex in the map matches the K8s version, we install/upgrade to that version and if isn't in the map, we just default to the version specified in the version field. What do you think about this?
I think this would work for my use-case. The versionMap
should be optional but have higher priority than version
when it's set. It would be beneficial if CAAPH automatically picks up the version and not through labels ( this will be easier from user perspective, addons will be deployed faster and will not require users to update a label after the upgrade).
from cluster-api-addon-provider-helm.
For this feature - I think we should also consider the use case scope for this add on. If the primary goal is a one-time install, then you should know which version of the helm chart you need to install because you also are installing a specific version of kubernetes.
from cluster-api-addon-provider-helm.
I think we should also consider the use case scope for this add on. If the primary goal is a one-time install,
by add-on i assume you mean CAAPH. For one-time installs there is also ClusterResourceSet
from capi itself. Although it doesn't use Helm. From the docs of this repo:
by providing a solution for managing the installation, configuration, upgrade, and deletion of Cluster add-ons using Helm charts
CAAPH already does more than just one-time installs. I was expecting that "smooth" upgrades of add-ons would fall under this scope as well. If this is not the case, i'd like to know now because this is a blocker for us. I understand though that it might take some time to be implemented (if its considered in-scope).
@Jont828 Do you think this is in scope of CAAPH?
from cluster-api-addon-provider-helm.
@nikParasyr - The scope for this project is still open for discussion, which is why I said we should consider it for this add on (yes I meant CAAPH). We should consider upgrade. I do think there is a line at some point where alternative solutions are more appropriate compared to CAAPH. I believe the topic of scope would be a great discussion on the community call, but as I already mentioned to you I'm also happy to have a 1:1 conversation to better understand your requirements/use case.
Furthermore, as this is an open-source project - especially a new one - we are looking for more contributors and maintainers.
from cluster-api-addon-provider-helm.
@nikParasyr For some additional context on scope -- we plan on iterating over the design of this project going forward, and we're currently working on the first iteration with a limited scope (essentially everything listed in the add-on proposal). But the scope of future iterations is up to the community -- as David said, I think it would be good to bring up your concerns about versions in the community call to get a temp read.
from cluster-api-addon-provider-helm.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale
- Close this issue with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
from cluster-api-addon-provider-helm.
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle rotten
- Close this issue with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
from cluster-api-addon-provider-helm.
/remove-lifecycle rotten
from cluster-api-addon-provider-helm.
Related Issues (20)
- cilium cni helm deployment working, but its result is missing in helm list output HOT 6
- add support for "clusterctl move" HOT 2
- x509 cert error with internal helm oci repository with internal CA HOT 1
- Support Helm chart with local filepath HOT 4
- No image available for new version v0.1.0-alpha.10 HOT 1
- Issues with installing caaph via clusterctl HOT 7
- CAPI v1.6.0-beta.0 has been released and is ready for testing HOT 3
- Update helm values of an application which was installed with Helmchartproxy/Helmreleaseproxy HOT 2
- Feature request: HelmChartProxy workload cluster watch at cluster scoped level HOT 2
- Image not found HOT 3
- Able to set the `LeaseDuration`, `RenewDeadline` and `RetryPeriod` flags for the manager
- Missing container images of release HOT 3
- Support one-shot mode HOT 24
- Support for OCI based helm repositories HOT 4
- Add support for helm options like wait, skip-crds, timeout, etc HOT 7
- Is it allowed for me to deploy resources on the workload node before deploying Helm? HOT 7
- CAAPH panic when a HRP should be deleted HOT 3
- CAPI v1.5.0-beta.0 has been released and is ready for testing HOT 1
- HelmChartProxies with chart names that have slashes fail to reconcile HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-api-addon-provider-helm.