packaged by Chainguard
Catalog Starter gives your team 5 production-grade container images, free forever, with no contract or sales call. Sign up with your work email.
Try Starter for freeMinimal Sveltos Shard Controller image that provisions a dedicated set of Sveltos controllers per cluster shard.
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
The cgr.dev/ORGANIZATION/sveltos-shard-controller image is comparable to the upstream projectsveltos/shard-controller image. It preserves the /manager entrypoint, / working directory, UID and GID 65532:65532, and absence of default command arguments. The /manager compatibility symlink points to the packaged executable at /usr/bin/manager.
This image contains the Shard Controller only. The Deployments it generates for each shard reference the upstream Sveltos component images that the controller pins by digest, not Chainguard Containers. The upstream projectsveltos Helm chart deploys the other Sveltos components in separate containers. The minimal image does not include a shell or package manager.
You need a Kubernetes cluster supported by the upstream chart, Helm, kubectl, and permission to install custom resource definitions and cluster RBAC. Configure the cluster to authenticate to Chainguard's registry and pull cgr.dev/ORGANIZATION/sveltos-shard-controller. If you use an image pull Secret, add it to global.imagePullSecrets in the values file below.
Install Sveltos with its official Helm chart, overriding the Shard Controller image. Replace ORGANIZATION with your organization's registry repository name:
The chart creates the controller's service account, permissions, and CRDs, and sets the required NAMESPACE environment variable from the Pod's namespace. The controller exits immediately when NAMESPACE is unset. Keep global.useDigest at its default of false: when it is true, the chart uses shardController.manager.image.digest, which defaults to the upstream image digest, and the same applies to Access Manager. The example also runs Chainguard's sveltos-access-manager image; the other Sveltos components retain their chart defaults.
Shard Controller watches SveltosCluster and Cluster API Cluster objects for the sharding.projectsveltos.io/key annotation. For each distinct key it provisions a dedicated set of Sveltos controllers, named addon-controller, classifier-manager, event-manager, hc-manager, and sc-manager with the shard key as a suffix, and it removes them again when the last cluster of that shard goes away or moves to another key. The chart registers the management cluster as the mgmt SveltosCluster in the mgmt namespace. To move it to a shard of its own and wait for that shard's controllers:
Cluster API Cluster objects are watched only when the clusters.cluster.x-k8s.io CRD serves v1beta2. If Cluster API is installed after the controller starts, the controller exits once and Kubernetes restarts it to begin watching them.
To customize the generated Deployments, set shardController.shardComponentsConfigMap.data to one or more libsveltos Patch documents. The chart renders them into a ConfigMap and passes --shard-components-config to the manager, which re-applies every active shard whenever the ConfigMap changes:
A patch without a target applies to every Deployment the controller generates. Give a patch a target when it changes a path that only some of those Deployments have, such as an init container, because a replace on a missing path stops the controller from deploying the rest of that shard.
The manager serves liveness and readiness probes on :9440 (--health-addr) and authenticated diagnostics over TLS on :8443 (--diagnostics-address). Reading /metrics requires a bearer token for a subject allowed to get the /metrics non-resource URL. Run --help for the full flag set.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardA FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.