Skip to content

ullbergm/external-haproxy-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

external-haproxy-operator

Kubernetes operator for managing external HAProxy backends as custom resources.

Current Version Last commit License Apache 2.0 Test Coverage
buy me a coffee offer me a job

Table of Contents

🎯 Features

  • Declarative management of HAProxy backends via CRDs
  • Automated backend registration and updates
  • Metrics and monitoring integration (metrics docs)
  • RBAC and security best practices
  • Helm and YAML bundle installation options

πŸš€ Getting Started

Prerequisites

  • Go v1.24.0+
  • Docker v17.03+
  • kubectl v1.11.3+
  • Access to a Kubernetes v1.11.3+ cluster

Build and Push Operator Image

make docker-build docker-push IMG=<your-registry>/external-haproxy-operator:tag

Install CRDs

make install

Deploy Operator

make deploy IMG=<your-registry>/external-haproxy-operator:tag

Apply Example Backend CRs

kubectl apply -k config/samples/

βš™οΈ Usage


πŸ“ Configuration

Configuration is managed via Kubernetes CRDs. For advanced configuration, see the API documentation and metrics documentation.


πŸ—‚οΈ Distribution

YAML Bundle

Build installer:

make build-installer IMG=<your-registry>/external-haproxy-operator:tag

Apply bundle:

kubectl apply -f https://raw.githubusercontent.com/<org>/external-haproxy-operator/<tag or branch>/dist/install.yaml

Helm Chart

Build chart:

operator-sdk edit --plugins=helm/v1-alpha

Chart is generated under dist/chart/.

If you change the project, update the Helm chart and re-apply custom values as needed.


πŸ—‘οΈ Uninstall

kubectl delete -k config/samples/
make uninstall
make undeploy

πŸ—‚οΈ Contributing

Contributions are welcome! Please open issues or pull requests. See Kubebuilder Documentation for operator development best practices.

Run make help for available targets.

Useful references


πŸ† Authors & contributors

The original setup of this repository is by Magnus Ullberg.

For a full list of all authors and contributors, see the contributors page.


πŸ—‚οΈ Security

external-haproxy-operator follows good practices of security, but 100% security cannot be assured. external-haproxy-operator is provided "as is" without any warranty. Use at your own risk.

For more information and to report security issues, please refer to our security documentation.


πŸ“„ License

This project is licensed under the Apache License 2.0.

See LICENSE for more information.


🌎 Acknowledgements

About

Operator that manages an external haproxy configuration based on custom resources.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •