KalpOps Evolving Eternally

Authenticating...

Access Denied

Your account has been blocked from accessing this site.

If you believe this is an error, please contact the site administrator.

← Back to Portfolio
DevOps

EKS Post-Installation Helper Utility

Automated post-deployment toolkit for Amazon EKS clusters, streamlining installation, validation, and management of critical Kubernetes components.

BashAWS EKSHelmKubectlDatadogKongVeleroStackRoxKustomize

⚙️ The Problem: EKS Post-Deployment Complexity

After provisioning an Amazon EKS cluster, there's still a mountain of work to do before it's production-ready: monitoring, storage classes, ingress controllers, security tools, RBAC, and more — each requiring manual configuration and validation.

⏱️
Time-Consuming

Hours of manual configuration for each new cluster

🔄
Inconsistent

Different configurations across clusters lead to drift

Error-Prone

Manual steps invite human errors and misconfigurations

📚
Knowledge Gap

Tribal knowledge required for proper setup

🚀 The Solution: Intelligent Automation

This project is a comprehensive intelligent automation toolkit that transforms the entire post-installation process for EKS clusters. It doesn't just run commands — it thinks through the process, making intelligent decisions at every step.

🧠 Smart Detection

Auto-discovers cluster configuration, AWS account, region, node groups, and existing installations

🔍 Pre-flight Checks

Validates all dependencies, credentials, and cluster connectivity before any action

Intelligent Execution

Skips already-installed components, upgrades outdated ones, and handles edge cases

Self-Validation

Every component is automatically validated post-install with built-in health checks

1 Discover
2 Validate
3 Install
4 Verify
5 Report

The utility transforms a complex, multi-hour process into a repeatable, intelligent workflow that ensures every cluster is configured consistently and correctly — with zero manual intervention.

📦 Supported Components

📊 Monitoring
  • Datadog Agent
  • Kube State Metrics
  • Metrics Server
💾 Storage
  • EBS CSI Driver
  • EFS CSI Driver
  • Encrypted Storage Classes
🌐 Networking
  • Kong Ingress (Internal/External)
  • AWS Load Balancer Controller
  • VPC CNI Plugin
🔐 Security
  • StackRox (RHACS)
  • RBAC Configuration
  • IAM Policies for S3
🔄 Operations
  • Velero (Backup/DR)
  • Cluster Autoscaler
  • CoreDNS PDB
🔧 Utilities
  • Kubeconfig Generator
  • Dependency Checker
  • AWS Login Handler

🏛️ Script Architecture

The utility follows a modular architecture where each component has its own install and validation functions. This design allows for:

🧩
Modular Design

Each component is self-contained with install/validate/uninstall functions

🎯
Selective Installation

Install only what you need: single apps, multiple apps, or all at once

Built-in Validation

Every component has validation logic to verify successful installation

Timeout Handling

Phase timeouts prevent indefinite hangs during deployment

✨ Key Features

🔐 AWS Integration

Automatic AWS login via gimme-aws-creds, IAM role discovery, and region detection.

📋 Dependency Checking

Validates kubectl, helm, jq, aws-cli, git, kustomize, and roxctl before execution.

🎨 Rich Output

Color-coded logging (info, warn, error, success) for clear visibility.

Flexible Flags

-i (install), -v (validate), -u (uninstall), -A (all apps), -n (specific apps).

🔄 Idempotent

Safe to run multiple times — detects existing installations and skips/upgrades.

📝 Version Control

Script validates it's running the latest version from master branch.

📄 Sample Configurations Managed

The utility manages complex Kubernetes configurations, including:

Encrypted Storage Class

GP3 volumes with KMS encryption, WaitForFirstConsumer binding, and volume expansion

Datadog Helm Values

Full observability stack with APM, logs, process monitoring, and orchestrator explorer

Kong Ingress Controller

Internal and external configurations with AWS ELB annotations and security groups

Cluster Autoscaler

IRSA-enabled autoscaler with least-waste expander strategy

AWS VPC CNI

Custom network configurations with ENIConfig for secondary CIDR support

🏆 Benefits Achieved

Speed

Cluster post-install reduced from hours to minutes with automated processes.

🎯 Consistency

Every cluster is configured identically, eliminating configuration drift.

🔒 Reliability

Built-in validation catches issues immediately, not in production.

📈 Scalability

Easily manage dozens of clusters with the same tooling and standards.

👥 Team Enablement

Codified knowledge — any team member can provision production-ready clusters.

🔄 Maintainability

Modular design makes adding new components or updating existing ones simple.

Session Timeout Warning

You've been inactive. Your session will expire in 60 seconds.