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: about 1 month 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 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T18:59:00.000Z (3 months ago)
- Last Synced: 2025-04-12T06:14:21.532Z (about 1 month ago)
- Topics: docker-desktop, docker-desktop-for-windows, flux2, fluxcd, helm, k8s-at-home, kubernetes
- Language: Smarty
- Homepage:
- Size: 228 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.
```sh
flux bootstrap github --context=docker-desktop --owner=pjmagee --repository=fleet-infra --branch=main --path=./clusters/docker-desktop --personal
```## 1Password Connect and Operator
```sh
# Create the 1Password namespace
kubectl create namespace 1password
``````sh
# Create the 1Password credentials secret
kubectl create secret generic op-credentials --namespace 1password \
--from-file=1password-credentials.json=/path/to/1password-credentials.json
``````sh
# Create the operator token secret
kubectl create secret generic op-operator-token --namespace 1password \
--from-literal=token=
```## 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.