Skip to content

Commit

Permalink
using ubuntu 20.04 and added provider in kubelet
Browse files Browse the repository at this point in the history
  • Loading branch information
Mia-Cross committed Nov 24, 2022
1 parent 2ccc30d commit 73cada7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pkg/model/components/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ func (b *KubeletOptionsBuilder) BuildOptions(o interface{}) error {
clusterSpec.Kubelet.CloudProvider = "azure"
}

if cloudProvider == kops.CloudProviderScaleway {
clusterSpec.Kubelet.CloudProvider = "external"
}

if clusterSpec.ExternalCloudControllerManager != nil {
clusterSpec.Kubelet.CloudProvider = "external"
}
Expand Down
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/populate_instancegroup_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const (
defaultMasterMachineTypeSCW = "DEV1-M"

defaultDONodeImage = "ubuntu-20-04-x64"
defaultSCWNodeImage = "debian_buster"
defaultSCWNodeImage = "ubuntu_focal"
)

// TODO: this hardcoded list can be replaced with DescribeInstanceTypes' DedicatedHostsSupported field
Expand Down

0 comments on commit 73cada7

Please sign in to comment.