Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aenix-io/kubernetes-in-kubernetes
Deploy Kubernetes in Kubernetes using Helm
https://github.com/aenix-io/kubernetes-in-kubernetes
Last synced: about 2 months ago
JSON representation
Deploy Kubernetes in Kubernetes using Helm
- Host: GitHub
- URL: https://github.com/aenix-io/kubernetes-in-kubernetes
- Owner: aenix-io
- License: apache-2.0
- Created: 2020-03-30T21:58:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T14:55:28.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T07:05:16.528Z (about 2 months ago)
- Language: Smarty
- Homepage:
- Size: 152 KB
- Stars: 284
- Watchers: 11
- Forks: 30
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubernetes-in-Kubernetes
Deploy Kubernetes in Kubernetes using Helm
![demo](https://gist.githubusercontent.com/kvaps/3cc5d772d750f8f2d36a76d00c3342b1/raw/8596ae812e83d186d0d57d448159b05f84cb0d53/kubernetes-in-kubernetes.gif)
## Requirements
* Kubernetes v1.21+
* Helm v3
* cert-manager v1.0.0+## Quick Start
### Preparation
* Install [cert-manager].
* If you running over [minikube] you might also need to install a provisioner, you can use [local-path-provisioner] for example.
[cert-manager]: https://cert-manager.io/docs/installation
[minikube]: https://github.com/kubernetes/minikube
[local-path-provisioner]: https://github.com/rancher/local-path-provisioner#installation### Installation
```bash
helm repo add kvaps https://kvaps.github.io/charts
helm install foo kvaps/kubernetes --version 0.13.5 \
--namespace foo \
--create-namespace \
--set persistence.storageClassName=local-path
```### Cleanup
```bash
kubectl delete namespace foo
```## Usage
Kubernetes-in-Kubernetes is just a control plane, in most cases it's useless without workers.
If you're looking for a real use case, check out the following projects that implement worker nodes management:* **[Kubefarm]** - Automated Kubernetes deployment and the PXE-bootable servers farm
[kubefarm]: https://github.com/kubefarm/kubefarm