!!! INFRA IS DECOMMISSIONED !!!

syn-deploy-ops

Gitops experiment with Digital Ocean Kubernetes Service, Flux CD and github

DOKS Flux CD.drawio

public IP: 146.190.6.63

insecure-reveal-env-variables

https://github.com/aljorhythm/insecure-reveal-env-variables

Updates to the repo will publish an image to Docker Hub and picked up by FluxCD in the K8s cluster

Sample commands

Set up

export GITHUB_TOKEN=<FILL>
export DO_SPACES_ACCESS_KEY=<FILL>
export DO_SPACES_SECRET_KEY=<FILL>

Bootstrap

flux bootstrap github --owner=aljorhythm \
--components-extra=image-reflector-controller,image-automation-controller \
--repository=syn-deploy-ops --path clusters/dev \
--personal \
--read-write-key

Trigger reconciliation

flux reconcile source git flux-system

Get all iamges

flux get images all --all-namespaces

Suspend image update

flux suspend image update flux-system

Resume image update

flux resume image update flux-system

References