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 - theGunner295/kbproxy

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
azure-pipelines.yml
azure-pipelines.yml
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Simple Sync for HAProxy and Kubernetes Nodes

This service syncs live Kubernetes nodes with an HAProxy instance running on pfSense. It is designed to run every 20 minutes and only applies updates when necessary.

How It Works

  • Updates all HAProxy backends containing the string specified in BACKEND_SEARCH_STRING (found in appsettings.json).
  • Compatible with clusters using a private CA (requires a cacerts.pem chain in the config directory).

Setup

All additional/config files must be placed in a config folder at the root level.

Example appsettings.json

{
  "USERNAME": "admin",           // Username for the HAProxy API
  "PASSWORD": "pfsense",         // Password for the HAProxy API
  "HAProxyHostApi": "https://myrouter.local", // HAProxy pfSense Host
  "BACKEND_SEARCH_STRING": "ClusterName" // Backend search string
}

Note: Remove comments when copying this JSON; the service will error otherwise.

Required Files

  • cacerts.pem: Private CA chain for SSL. Place in the config directory during build or runtime.
  • config.yaml: Kubernetes kubeconfig file. Place in the config directory.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — 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.