https://github.com/pjmagee/fleet-infra
My docker-desktop K8s setup
https://github.com/pjmagee/fleet-infra
docker-desktop docker-desktop-for-windows flux2 fluxcd helm k8s-at-home kubernetes
Last synced: 5 months ago
JSON representation
My docker-desktop K8s setup
- Host: GitHub
- URL: https://github.com/pjmagee/fleet-infra
- Owner: pjmagee
- Created: 2022-12-09T03:07:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-05T13:19:54.000Z (11 months ago)
- Last Synced: 2025-07-05T14:38:16.230Z (11 months ago)
- Topics: docker-desktop, docker-desktop-for-windows, flux2, fluxcd, helm, k8s-at-home, kubernetes
- Language: Smarty
- Homepage:
- Size: 231 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitOps for docker-desktop Kubernetes
This repo is my playground for FluxCD configured docker-desktop K8s.
> Since we're using hostPath for the volumes, make sure to create the directories on the host or the pods will not start. If you're running this setup on another desktop, update all the chart volume mount paths to use the correct hostPath.
## Flux Installation
For installing Flux on your docker-desktop Kubernetes cluster, see the [`install/`](./install/) directory which contains:
- **Automated installation script** (`install-flux.ps1`) - Recommended approach
- **FluxInstance configuration** (`flux-instance.yaml`) - Declarative Flux setup
- **Manual commands** (`manual-commands.md`) - Step-by-step instructions
- **Uninstall script** (`uninstall-flux.ps1`) - Clean removal
### Quick Start
```powershell
cd install
.\install-flux.ps1
kubectl apply -f flux-instance.yaml
```
The modern installation uses the **Flux Operator** which provides better lifecycle management and declarative configuration compared to the legacy `flux bootstrap` approach.
## 1Password Connect and Operator
For setting up 1Password integration, see the [`install/`](./install/) directory which contains:
- **1Password setup guide** (`1password-setup.md`) - Troubleshooting and manual steps
- **Automated setup script** (`setup-1password.ps1`) - Handles credentials validation and secret creation
### Quick Setup
```powershell
cd install
.\setup-1password.ps1
```
### Common Issues
The error `"illegal base64 data at input byte 0"` typically indicates:
- Corrupted 1Password credentials file
- Wrong file encoding (should be UTF-8)
- Invalid JSON format
The setup script automatically detects and fixes these issues.
## Dagger
If using Dagger in local K8s, you need to set the `_EXPERIMENTAL_DAGGER_ENGINE_HOST` environment variable to the address of the Dagger engine.
See [Dagger Kubernetes Integration](https://docs.dagger.io/integrations/kubernetes/) for more information.