Artifacts
Last updated
Last updated
The complete Kubernetes agent setup uses Helm charts for deployment, ensuring consistent and reproducible installations across environments.
To set up the agent in your cluster, there are three key parts:
Deployer – A one-time job that installs all required components.
Agent – A continuously running service consisting of Exporter, Prometheus and OpenCost.
Updater - Maintain and patches the agent as and when new updates are available.
Everything listed here is accessible so you can review, audit, and verify what’s being installed in your environment.
To download container images hosted on Amazon ECR Public, run the following command to authenticate your Docker client:
The OneLens Deployer is a one-time Kubernetes job designed to onboard your EKS cluster seamlessly. Deployed using a Helm chart, it sets up all necessary OneLens agent components on your cluster.
Deployment: One-time Kubernetes job deployed via Helm.
Function: Installs the full OneLens agent stack on the EKS cluster.
Permissions: Temporarily adopts the following RBAC permissions to deploy required resources. These permissions grant cluster-wide, unrestricted access across all API groups, resources, and actions. This is necessary because the job handles setup tasks that may span multiple namespaces, involve multiple resource types (e.g., ConfigMaps, Secrets, CRDs), and require administrative-level control.
Lifecycle: No OneLens resource will have these RBAC permissions after onboarding the agent.
Cleanup Post-Onboarding: Once onboarding is complete, the onelensdeployer
job automatically deletes itself. You can verify this behavior by referring to the final line of the installation script.
Source Code
Repository:
Full Package
Helm Chart:
Container Image
ECR Public Image:
The OneLens Agent is a set of components deployed on your Kubernetes cluster to collect cost and usage metrics.
Source Code
OneLens Exporter
Hourly job that collects cost and usage metrics from Prometheus and uploads them to S3.
Prometheus
Uses the open-source Prometheus for metrics collection.
OpenCost
Uses the open-source OpenCost for Kubernetes cost visibility.
Full Package
Container Image
ECR Public Image:
The OneLens Updater is responsible for daily maintenance and patching of the OneLens agent. It runs automatically every day at 2:00 AM UTC.
Deployment: Deployed during initial onboarding.
Function: Checks patches. looks for user's approval and applies them to the OneLens agent.
Permissions: Uses RBAC permissions to read resource states, verify configurations, and apply patches.
Lifecycle: Remains active post-onboarding to support automated daily updates.
Repository:
Repository:
Repository:
Helm Chart: