service

package
v0.0.0-...-215afb5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUpdateAccessService

func GetUpdateAccessService(e *v1alpha1.EtcdCluster, old *corev1.Service) (*corev1.Service, error)

GetUpdateAccessService return an updated service when etcdcluster's service need to update

func NewEtcdAccessService

func NewEtcdAccessService(e *v1alpha1.EtcdCluster) (*corev1.Service, error)

NewEtcdAccessService generate a service for client accessing etcd cluster, default type is ClusterIP. you can add an LoadBalancer provider annotation on the etcdcluster if you need a LoadBalancer type service

func NewEtcdHeadlessService

func NewEtcdHeadlessService(e *v1alpha1.EtcdCluster) (*corev1.Service, error)

NewEtcdHeadlessService will generate a headless service for etcd node internal access and discovery

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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