Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glueops/k3d
K3d configurations and setup scripts for deploying Kubernetes clusters on the GlueOps platform. Includes k3d-config.yaml with custom registry mirrors and add-machineid.sh for unique machine IDs. Enables secure and optimized Kubernetes environments by customizing node labels, disabling components, and automating initialization.
https://github.com/glueops/k3d
automation cluster cluster-setup configuraiton devops glueops-platform k3d kubernetes kubernetes-cluster machine-id node-labeling registry registry-mirrors secripts setup
Last synced: 12 days ago
JSON representation
K3d configurations and setup scripts for deploying Kubernetes clusters on the GlueOps platform. Includes k3d-config.yaml with custom registry mirrors and add-machineid.sh for unique machine IDs. Enables secure and optimized Kubernetes environments by customizing node labels, disabling components, and automating initialization.
- Host: GitHub
- URL: https://github.com/glueops/k3d
- Owner: GlueOps
- Created: 2023-12-28T03:22:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T18:59:24.000Z (24 days ago)
- Last Synced: 2025-02-06T10:58:41.396Z (15 days ago)
- Topics: automation, cluster, cluster-setup, configuraiton, devops, glueops-platform, k3d, kubernetes, kubernetes-cluster, machine-id, node-labeling, registry, registry-mirrors, secripts, setup
- Language: Shell
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k3d
## Requirements
### You need a Server/VM
- Option #1 - A cloud server that is either debian/ubuntu. You can use [AWS](https://cde.glueops.dev) or [Hetzner](https://www.hetzner.com/) or any other cloud. It's recommended you have at least 16GB of RAM but 32-64GB would be optimal.
- Option #2 - Proxmox. (Recommended)
### Getting setup- Login to your server using whatever method you like (SSH or password is fine) but you must login with a root or a user that has sudo access.
- Run:```bash
#If you are using proxmox you will not be able to do copy/paste in the web ssh console.
bash <(curl -sL setup.glueops.dev)
```- Once you finish following the prompts and the server reboots, you will need to connect to it using your private ssh key with the `vscode` username. If you are using proxmox the username is `root` and you will need to switch to `vscode` using: `su - vscode`
- Once logged in as the `vscode` user, type `cd` so that you are in `/home/vscode` and then just run `dev` and select the version you want (newest is recommended) and go ahead and get started to get a code tunnel/space going.### Creating your cluster
- `cd` into your _captain_ directory
- Run:```bash
curl https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh)
```- Using our **lightsail AWS account** run this from a cloudshell session:
```bash
bash <(curl -s https://raw.githubusercontent.com/GlueOps/development-only-utilities/main/tools/aws/lightsail.sh)
```- Take the output from the lightsail creation and run it against your k3s cluster.
- Continue with the rest of the docs in your captain README.md