kubernetes: k8s.io/kubernetes/test/e2e/upgrades/apps Index | Files

package upgrades

import "k8s.io/kubernetes/test/e2e/upgrades/apps"

Index

Package Files

daemonsets.go deployments.go job.go replicasets.go statefulset.go

type DaemonSetUpgradeTest Uses

type DaemonSetUpgradeTest struct {
    // contains filtered or unexported fields
}

DaemonSetUpgradeTest tests that a DaemonSet is running before and after a cluster upgrade.

func (DaemonSetUpgradeTest) Name Uses

func (DaemonSetUpgradeTest) Name() string

Name returns the tracking name of the test.

func (*DaemonSetUpgradeTest) Setup Uses

func (t *DaemonSetUpgradeTest) Setup(f *framework.Framework)

Setup creates a DaemonSet and verifies that it's running

func (*DaemonSetUpgradeTest) Teardown Uses

func (t *DaemonSetUpgradeTest) Teardown(f *framework.Framework)

Teardown cleans up any remaining resources.

func (*DaemonSetUpgradeTest) Test Uses

func (t *DaemonSetUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test waits until the upgrade has completed and then verifies that the DaemonSet is still running

type DeploymentUpgradeTest Uses

type DeploymentUpgradeTest struct {
    // contains filtered or unexported fields
}

DeploymentUpgradeTest tests that a deployment is using the same replica sets before and after a cluster upgrade.

func (DeploymentUpgradeTest) Name Uses

func (DeploymentUpgradeTest) Name() string

Name returns the tracking name of the test.

func (*DeploymentUpgradeTest) Setup Uses

func (t *DeploymentUpgradeTest) Setup(f *framework.Framework)

Setup creates a deployment and makes sure it has a new and an old replicaset running.

func (*DeploymentUpgradeTest) Teardown Uses

func (t *DeploymentUpgradeTest) Teardown(f *framework.Framework)

Teardown cleans up any remaining resources.

func (*DeploymentUpgradeTest) Test Uses

func (t *DeploymentUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test checks whether the replicasets for a deployment are the same after an upgrade.

type JobUpgradeTest Uses

type JobUpgradeTest struct {
    // contains filtered or unexported fields
}

JobUpgradeTest is a test harness for batch Jobs.

func (JobUpgradeTest) Name Uses

func (JobUpgradeTest) Name() string

Name returns the tracking name of the test.

func (*JobUpgradeTest) Setup Uses

func (t *JobUpgradeTest) Setup(f *framework.Framework)

Setup starts a Job with a parallelism of 2 and 2 completions running.

func (*JobUpgradeTest) Teardown Uses

func (t *JobUpgradeTest) Teardown(f *framework.Framework)

Teardown cleans up any remaining resources.

func (*JobUpgradeTest) Test Uses

func (t *JobUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test verifies that the Jobs Pods are running after the an upgrade

type ReplicaSetUpgradeTest Uses

type ReplicaSetUpgradeTest struct {
    UID types.UID
}

ReplicaSetUpgradeTest tests that a replicaset survives upgrade.

func (ReplicaSetUpgradeTest) Name Uses

func (ReplicaSetUpgradeTest) Name() string

Name returns the tracking name of the test.

func (*ReplicaSetUpgradeTest) Setup Uses

func (r *ReplicaSetUpgradeTest) Setup(f *framework.Framework)

Setup creates a ReplicaSet and makes sure it's replicas ready.

func (*ReplicaSetUpgradeTest) Teardown Uses

func (r *ReplicaSetUpgradeTest) Teardown(f *framework.Framework)

Teardown cleans up any remaining resources.

func (*ReplicaSetUpgradeTest) Test Uses

func (r *ReplicaSetUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test checks whether the replicasets are the same after an upgrade.

type StatefulSetUpgradeTest Uses

type StatefulSetUpgradeTest struct {
    // contains filtered or unexported fields
}

StatefulSetUpgradeTest implements an upgrade test harness for StatefulSet upgrade testing.

func (StatefulSetUpgradeTest) Name Uses

func (StatefulSetUpgradeTest) Name() string

Name returns the tracking name of the test.

func (*StatefulSetUpgradeTest) Setup Uses

func (t *StatefulSetUpgradeTest) Setup(f *framework.Framework)

Setup creates a StatefulSet and a HeadlessService. It verifies the basic SatefulSet properties

func (StatefulSetUpgradeTest) Skip Uses

func (StatefulSetUpgradeTest) Skip(upgCtx upgrades.UpgradeContext) bool

Skip returns true when this test can be skipped.

func (*StatefulSetUpgradeTest) Teardown Uses

func (t *StatefulSetUpgradeTest) Teardown(f *framework.Framework)

Teardown deletes all StatefulSets

func (*StatefulSetUpgradeTest) Test Uses

func (t *StatefulSetUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)

Test waits for the upgrade to complete and verifies the StatefulSet basic functionality

Package upgrades imports 20 packages (graph) and is imported by 42 packages. Updated 2019-09-25. Refresh now. Tools for package owners.