@@ -23,7 +23,6 @@ import (
2323 "github.com/portainer/kubesolo/pkg/kubernetes/apiserver"
2424 "github.com/portainer/kubesolo/pkg/kubernetes/controller"
2525 "github.com/portainer/kubesolo/pkg/kubernetes/kubelet"
26- "github.com/portainer/kubesolo/pkg/kubernetes/kubeproxy"
2726 "github.com/portainer/kubesolo/pkg/runtime/containerd"
2827 "github.com/portainer/kubesolo/types"
2928 "github.com/rs/zerolog/log"
5958 apiServerReadyCh = make (chan struct {})
6059 kubeletReadyCh = make (chan struct {})
6160 controllerReadyCh = make (chan struct {})
62- kubeproxyReadyCh = make (chan struct {})
6361)
6462
6563// service creates a new kubesolo application
@@ -102,7 +100,7 @@ func main() {
102100}
103101
104102// run is the main function for the kubesolo application
105- // the list of services; containerd, kine, apiserver, controller, kubelet, kubeproxy is started in the order of dependency
103+ // the list of services; containerd, kine, apiserver, controller, kubelet is started in the order of dependency
106104// coredns and portainer edge agent (only when the portainer edge id and key are provided) are deployed last
107105func (s * kubesolo ) run () {
108106 ctx , cancel := context .WithCancel (context .Background ())
@@ -188,16 +186,6 @@ func (s *kubesolo) run() {
188186 },
189187 readyCh : kubeletReadyCh ,
190188 },
191- {
192- name : "kubeproxy" ,
193- start : func () {
194- kubeproxyService := kubeproxy .NewService (ctx , cancel , kubeproxyReadyCh , s .embedded .AdminKubeconfigFile )
195- s .wg .Go (func () {
196- kubeproxyService .Run (kubeletReadyCh )
197- })
198- },
199- readyCh : kubeproxyReadyCh ,
200- },
201189 }
202190
203191 for _ , svc := range services {
0 commit comments