KubeProxyDowngradeTest tests kube-proxy DaemonSet -> static pods downgrade path.
type KubeProxyDowngradeTest struct { }
func (KubeProxyDowngradeTest) Name() string
Name returns the tracking name of the test.
func (t *KubeProxyDowngradeTest) Setup(ctx context.Context, f *framework.Framework)
Setup verifies kube-proxy DaemonSet is running before upgrade.
func (t *KubeProxyDowngradeTest) Teardown(ctx context.Context, f *framework.Framework)
Teardown does nothing.
func (t *KubeProxyDowngradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Test validates if kube-proxy is migrated from DaemonSet to static pods.
KubeProxyUpgradeTest tests kube-proxy static pods -> DaemonSet upgrade path.
type KubeProxyUpgradeTest struct { }
func (KubeProxyUpgradeTest) Name() string
Name returns the tracking name of the test.
func (t *KubeProxyUpgradeTest) Setup(ctx context.Context, f *framework.Framework)
Setup verifies kube-proxy static pods is running before upgrade.
func (t *KubeProxyUpgradeTest) Teardown(ctx context.Context, f *framework.Framework)
Teardown does nothing.
func (t *KubeProxyUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Test validates if kube-proxy is migrated from static pods to DaemonSet.
ServiceUpgradeTest tests that a service is available before and after a cluster upgrade. During a master-only upgrade, it will test that a service remains available during the upgrade.
type ServiceUpgradeTest struct {
// contains filtered or unexported fields
}
func (ServiceUpgradeTest) Name() string
Name returns the tracking name of the test.
func (t *ServiceUpgradeTest) Setup(ctx context.Context, f *framework.Framework)
Setup creates a service with a load balancer and makes sure it's reachable.
func (t *ServiceUpgradeTest) Teardown(ctx context.Context, f *framework.Framework)
Teardown cleans up any remaining resources.
func (t *ServiceUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Test runs a connectivity check to the service.