onelens-installation-scripts

OneLens Installation Scripts

Simplified Kubernetes cost optimization and monitoring deployment

Documentation Helm Charts Docker

Overview

OneLens Installation Scripts provides automated deployment tools for setting up comprehensive Kubernetes cost monitoring and optimization infrastructure. This repository contains Helm charts and automation scripts to deploy OneLens agents and supporting monitoring stack.

Components

OneLens Deployer

A Kubernetes job orchestrator that handles the initial setup and configuration of OneLens infrastructure in your cluster.

Features:

OneLens Agent

The core monitoring agent that collects cost and resource utilization data from your Kubernetes cluster.

Includes:

Quick Start

Prerequisites

Installation

  1. Add the OneLens Helm repository:
    helm repo add onelens https://astuto-ai.github.io/onelens-installation-scripts/
    helm repo update
    
  2. Deploy OneLens Deployer:
    helm upgrade --install onelensdeployer onelens/onelensdeployer \
      --set job.env.CLUSTER_NAME=your-cluster-name \
      --set job.env.REGION=your-aws-region \
      --set-string job.env.ACCOUNT=your-aws-account-id \
      --set job.env.REGISTRATION_TOKEN="your-registration-token"
    
  3. Deploy OneLens Agent:
    helm upgrade --install onelens-agent onelens/onelens-agent \
      --namespace onelens-system \
      --create-namespace
    

List Available Charts

helm search repo onelens

Creating New Releases

Prerequisites

Release Process

  1. Create and push a new tag:
    git tag -a v1.2.1 -m "Release version 1.2.1"
    git push origin v1.2.1
    
  2. Create GitHub release:
    gh release create v1.2.1 \
      --title "OneLens Charts v1.2.1" \
      --notes "Release notes for version 1.2.1" \
      --generate-notes
    
  3. Upload chart packages (if not automated):
    gh release upload v1.2.1 onelens-agent-1.2.1.tgz onelensdeployer-1.2.1.tgz
    
  4. Update Helm repository index:
    helm repo index . --url https://astuto-ai.github.io/onelens-installation-scripts/
    git add index.yaml
    git commit -m "Update Helm repository index for v1.2.1"
    git push origin gh-pages
    

Automated Release

Charts are automatically published when new releases are created through GitHub Actions. The CI/CD pipeline will:

Repository Information

Contributing

We welcome contributions! Please see our development guide for details on:

Support

What’s Next?

After installation, your cluster will be monitored by OneLens. Visit the OneLens platform to:


Made with love ♥️ by the OneLens Team