Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Core Kubernetes infrastructure configurations, manifests, and automation tools. Provides standardized K8s deployments, cluster management utilities, and infrastructure-as-code templates for scalable container orchestration.

Notifications You must be signed in to change notification settings

ITlusions/ITL.K8S

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

ITL.K8s - Kubernetes

Welcome to the ITlusions Kubernetes (ITL.K8s) documentation repository. This repository serves as the central hub for all Kubernetes-related documentation, best practices, configurations, and operational guides.

πŸ“‹ Table of Contents

πŸš€ Quick Start

New to ITL Kubernetes?

  1. πŸ“– Read the Documentation Index - Start here for a complete overview
  2. πŸ” Set up GitHub Authentication - Configure cluster access
  3. πŸ’Ύ Understand Storage Classes - Choose the right storage for your workloads
  4. οΏ½ Review Emergency Access - Understand break glass procedures
  5. οΏ½πŸ› οΈ Follow our Best Practices - Ensure production-ready deployments

Quick Access Links

Resource Description Status
πŸ“š Full Documentation Complete documentation index βœ… Available
πŸ” Authentication Guide GitHub OAuth setup for K8s access βœ… Available
πŸ’Ύ Storage Classes Storage configuration and selection guide βœ… Available
🚨 Emergency Access Break glass procedures for critical incidents βœ… Available
πŸ—οΈ Architecture Diagrams Infrastructure overview and patterns 🚧 Coming Soon
πŸ“Š Monitoring Dashboards Grafana dashboards and alerts 🚧 Coming Soon

πŸ“ Documentation Structure

ITL.K8s/
β”œβ”€β”€ README.md                          # This file - main entry point
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ index.md                       # Complete documentation index
β”‚   β”œβ”€β”€ authentication/
β”‚   β”‚   β”œβ”€β”€ GITHUB_AUTHENTICATION.md  # GitHub OAuth for Kubernetes
β”‚   β”‚   └── EMERGENCY_ACCESS.md        # Break glass emergency procedures
β”‚   └── storageClasses/
β”‚       β”œβ”€β”€ README.md                  # Storage classes overview
β”‚       β”œβ”€β”€ ha-dbs-lh.yaml            # High availability database storage
β”‚       β”œβ”€β”€ longhorn.yaml             # Default distributed storage
β”‚       β”œβ”€β”€ longhorn-static.yaml      # Simplified Longhorn storage
β”‚       β”œβ”€β”€ minio-data.yaml           # MinIO object storage
β”‚       β”œβ”€β”€ nfs-csi.yaml              # Network file system storage
β”‚       β”œβ”€β”€ openebs-hostpath.yaml     # Local high-performance storage
β”‚       └── local-storage.yaml        # Manual provisioned storage
└── [Additional directories as needed]

πŸ’Ύ Storage Classes

Our Kubernetes cluster provides multiple storage classes optimized for different workloads:

πŸ† Recommended Storage Classes

Storage Class Use Case Performance Availability Documentation
ha-dbs-lh πŸ—„οΈ Production databases High Very High Details
longhorn πŸ“± General applications High High Details
openebs-hostpath ⚑ High-performance apps Very High Medium Details
nfs-csi 🀝 Shared volumes Medium High Details

πŸ‘‰ Complete Storage Classes Guide

Quick Storage Selection

# For databases (PostgreSQL, MySQL, MongoDB)
kubectl apply -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: database-storage
spec:
  accessModes: [ReadWriteOnce]
  storageClassName: ha-dbs-lh
  resources:
    requests:
      storage: 10Gi
EOF

# For applications
kubectl apply -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: app-storage
spec:
  accessModes: [ReadWriteOnce]
  storageClassName: longhorn
  resources:
    requests:
      storage: 5Gi
EOF

πŸ” Authentication

GitHub OAuth Integration

We use GitHub OAuth for Kubernetes cluster authentication through Keycloak:

  • βœ… Single Sign-On: Use your GitHub credentials
  • βœ… Team-based Access: GitHub teams β†’ Kubernetes RBAC
  • βœ… Centralized Management: All access through Keycloak
  • βœ… Audit Trail: Complete authentication logging

πŸ‘‰ Setup GitHub Authentication

Emergency Access 🚨

When normal authentication fails, we provide tiered emergency access:

  1. Emergency Keycloak Accounts: Local admin accounts in Keycloak (fastest)
  2. Node-stored Configuration: Emergency kubeconfig on control plane nodes
  3. Vault Backup: Final fallback through HashiCorp Vault

πŸ‘‰ Emergency Access Procedures

Quick Auth Setup

# Check your current authentication
kubectl auth whoami

# Login with GitHub (via Keycloak)
kubectl oidc-login

# Verify your permissions
kubectl auth can-i get pods --namespace=default

πŸ› οΈ Getting Started

For Developers

  1. Setup Access: Follow the GitHub Authentication Guide
  2. Choose Storage: Use the Storage Classes Guide
  3. Deploy Applications: Follow our deployment best practices
  4. Monitor: Use our monitoring dashboards

For Platform Engineers

  1. Read Full Documentation: Start with docs/index.md
  2. Understand Architecture: Review infrastructure patterns
  3. Configure Security: Implement RBAC and network policies
  4. Setup Monitoring: Deploy observability stack

For DevOps Teams

  1. CI/CD Integration: Setup GitHub Actions with OIDC
  2. GitOps Workflows: Configure ArgoCD deployments
  3. Security Policies: Implement Pod Security Standards
  4. Disaster Recovery: Setup backup and recovery procedures

πŸ—οΈ Best Practices

πŸ”’ Security

  • Use ha-dbs-lh storage class for production databases
  • Implement network policies for pod-to-pod communication
  • Regular security audits and compliance checks
  • Principle of least privilege for RBAC

πŸ“ˆ Performance

  • Choose appropriate storage classes for workload requirements
  • Monitor resource usage and set appropriate limits
  • Use horizontal pod autoscaling where applicable
  • Optimize container images for faster startup

πŸ’° Cost Optimization

  • Right-size storage volumes and compute resources
  • Use spot instances where appropriate
  • Regular cleanup of unused resources
  • Monitor and optimize cluster utilization

πŸ”§ Operations

  • Follow GitOps practices for all deployments
  • Implement comprehensive monitoring and alerting
  • Document all customizations and configurations
  • Regular backup and disaster recovery testing

πŸ†˜ Getting Help

Issue Type Contact Method Response Time
Emergency Matrix: #platform-emergency Immediate
General Questions Matrix: #kubernetes-help Same day
Documentation GitHub Issues 1-2 days
Feature Requests GitHub Issues Weekly review

πŸ‘₯ Team Contacts

  • Platform Team: Overall cluster management and infrastructure
  • Security Team: Security policies and compliance
  • DevOps Team: CI/CD and deployment automation

πŸ”— Useful Links

πŸ“Š Repository Statistics

GitHub last commit GitHub issues GitHub pull requests GitHub stars


πŸ“œ License

This documentation is maintained by the ITlusions Platform Team.

Last Updated: September 14, 2025 | Version: 1.0 | Status: 🟒 Active


πŸ’‘ Tip: Bookmark this README and the Documentation Index for quick access to all Kubernetes resources!

Happy Kubernetes-ing! 🚒

About

Core Kubernetes infrastructure configurations, manifests, and automation tools. Provides standardized K8s deployments, cluster management utilities, and infrastructure-as-code templates for scalable container orchestration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published