diff --git a/pkg/daemons/agent/agent.go b/pkg/daemons/agent/agent.go index 3c9be58dcb..0539fd37f6 100644 --- a/pkg/daemons/agent/agent.go +++ b/pkg/daemons/agent/agent.go @@ -12,7 +12,7 @@ import ( "github.com/rancher/k3s/pkg/daemons/config" "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/util/net" - "k8s.io/apiserver/pkg/util/logs" + "k8s.io/component-base/logs" app2 "k8s.io/kubernetes/cmd/kube-proxy/app" "k8s.io/kubernetes/cmd/kubelet/app" _ "k8s.io/kubernetes/pkg/client/metrics/prometheus" // for client metric registration diff --git a/pkg/daemons/control/server.go b/pkg/daemons/control/server.go index 52f7437cdd..83dae6ea3f 100644 --- a/pkg/daemons/control/server.go +++ b/pkg/daemons/control/server.go @@ -24,9 +24,9 @@ import ( "time" "github.com/rancher/k3s/pkg/daemons/config" + certutil "github.com/rancher/norman/pkg/cert" "github.com/sirupsen/logrus" "k8s.io/apiserver/pkg/authentication/authenticator" - certutil "k8s.io/client-go/util/cert" "k8s.io/kubernetes/cmd/kube-apiserver/app" cmapp "k8s.io/kubernetes/cmd/kube-controller-manager/app" sapp "k8s.io/kubernetes/cmd/kube-scheduler/app" diff --git a/pkg/kubectl/main.go b/pkg/kubectl/main.go index 2171c2db2e..09bec12e44 100644 --- a/pkg/kubectl/main.go +++ b/pkg/kubectl/main.go @@ -9,8 +9,8 @@ import ( "github.com/rancher/k3s/pkg/server" "github.com/spf13/pflag" - utilflag "k8s.io/apiserver/pkg/util/flag" - "k8s.io/apiserver/pkg/util/logs" + utilflag "k8s.io/component-base/cli/flag" + "k8s.io/component-base/logs" "k8s.io/kubernetes/pkg/kubectl/cmd" )