DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
sveltos-classifier logo

sveltos-classifier

packaged by Chainguard

Last changed
Start with 5 free container images

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 free
Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for sveltos-classifier

Minimal Sveltos Classifier image that dynamically classifies clusters based on run-time information such as Kubernetes version and deployed resources.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/sveltos-classifier:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

The cgr.dev/ORGANIZATION/sveltos-classifier image is comparable to the upstream projectsveltos/classifier image. It preserves the /manager entrypoint, / working directory, UID and GID 65532:65532, and absence of default command arguments, and sets SSL_CERT_FILE to the bundled CA certificates as upstream does. The /manager compatibility symlink points to the packaged executable at /usr/bin/manager.

This image contains the Classifier controller. The upstream projectsveltos Helm chart deploys other Sveltos components in separate containers, and Classifier deploys sveltos-agent into each registered cluster. The minimal image does not include a shell or package manager.

Prerequisites

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-classifier. If you use an image pull Secret, add it to global.imagePullSecrets in the values file below.

Getting Started

Install Sveltos with its official Helm chart and override the Classifier image. The chart configures this component under the classifierManager key. Replace ORGANIZATION with your organization's registry repository name:

helm repo add projectsveltos https://projectsveltos.github.io/helm-charts
helm repo update
cat > values.yaml <<'EOF'
global:
  useDigest: false
classifierManager:
  manager:
    image:
      registry: cgr.dev
      repository: ORGANIZATION/sveltos-classifier
      tag: latest
accessManager:
  manager:
    image:
      registry: cgr.dev
      repository: ORGANIZATION/sveltos-access-manager
      tag: latest
hcManager:
  manager:
    image:
      registry: cgr.dev
      repository: ORGANIZATION/sveltos-healthcheck-manager
      tag: latest
shardController:
  manager:
    image:
      registry: cgr.dev
      repository: ORGANIZATION/sveltos-shard-controller
      tag: latest
scManager:
  manager:
    image:
      registry: cgr.dev
      repository: ORGANIZATION/sveltos-sveltoscluster-manager
      tag: latest
EOF
helm upgrade --install sveltos projectsveltos/projectsveltos \
  --namespace projectsveltos --create-namespace \
  --values values.yaml --wait --timeout 10m
kubectl rollout status deployment/classifier-manager \
  --namespace projectsveltos --timeout=180s

The chart creates the controller's service account, permissions, and CRDs, and sets the required NAMESPACE environment variable from the Pod's namespace. Keep global.useDigest at its default of false: when it is true, the chart uses classifierManager.manager.image.digest, which defaults to the upstream image digest, and the same applies to Access Manager, Healthcheck Manager, Shard Controller, and SveltosCluster Manager. The example also runs Chainguard's sveltos-access-manager, sveltos-healthcheck-manager, sveltos-shard-controller, and sveltos-sveltoscluster-manager images; the other Sveltos components retain their chart defaults.

Configuration

Classifier watches Classifier resources and the registered SveltosCluster and Cluster API Cluster objects. For each registered cluster it deploys sveltos-agent, which evaluates the Classifier's criteria, such as Kubernetes version constraints or deployed resources, and reports the result. When a cluster matches, Classifier applies the Classifier's labels to that cluster, and removes them again when the cluster no longer matches or the Classifier is deleted.

The chart registers the management cluster as the mgmt SveltosCluster in the mgmt namespace. The following Classifier labels every registered cluster that runs Kubernetes 1.24.0 or later:

cat > classifier.yaml <<'EOF'
apiVersion: lib.projectsveltos.io/v1beta1
kind: Classifier
metadata:
  name: k8s-version
spec:
  classifierLabels:
  - key: k8s-version
    value: modern
  kubernetesVersionConstraints:
  - comparison: GreaterThanOrEqualTo
    version: 1.24.0
EOF
kubectl apply -f classifier.yaml
kubectl wait sveltoscluster mgmt --namespace mgmt \
  --for=jsonpath='{.metadata.labels.k8s-version}'=modern --timeout=300s

ManagementClusterClassifier resources classify clusters without an agent, by evaluating a Lua script against resources in the management cluster.

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.

Documentation and Resources

What are Chainguard Containers?

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.

Need additional packages?

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.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.

Trademarks

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.

Licenses

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 agreement

    Compliance

    Chainguard 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 Chainguard

    This image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.

    PCI DSS at Chainguard

    A FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.


    Related images
    sveltos-classifier-fips logoFIPS

    sveltos-classifier-fips


    Category
    Application

    The trusted source for open source

    Talk to an expert
    PrivacyTerms

    Product

    Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
    © 2026 Chainguard, Inc. All Rights Reserved.
    Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
    The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.