dns

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVICE_ACCOUNT    = "kube-dns"
	CONFIGMAP          = "kube-dns"
	DEFAULT_REPOSITORY = "gcr.io/google_containers"
	DEFAULT_VERSION    = "1.14.7"
)
View Source
const (
	KubeDNSDeployment_v20171016 = `` /* 4571-byte string literal not displayed */

	// KubeDNSService is the kube-dns Service manifest
	KubeDNSService_v20171016 = `` /* 641-byte string literal not displayed */

)

Variables

View Source
var (
	DEFAULT_DOMAIN = spec.MustDefaultString("KlusterSpec", "dnsDomain")
)

Functions

func CreateOrUpdateConfigMap

func CreateOrUpdateConfigMap(client clientset.Interface, configmap *v1.ConfigMap) error

func CreateOrUpdateDeployment

func CreateOrUpdateDeployment(client clientset.Interface, deploy *extensions.Deployment) error

func CreateOrUpdateService

func CreateOrUpdateService(client clientset.Interface, service *v1.Service) error

func CreateOrUpdateServiceAccount

func CreateOrUpdateServiceAccount(client clientset.Interface, sa *v1.ServiceAccount) error

func RenderManifest

func RenderManifest(strtmpl string, obj interface{}) ([]byte, error)

func SeedKubeDNS

func SeedKubeDNS(client clientset.Interface, repository, version, domain, clusterIP string) error

Types

type DeploymentOptions

type DeploymentOptions struct {
	Repository string
	Version    string
	Domain     string
}

type ServiceOptions

type ServiceOptions struct {
	ClusterIP string
}

Jump to

Keyboard shortcuts

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