ha

package
v1.122.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KUBERNETES_HA_MIN_NODE_COUNT = 3
	RQLITE_HA_NODE_COUNT         = 3
	REASON_NOT_ENOUGH_NODES      = "not enough nodes to run in HA mode"
)

Variables

This section is empty.

Functions

func CanRunHA

func CanRunHA(ctx context.Context, clientset kubernetes.Interface) (bool, string, error)

func EnableHA

func EnableHA(ctx context.Context, clientset kubernetes.Interface, namespace string, timeout time.Duration) (finalErr error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL