- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 530 for Debugf (0.09 sec)
-
cni/pkg/plugin/kubernetes.go
config, err := kube.DefaultRestConfig(kubeconfig, "") if err != nil { log.Errorf("Failed setting up kubernetes client with kubeconfig %s", kubeconfig) return nil, err } log.Debugf("istio-cni set up kubernetes client with kubeconfig %s", kubeconfig) // Create the client return kubernetes.NewForConfig(config) } // getK8sPodInfo returns information of a POD
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
// we can't break here because we need to close all the netns we opened // plus we want to return whatever we can to the user. res, err := p.processEntry(p.proc, netnsObserved, desiredUIDs, entry) if err != nil { log.Debugf("error processing entry: %s %v", entry.Name(), err) continue } if res == nil { continue } pod := pods[res.uid] netns := &NetnsWithFd{ netns: res.netns, fd: res.netnsfd,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
return cniConfigFilepath, err } cniConfigFilepath += "list" } installLog.Infof("created CNI config %s", cniConfigFilepath) installLog.Debugf("CNI config: %s", pluginConfig) return cniConfigFilepath, nil } // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning // Or until cancelled by parent context
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
s.netServer.Start(ctx) } func (s *meshDataplane) Stop() { log.Info("CNI ambient server terminating, cleaning up node net rules") log.Debug("removing host iptables rules") s.hostIptables.DeleteHostRules() log.Debug("destroying host ipset") s.hostsideProbeIPSet.Flush() if err := s.hostsideProbeIPSet.DestroySet(); err != nil { log.Warnf("could not destroy host ipset on shutdown") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
log.WithLabels("delete", isDelete).Debugf("removing pod from the mesh") // Aggregate errors together, so that if part of the cleanup fails we still proceed with other steps. var errs []error // Whether pod is already deleted or not, we need to let go of our netns ref. openNetns := s.currentPodSnapshot.Take(string(pod.UID)) if openNetns == nil { log.Debug("failed to find pod netns during removal") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 21 16:48:55 UTC 2024 - 9.1K bytes - Viewed (0) -
cni/pkg/monitoring/monitoring.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 07:54:01 UTC 2023 - 1.5K bytes - Viewed (0) -
istioctl/pkg/config/config.go
func listCommand() *cobra.Command { listCmd := &cobra.Command{ Use: "list", Short: "List istio configurable defaults", Args: cobra.ExactArgs(0), RunE: func(c *cobra.Command, _ []string) error { root.Scope.Debugf("Config file %q", root.IstioConfig) return runList(c.OutOrStdout()) }, } return listCmd } func runList(writer io.Writer) error { // Sort flag names keys := make([]string, len(settableFlags))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Jul 30 12:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} kubeconfigFilepath := filepath.Join(cfg.CNIAgentRunDir, constants.CNIPluginKubeconfName) if err := file.AtomicWrite(kubeconfigFilepath, []byte(kc.Full), os.FileMode(cfg.KubeconfigMode)); err != nil { installLog.Debugf("error writing kubeconfig: %w", err) return err } installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted) return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
return nil } return c.ReconcilePod(pod) } func (c *Controller) ReconcilePod(pod *corev1.Pod) (err error) { if !c.matchesFilter(pod) { return // Skip, pod doesn't need repair } repairLog.Debugf("Reconciling pod %s", pod.Name) if c.cfg.RepairPods { return c.repairPod(pod) } else if c.cfg.DeletePods { return c.deleteBrokenPod(pod) } else if c.cfg.LabelPods { return c.labelBrokenPod(pod) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
// Note there appears to be a bug in vishvananda/netlink here: // https://github.com/vishvananda/netlink/issues/992 // // The "right" way to do this is: // if err == nl.IPSetError(nl.IPSET_ERR_EXIST) { // log.Debugf("ignoring ipset err") // return nil // } // but that doesn't actually work, so strings.Contains the error. if err != nil && strings.Contains(err.Error(), "exists") { return nil } return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0)