diff --git a/examples/poc/ext-proc/cache/cache.go b/examples/poc/ext-proc/cache/cache.go index aeb2e545..2ff1184c 100644 --- a/examples/poc/ext-proc/cache/cache.go +++ b/examples/poc/ext-proc/cache/cache.go @@ -85,7 +85,3 @@ type PodCache struct { PodIPMap map[string]string IpPodMap map[string]string } - -func SetPodCache(cache *freecache.Cache, pods []string) { - cacheKey := fmt.Sprintf("") -} diff --git a/examples/poc/ext-proc/main.go b/examples/poc/ext-proc/main.go index 2c7addaf..c1b01e21 100644 --- a/examples/poc/ext-proc/main.go +++ b/examples/poc/ext-proc/main.go @@ -95,17 +95,6 @@ func main() { log.Fatalf("failed to listen: %v", err) } - // creates the in-cluster config - config, err := rest.InClusterConfig() - if err != nil { - panic(err.Error()) - } - // creates the clientset - clientset, err := kubernetes.NewForConfig(config) - if err != nil { - panic(err.Error()) - } - s := grpc.NewServer() extProcPb.RegisterExternalProcessorServer(s, &handlers.Server{