- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Debugf (0.24 sec)
-
cni/pkg/util/executil.go
} func Execute(cmd string, args ...string) error { log.Debugf("Running command: %s %s", cmd, strings.Join(args, " ")) externalCommand := exec.Command(cmd, args...) stdout := &bytes.Buffer{} stderr := &bytes.Buffer{} externalCommand.Stdout = stdout externalCommand.Stderr = stderr err := externalCommand.Run() if len(stdout.String()) != 0 { log.Debugf("Command output: \n%v", stdout.String()) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
switch event.Event { case controllers.EventAdd: log.Debugf("Namespace %s added", ns.Name) s.enqueueNamespace(ns) case controllers.EventUpdate: newNs := event.New.(*corev1.Namespace) oldNs := event.Old.(*corev1.Namespace) if getModeLabel(oldNs.Labels) != getModeLabel(newNs.Labels) { log.Debugf("Namespace %s updated", newNs.Name) s.enqueueNamespace(newNs) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
"net" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err } func DelInpodMarkIPRule(cfg *Config) error { return forEachInpodMarkIPRule(cfg, netlink.RuleDel) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// Not uncommon, many processes are transient and we have a TOCTOU here. // No problem, must not be the one we are after. log.Debugf("failed to open pid %v: %v", p.PID, err) continue } id, err := netlink.GetNetNsIdByFd(fd) _ = unix.Close(fd) if err != nil { log.Debugf("failed to get netns for pid %v: %v", p.PID, err) continue } if id != wantID { // Not the network we want, skip
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
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
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
if err != nil { return 0, fmt.Errorf("query() failure for '%s': %v", query, err) } log.Debugf("executing query: %s result:%s", query, val) switch v := val.(type) { case model.Vector: if v.Len() < 1 { log.Debugf("no values for query: %s", query) return 0, nil } return float64(v[0].Value), nil default:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 8.4K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
vals, mstr, err := renderOperatorManifest(args, &oiArgs.common) if err != nil { l.LogAndFatal(err) } installerScope.Debugf("Installing operator charts with the following values:\n%s", vals) installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr) opts := &applyOptions{ DryRun: args.DryRun, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
if err != nil { log.Errorf("failed to add pod to ztunnel: %v", err) if !errors.Is(err, ErrPartialAdd) { return err } retErr = err } log.Debugf("annotating pod %s", pod.Name) if err := util.AnnotateEnrolledPod(s.kubeClient, &pod.ObjectMeta); err != nil { log.Errorf("failed to annotate pod enrollment: %v", err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
log.Errorf("Failed to unmarshal CNI plugin event: %v", err) return msg, err } log.Debugf("Deserialized CNI plugin event: %+v", msg) return msg, nil } func (s *CniPluginServer) ReconcileCNIAddEvent(ctx context.Context, addCmd CNIPluginAddEvent) error { log := log.WithLabels("cni-event", addCmd) log.Debugf("netns: %s", addCmd.Netns)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
# Retrieve syncz debug information via Kubernetes config, using token security # (This is the usual way to get the debug information with an in-cluster control plane.) istioctl x internal-debug syncz # Retrieve syncz debug information directly from the control plane, using RSA certificate security
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0)