GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FabioKaelin/f-operator: Kubernetes-Operator for managing deployments

BranchesTags
Open more actions menu

Latest commit

 

History

167 Commits
167 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
api/k8s/v1
api/k8s/v1
 
 
cmd
cmd
 
 
config
config
 
 
controlplane
controlplane
 
 
docs
docs
 
 
hack
hack
 
 
internal
internal
 
 
pressure
pressure
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.wakatime-project
.wakatime-project
 
 
Dockerfile
Dockerfile
 
 
Makefile
Makefile
 
 
PROJECT
PROJECT
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

f-operator

Kubernetes operator for Fdeployment application workloads and Fdatabase resources. Application routing uses Gateway API HTTPRoutes attached to an infrastructure-owned Envoy Gateway. See migration day runbook and release notes.

Local development

Use Go 1.26.8 or automatic toolchain selection. Run make test for controller unit tests and a real isolated Kubernetes API-server test with dummy resources. It starts local etcd/API-server processes on loopback; it does not read your kubeconfig or run any Kubernetes workloads on Minikube. make build compiles the manager. make test-envoy runs an isolated Docker network with standalone Envoy Gateway and dummy HTTP backends, then cleans up those temporary containers. Standalone mode is used only for debugging; production manifests use the Kubernetes provider.

Do not run make run against your normal kubeconfig for debugging: it connects a real controller to the selected cluster. Use the isolated test harness instead. make install and make deploy mutate the selected cluster and are for a separately authorized migration day.

On the Pi, run checks sequentially with a hard memory cap rather than starting unconstrained builds:

systemd-run --user --scope -p MemoryMax=1200M -p MemorySwapMax=0 -p CPUQuota=100% env GOMAXPROCS=1 GOMEMLIMIT=700MiB GOFLAGS=-p=1 make test
systemd-run --user --scope -p MemoryMax=1200M -p MemorySwapMax=0 -p CPUQuota=100% env GOMAXPROCS=1 GOMEMLIMIT=700MiB GOFLAGS=-p=1 make build

The local Envoy test containers have individual hard memory and CPU limits with swap disabled (768MiB combined maximum). Release image builds run on GitHub runners.

Configuration

Manager flags:

  • --gateway-name=f-operator
  • --gateway-namespace=envoy-gateway-system
  • --gateway-listener=http
  • --cleanup-legacy-ingress=false: explicit post-cutover cleanup gate; only owned Ingresses with current route/Gateway readiness are deleted.

Fdeployment retains its host, path, image/tag, port, resource and health-check fields. Host and PathPrefix route to the same-named Service on port 80. Use versioned image tags when available; existing development latest tags remain accepted for compatibility. Resource requests/limits must be valid positive quantities with requests no greater than limits. security.nginxCompatibility=true adds only CHOWN, SETUID, SETGID and NET_BIND_SERVICE for standard root-master NGINX images; leave runAsNonRoot=false and privileged=false. See frontend rollout. security.privileged defaults false; security.runAsNonRoot can be enabled for compatible images. All applications disable token automount and default to dropped capabilities/RuntimeDefault seccomp. Dedicated ServiceAccounts are created automatically. Available means current Deployment replicas and the configured Gateway/listener/HTTPRoute are ready.

Fdatabase-created PVCs survive CR deletion. Existing independent StatefulSets are never taken over or duplicated. Review the runbook before using retained database volumes.

Release

Pushes and pull requests run validation. Semver tags vX.Y.Z additionally build ARM64/AMD64 images, publish to GHCR, and create a GitHub release with a digest-pinned install.yaml, image.txt, gateway configuration archive, migration runbook and SHA256SUMS. There is no deployment job and no cluster credentials in this workflow. The default version is 0.2.2. Never reuse published tags.

Pinned infrastructure manifests live in config/gateway. The public TLS proxy and certificate renewal remain host-managed. Internal Tipp traffic stays internal. Popeye is optional read-only audit tooling; it is not installed by the operator.

Two-node preparation and application placement

Optional spec.placement supports SingleNode (explicit hostname) and Distributed with Preferred or Required hostname anti-affinity. Replicas remain independently configurable; omitting placement preserves legacy scheduling. See k3s preparation and examples, the database proposal, and the optional two-manager Kustomize overlay. These features configure scheduling and controller redundancy; they do not create database/control-plane HA.

About

Kubernetes-Operator for managing deployments

Topics

f-prodgokubernetes-operator

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.