package
1.2.0-alpha.4
Repository: https://github.com/ericchiang/kubernetes.git
Documentation: pkg.go.dev

# Functions

Prints the histogram of the events and returns the number of bad events.
No description provided by the author
ClusterLevelLoggingWithElasticsearch is an end to end test for cluster level logging.
ClusterLevelLoggingWithKibana is an end to end test that checks to see if Kibana is alive.
No description provided by the author
Delete a Replication Controller and all pods it spawned.
Diff computes a PodDiff given 2 lists of pods.
FailedContainers inspects all containers in a pod and returns failure information for containers that have failed or been restarted.
No description provided by the author
GetKubeletPods retrieves the list of running pods on the kubelet.
HighLatencyKubeletOperations logs and counts the high latency metrics exported by the kubelet server via /metrics.
Prints top five summary metrics for request types with latency and returns number of such request types above threshold.
LaunchHostExecPod launches a hostexec pod in the given namespace and waits until it's Running.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewFramework makes a new framework and sets up a BeforeEach/AfterEach for you (you can write additional before/after each functions).
NewHostExecPodSpec returns the pod spec of hostexec pod.
NewRestartConfig creates a restartDaemonConfig for the given node and daemon.
TODO this still defaults to replication controller.
No description provided by the author
NodeAddresses returns the first address of the given type of each node.
NodeSSHHosts returns SSH-able host names for all nodes.
OpenWebSocketForURL constructs a websocket connection to the provided URL, using the client config, with the specified protocols.
ParseKubeletMetrics reads metrics from the kubelet server running on the given node.
No description provided by the author
No description provided by the author
RunDeployment Launches (and verifies correctness) of a Deployment and will wait for all pods it spawns to become "Running".
RunHostCmd runs the given cmd in the context of the given pod using `kubectl exec` inside of a shell.
RunHostCmdOrDie calls RunHostCmd and dies on error.
RunRC Launches (and verifies correctness) of a Replication Controller and will wait for all pods it spawns to become "Running".
No description provided by the author
A basic test to check the deployment of an image using a replication controller.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SSH synchronously SSHs to a node running on provider and runs cmd.
Verifies whether 50, 90 and 99th percentiles of PodStartupLatency are within the threshold.

# Constants

No description provided by the author
No description provided by the author
NodeStartupThreshold is a rough estimate of the time allocated for a pod to start on a node.
No description provided by the author

# Variables

Maximum container failures this test tolerates before failing.
This should match whatever the default/configured range is.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.
No description provided by the author
KubeletMetric stores metrics scraped from the kubelet server's /metric endpoint.
No description provided by the author
Dashboard metrics.
No description provided by the author
No description provided by the author
No description provided by the author
ResourceConsumer is a tool for testing.
No description provided by the author
partially cloned from webserver.go.
No description provided by the author
Configuration of one tests.
Simple helper class to avoid too much boilerplate in tests.

# Interfaces

LBCTester is an interface used to test loadbalancer controllers.

# Type aliases

KubeletMetricByLatency implements sort.Interface for []KubeletMetric based on the latency field.
PodDiff is a map of pod name to podInfos.
No description provided by the author
No description provided by the author