e2e_federation

package
v1.8.0-beta.0-rancher1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: Apache-2.0 Imports: 38 Imported by: 0

README

Documentation

Index

Constants

View Source
const (
	MaxRetriesOnFederatedApiserver = 3
	FederatedIngressTimeout        = 15 * time.Minute
	FederatedIngressDeleteTimeout  = 2 * time.Minute
	FederatedIngressName           = "federated-ingress"
	FederatedIngressServiceName    = "federated-ingress-service"
	FederatedIngressTLSSecretName  = "federated-ingress-tls-secret"
	FederatedIngressServicePodName = "federated-ingress-service-test-pod"
	FederatedIngressHost           = "test-f8n.k8s.io."

	FederatedSecretTimeout = 60 * time.Second

	// TLS Certificate and Key for the ingress resource
	// Generated using:
	// $ openssl req -nodes -x509 -newkey rsa:2048 -keyout fedingtestkey.pem -out fedingtestcrt.pem -days 2485
	// 2485 days is an arbitrary large number chosen below int32 seconds.
	FederatedIngressTLSCrt = `` /* 1244-byte string literal not displayed */

	FederatedIngressTLSKey = `` /* 1703-byte string literal not displayed */

)
View Source
const (
	FederatedServiceName    = "federated-service"
	FederatedServicePodName = "federated-service-test-pod"
)
View Source
const (
	// [30000, 32767] is the allowed default service nodeport range and our
	// tests just use the defaults.
	FederatedSvcNodePortFirst = 30000
	FederatedSvcNodePortLast  = 32767
)
View Source
const (
	FederationEventName = "federation-event"
)
View Source
const (
	FederationJobName = "federation-job"
)
View Source
const (
	FederationReplicaSetPrefix = "federation-replicaset-"
)

Variables

View Source
var (
	DefaultFederationName = "e2e-federation"
	// We use this to decide how long to wait for our DNS probes to succeed.
	DNSTTL = 180 * time.Second // TODO: make k8s.io/kubernetes/federation/pkg/federation-controller/service.minDnsTtl exported, and import it here.
)
View Source
var FederatedServiceLabels = map[string]string{
	"foo": "bar",
}
View Source
var FederationSuite common.Suite

Functions

This section is empty.

Types

type BackendPodMap added in v1.7.0

type BackendPodMap map[string]*v1.Pod

BackendPodMap maps a cluster name to a backend pod created in that cluster

Directories

Path Synopsis
Package upgrades provides a framework for testing Kubernetes federation features before, during, and after different types of upgrades.
Package upgrades provides a framework for testing Kubernetes federation features before, during, and after different types of upgrades.

Jump to

Keyboard shortcuts

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