Update for k8s 1.19

parent daa4beb2
...@@ -33,6 +33,10 @@ func (k *k3s) Instances() (cloudprovider.Instances, bool) { ...@@ -33,6 +33,10 @@ func (k *k3s) Instances() (cloudprovider.Instances, bool) {
return k, true return k, true
} }
func (k *k3s) InstancesV2() (cloudprovider.InstancesV2, bool) {
return nil, false
}
func (k *k3s) LoadBalancer() (cloudprovider.LoadBalancer, bool) { func (k *k3s) LoadBalancer() (cloudprovider.LoadBalancer, bool) {
return nil, false return nil, false
} }
......
...@@ -24,7 +24,7 @@ func init() { ...@@ -24,7 +24,7 @@ func init() {
type Embedded struct{} type Embedded struct{}
func (Embedded) Kubelet(args []string) error { func (Embedded) Kubelet(args []string) error {
command := kubelet.NewKubeletCommand(context.Background().Done()) command := kubelet.NewKubeletCommand(context.Background())
command.SetArgs(args) command.SetArgs(args)
go func() { go func() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment