Skip to content

Self-hosted Kubernetes CDE for ML with GPU support

Notifications You must be signed in to change notification settings

heshdotcc/hacklab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacklab

Self-hosted Kubernetes CDE for ML with GPU support, including JupyterHub, Monitoring, and a codespace.

Directory Structure

Note: This project is being upgraded to its next version.

.
├── kubernetes
│   ├── compute
│   │   ├── kserve-inference
│   │   └── nvidia-operator
│   ├── monitoring
│   │   ├── alertmanager
│   │   ├── alloy
│   │   ├── grafana
│   │   ├── loki
│   │   ├── prometheus
│   │   └── tempo
│   ├── networking
│   │   ├── istio
│   │   ├── metallb
│   │   ├── teleport
│   │   └── wireguard
│   ├── platform
│   │   ├── codespace
│   │   ├── gitlab
│   │   └── jupyterhub
│   ├── security
│   │   ├── cert-manager
│   │   ├── external-secrets
│   │   └── sealed-secrets
│   └── storage
│       ├── kaniko
│       ├── minio
│       ├── registry
│       └── volumes
├── flake.nix
└── README.md

JupyterHub

  • Contains configurations for deploying JupyterHub on Kubernetes.
    • flake.nix: Nix flake that fetches utils & scoped secrets.
    • secrets.nix: Where your secrets templating definiton goes.
    • values: Kubernetes YAML files for JupyterHub.
      • configmap.yaml
      • deployment.yaml
      • services.yaml

Monitoring

  • Contains configurations for monitoring stack including Prometheus and Grafana.
    • flake.nix: Nix flake that fetches utils & scoped secrets.
    • README.md: Documentation for setting up and managing the monitoring stack.
    • secrets.nix: Where your secrets templating definiton goes.
    • values: Kubernetes YAML files for monitoring components.
      • alertmanager
      • grafana
      • prometheus

Codespace

  • Contains configurations for deploying Coder.com as a codespace.
    • flake.nix: Nix flake that fetches utils & scoped secrets.
    • secrets.nix: Where your secrets templating definiton goes.
    • values: Kubernetes YAML files for Coder.com.
      • configmap.yaml
      • deployment.yaml
      • services.yaml

Getting Started

Prerequisites

  • Kubernetes cluster with GPU support
  • Nix package manager

Setup

  1. Clone the repository:
  git clone https://github.com/heshdotcc/hacklab.git && cd $_

About

Self-hosted Kubernetes CDE for ML with GPU support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages