package
0.21.4
Repository: https://github.com/irisiris/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.
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 summary metrics for request types with latency above threshold and returns number of such request types.
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).
No description provided by the author
NodeSSHHosts returns SSH-able host names for all nodes.
ReadKubeletMetrics reads metrics from the kubelet server running on the given node.
No description provided by the author
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
SSH synchronously SSHs to a node running on provider and runs cmd.

# Constants

NodeStartupThreshold is a rough estimate of the time allocated for a pod to start on a node.

# 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
Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.
KubeletMetric stores metrics scraped from the kubelet server's /metric endpoint.
LatencyMetrics stores data about request latency at a given quantile broken down by verb (e.g.
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.

# Type aliases

KubeletMetricByLatency implements sort.Interface for []KubeletMetric based on the latency field.
LatencyMetricByLatency implements sort.Interface for []LatencyMetric based on the latency field.
PodDiff is a map of pod name to podInfos.