Documentation
¶
Index ¶
- type DaemonSetUpgradeTest
- type DeploymentUpgradeTest
- type JobUpgradeTest
- type ReplicaSetUpgradeTest
- type StatefulSetUpgradeTest
- func (StatefulSetUpgradeTest) Name() string
- func (t *StatefulSetUpgradeTest) Setup(f *framework.Framework)
- func (StatefulSetUpgradeTest) Skip(upgCtx upgrades.UpgradeContext) bool
- func (t *StatefulSetUpgradeTest) Teardown(f *framework.Framework)
- func (t *StatefulSetUpgradeTest) Test(f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonSetUpgradeTest ¶
type DaemonSetUpgradeTest struct {
// contains filtered or unexported fields
}
DaemonSetUpgradeTest tests that a DaemonSet is running before and after a cluster upgrade.
func (*DaemonSetUpgradeTest) Setup ¶
func (t *DaemonSetUpgradeTest) Setup(f *framework.Framework)
Setup creates a DaemonSet and verifies that it's running
type DeploymentUpgradeTest ¶
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) Setup ¶
func (t *DeploymentUpgradeTest) Setup(f *framework.Framework)
Setup creates a deployment and makes sure it has a new and an old replicaset running.
type JobUpgradeTest ¶
type JobUpgradeTest struct {
// contains filtered or unexported fields
}
JobUpgradeTest is a test harness for batch Jobs.
func (*JobUpgradeTest) Setup ¶
func (t *JobUpgradeTest) Setup(f *framework.Framework)
Setup starts a Job with a parallelism of 2 and 2 completions running.
type ReplicaSetUpgradeTest ¶ added in v1.9.0
type ReplicaSetUpgradeTest struct {
UID types.UID
}
ReplicaSetUpgradeTest tests that a replicaset survives upgrade.
func (*ReplicaSetUpgradeTest) Setup ¶ added in v1.9.0
func (r *ReplicaSetUpgradeTest) Setup(f *framework.Framework)
type StatefulSetUpgradeTest ¶
type StatefulSetUpgradeTest struct {
// contains filtered or unexported fields
}
StatefulSetUpgradeTest implements an upgrade test harness for StatefulSet upgrade testing.
func (*StatefulSetUpgradeTest) Setup ¶
func (t *StatefulSetUpgradeTest) Setup(f *framework.Framework)
Setup creates a StatefulSet and a HeadlessService. It verifies the basic SatefulSet properties
func (StatefulSetUpgradeTest) Skip ¶
func (StatefulSetUpgradeTest) Skip(upgCtx upgrades.UpgradeContext) bool