Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUpdateAccessService ¶
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.
Click to show internal directories.
Click to hide internal directories.