Documentation ¶
Overview ¶
Package dcosupgrade allows upgrading of ACS clusters with DC/OS as the orchestrator.
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
Deprecated: This code remains only to support the legacy ACS service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterTopology ¶
type ClusterTopology struct { DataModel *api.ContainerService Location string ResourceGroup string CurrentDcosVersion string NameSuffix string SSHKey []byte }
ClusterTopology contains resources of the cluster the upgrade operation is targeting
type UpgradeCluster ¶
type UpgradeCluster struct { Translator *i18n.Translator Logger *logrus.Entry ClusterTopology Client armhelpers.AKSEngineClient }
UpgradeCluster upgrades a cluster with Orchestrator version X.X to version Y.Y. Right now upgrades are supported for Kubernetes cluster only.
func (*UpgradeCluster) UpgradeCluster ¶
func (uc *UpgradeCluster) UpgradeCluster(subscriptionID uuid.UUID, resourceGroup, currentDcosVersion string, cs *api.ContainerService, nameSuffix string, sshKey []byte) error
UpgradeCluster runs the workflow to upgrade a DCOS cluster.
Click to show internal directories.
Click to hide internal directories.