- The resource deploys a project that is not currently supported by Chkk. Coverage extension may be requested (48hr premium SLA).
- The resource is part of an internal Application that should be ignored.
- Custom build processes or packaging may result in Docker image names and tags that Chkk cannot match to its Knowledge Graph
Annotating Resources Manually
Cluster resources can be classified by adding the following annotations: Ignore a resource: Add the annotationchkk.io/classify=ignore
to tell Chkk to ignore the resource. Chkk recommends to add this annotation to any internal applications.
Package: Use the chkk.io/package
annotation to specify a Package identifier. A Package identifier can be a Helm Chart URL, an OCI Repository URI, a source URL to a Kubernetes manifest, a Chkk Package UUID or a Chkk Package Alias.
Package Version: Use the chkk.io/package-version
annotation to specify a Package Version. For Helm Charts, the package version must be a SemVer2-compatible version string. For Kubernetes manifests use the release tag of the source code project where the manifests are sourced.
Project: Use the chkk.io/project
annotation to specify a Project Identifier. A Project Identifier can be a Docker/OCI repository URL, source code repository URL, Chkk Project UUID or Chkk Project Alias.
Project Version: Use the chkk.io/project-version
annotation to specify the Project Version. A Project Version is either the release tag for the Project’s source code or the Docker/OCI image tag associated with the Project’s primary component.
As an example, assume you have a custom image build system that has rebuilt the Cert Manager Docker images and pushed tags to your private artifact repository. Chkk is unable to determine which release of Cert Manager your Docker images are associated with and cluster resources are marked unclassified. You can add the following annotations to tell Chkk exactly what version of Cert Manager and the Cert Manager Helm Chart you are using:
Annotating Resources via CLI
First run a cluster scan and request an upgrade assessment here
chkk cluster classify
in your terminal and select the cluster on which to perform custom image mapping
Any resources marked as ignored will automatically apply the
chkk.io/classify=ignore
to the resource manifest. This resource will no longer show up as unclassified.- https://charts.jetstack.io/cert-manager
- oci://registry-1.docker.io/bitnamicharts/cert-manager
- charts.jetstack.io/cert-manager
- https://github.com/cert-manager/cert-manager/tree/master/deploy/charts/cert-manager
- cert-manager
- quay.io/jetstack/cert-manager-controller
- docker.io/bitnami/cert-manager
- https://github.com/cert-manager/cert-manager
chkk upgradeassessment request <cluster_id
to request a fresh upgrade assessment for your cluster to observe any newly classified resources:
chkk upgrade assessment get <assessment_id>
to view the upgrade assessment and observe recommendations for any newly classified resources: