Documentation ¶
Index ¶
- Constants
- func ReconcileClientService(service *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileDefragControllerRole(role *rbacv1.Role, p *EtcdParams) error
- func ReconcileDefragControllerRoleBinding(roleBinding *rbacv1.RoleBinding, p *EtcdParams) error
- func ReconcileDiscoveryService(service *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcilePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *EtcdParams) error
- func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, ...) error
- func ReconcileStatefulSet(ss *appsv1.StatefulSet, p *EtcdParams) error
- type EtcdParams
Constants ¶
View Source
const (
EtcdSTSQuotaBackendSize = 8 * 1024 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func ReconcileClientService ¶
func ReconcileDefragControllerRole ¶ added in v0.1.18
func ReconcileDefragControllerRole(role *rbacv1.Role, p *EtcdParams) error
func ReconcileDefragControllerRoleBinding ¶ added in v0.1.18
func ReconcileDefragControllerRoleBinding(roleBinding *rbacv1.RoleBinding, p *EtcdParams) error
func ReconcilePodDisruptionBudget ¶
func ReconcilePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *EtcdParams) error
func ReconcileServiceMonitor ¶
func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, clusterID string, metricsSet metrics.MetricsSet) error
ReconcileServiceMonitor
func ReconcileStatefulSet ¶
func ReconcileStatefulSet(ss *appsv1.StatefulSet, p *EtcdParams) error
Types ¶
type EtcdParams ¶
type EtcdParams struct { EtcdImage string EtcdOperatorImage string CPOImage string OwnerRef config.OwnerRef `json:"ownerRef"` DeploymentConfig config.DeploymentConfig IPv6 bool StorageSpec hyperv1.ManagedEtcdStorageSpec Availability hyperv1.AvailabilityPolicy SnapshotRestored bool }
func NewEtcdParams ¶
func NewEtcdParams(hcp *hyperv1.HostedControlPlane, releaseImageProvider *imageprovider.ReleaseImageProvider) (*EtcdParams, error)
Click to show internal directories.
Click to hide internal directories.