Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // (Optional) Emit an event without repairing nodes. Default: false DryRun bool `mapstructure:"dry-run"` // (Required) Cluster identifier ClusterName string `mapstructure:"cluster-name"` // (Optional) Cloud provider name. Default: openstack CloudProvider string `mapstructure:"cloud-provider"` // (Optional) Interval of the nodes monitoring check. Default: 30s MonitorInterval time.Duration `mapstructure:"monitor-interval"` // (Optional) If master nodes monitoring is enabled. Default: true MasterMonitorEnabled bool `mapstructure:"master-monitor-enabled"` // (Optional) If worker nodes monitoring is enabled. Default: true WorkerMonitorEnabled bool `mapstructure:"worker-monitor-enabled"` // (Optional) Kubernetes related configuration. Kubernetes kubeConfig `mapstructure:"kubernetes"` // (Required) OpenStack related configuration. OpenStack openstack_provider.AuthOpts `mapstructure:"openstack"` // (Optional) Healthcheck configuration for master and worker. HealthCheck healthCheck `mapstructure:"healthcheck"` // (Optional) Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. Default: true LeaderElect bool `mapstructure:"leader-elect"` // (Optional) How long after new node added that the node will be checked for health status. Default: 10m CheckDelayAfterAdd time.Duration `mapstructure:"check-delay-after-add"` }
Config struct contains ingress controller configuration
Click to show internal directories.
Click to hide internal directories.