Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFileversion = 0
DefaultFileversion should be incremented When making changes to the manifest file that need to be synchronized.
View Source
const HAProxyFileversionAnnotation = "kurl.sh/haproxy-fileversion"
View Source
const HAProxyImage = "haproxy:lts-alpine"
Variables ¶
This section is empty.
Functions ¶
func GenerateHAProxyConfig ¶
func GenerateHAProxyManifest ¶
GenerateHAProxyManifest writes the generated manifest to the file only if it does not exist or the fileversion has changed. This avoids a few seconds of downtime when the pod is restarted unnecessarily.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.