
Sveltos
Please refere to sveltos documentation.
Addon deployment: how it works

The idea is simple:
- from the management cluster, selects one or more
clusters
with a Kubernetes label selector;
- lists which
addons
need to be deployed on such clusters.
where term:
clusters
represents both CAPI cluster or any other Kubernetes cluster registered with Sveltos;
addons
represents either an helm release or a Kubernetes resource YAML.
Here is an example of how to require that any CAPI Cluster with label env: prod has following features deployed:
- Kyverno helm chart (version v2.6.0)
- kubernetes resource(s) contained in the referenced Secret: default/storage-class
- kubernetes resource(s) contained in the referenced ConfigMap: default/contour.
apiVersion: config.projectsveltos.io/v1alpha1
kind: ClusterProfile
metadata:
name: demo
spec:
clusterSelector: env=prod
syncMode: Continuous
helmCharts:
- repositoryURL: https://kyverno.github.io/kyverno/
repositoryName: kyverno
chartName: kyverno/kyverno
chartVersion: v2.6.0
releaseName: kyverno-latest
releaseNamespace: kyverno
helmChartAction: Install
values: |
replicaCount: "{{ .Cluster.Spec.Topology.ControlPlane.Replicas }}"
policyRefs:
- name: storage-class
namespace: default
kind: Secret
- name: contour-gateway
namespace: default
kind: ConfigMap
As soon as a cluster is a match for above ClusterProfile instance, all referenced features are automatically deployed in such cluster.
Refer to examples for more complex examples
Sveltos in action

To see the full demo, have a look at this youtube video
Contributing
❤️ Your contributions are always welcome! If you want to contribute, have questions, noticed any bug or want to get the latest project news, you can connect with us in the following ways:
- Open a bug/feature enhancement on github

- Chat with us on the Slack in the #projectsveltos channel

- Contact Us
License
Copyright 2022.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.