utils

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDNSClusterIP

func FindDNSClusterIP(ctx context.Context, c client.Client) (string, error)

FindDNSClusterIP tries to find the Cluster IP to be used by the DNS service It is usually the 10th address to the Kubernetes Service Cluster IP If the Kubernetes Service Cluster IP is not found, we default it to be "10.96.0.10"

func GetDNSDomain

func GetDNSDomain() string

GetDNSDomain returns Kubernetes DNS cluster domain If it cannot determine the domain, we default it to "cluster.local" TODO (rajansandeep): find a better way to implement this?

Types

This section is empty.

Jump to

Keyboard shortcuts

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