Update for k8s 1.19

This commit is contained in:
Erik Wilson 2020-08-05 09:26:36 -07:00
parent daa4beb22c
commit 837a943234
No known key found for this signature in database
GPG Key ID: 28E43BB8BE202CF8
2 changed files with 5 additions and 1 deletions

View File

@ -33,6 +33,10 @@ func (k *k3s) Instances() (cloudprovider.Instances, bool) {
return k, true
}
func (k *k3s) InstancesV2() (cloudprovider.InstancesV2, bool) {
return nil, false
}
func (k *k3s) LoadBalancer() (cloudprovider.LoadBalancer, bool) {
return nil, false
}

View File

@ -24,7 +24,7 @@ func init() {
type Embedded struct{}
func (Embedded) Kubelet(args []string) error {
command := kubelet.NewKubeletCommand(context.Background().Done())
command := kubelet.NewKubeletCommand(context.Background())
command.SetArgs(args)
go func() {