Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Infof (0.01 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    		if wl.Netns != nil {
    			fd := int(wl.Netns.Fd())
    			log.Infof("sending pod to ztunnel as part of snapshot")
    			resp, err = conn.SendMsgAndWaitForAck(&zdsapi.WorkloadRequest{
    				Payload: &zdsapi.WorkloadRequest_Add{
    					Add: &zdsapi.AddWorkload{
    						Uid:          uid,
    						WorkloadInfo: wl.Workload,
    					},
    				},
    			}, &fd)
    		} else {
    			log.Infof("netns is not available for pod, sending 'keep' to ztunnel")
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 10.7K bytes
    - Viewed (0)
  2. cni/pkg/install/binaries.go

    			// the only possible returned error is [ErrBadPattern], when pattern is malformed. Can be ignored in this case
    			matches, _ := filepath.Glob(filepath.Join(targetDir, filename) + ".tmp.*")
    			if len(matches) > 0 {
    				installLog.Infof("Target folder %s contains one or more temporary files with a %s name. The temp files will be deleted.", targetDir, filename)
    				for _, file := range matches {
    					if err := os.Remove(file); err != nil {
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-12-16 10:10
    - 2.1K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    	if _, ok := labels[c.cfg.LabelKey]; ok {
    		m.With(resultLabel.Value(resultSkip)).Increment()
    		repairLog.Infof("Pod %s/%s already has label with key %s, skipping", pod.Namespace, pod.Name, c.cfg.LabelKey)
    		return nil
    	}
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 8.1K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    		installLog.Infof("Renaming %s extension to .conflist", cniConfigFilepath)
    		err = os.Rename(cniConfigFilepath, cniConfigFilepath+"list")
    		if err != nil {
    			installLog.Errorf("Failed to rename CNI config file %v: %v", cniConfigFilepath, err)
    			return cniConfigFilepath, err
    		}
    		cniConfigFilepath += "list"
    	}
    
    	installLog.Infof("created CNI config %s", cniConfigFilepath)
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-08 17:35
    - 8.5K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    			return
    		}
    		log.Infof("CNI version: %v", version.Info.String())
    		log.Infof("CNI logging level: %+v", istiolog.LevelToString(log.GetOutputLevel()))
    		log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig)
    		log.Infof("CNI race repair configuration: \n%+v", cfg.RepairConfig)
    
    		// Start metrics server
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-06 05:38
    - 15K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    			}
    		} else {
    			installLog.Infof("removing Istio CNI config file: %s", in.cniConfigFilepath)
    			if err := os.Remove(in.cniConfigFilepath); err != nil {
    				return fmt.Errorf("failed to remove CNI config file %s: %w", in.cniConfigFilepath, err)
    			}
    		}
    	}
    
    	if len(in.kubeconfigFilepath) > 0 && file.Exists(in.kubeconfigFilepath) {
    		installLog.Infof("removing Istio CNI kubeconfig file: %s", in.kubeconfigFilepath)
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-17 16:06
    - 13.8K bytes
    - Viewed (0)
  7. cni/pkg/repair/repaircontroller_linux.go

    			// Either way, we will skip.
    			log.Errorf("Skipping pod, already repaired with an unexpected UID %v vs %v", uid, pod.UID)
    		}
    		return nil
    	}
    	log.Infof("Repairing pod...")
    
    	// Fetch the pod's network namespace. This must run in the host process due to how the procfs /ns/net works.
    	// This will get a network namespace ID. This ID is scoped to the network namespace we running in.
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 2.9K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    	if pi.Containers.Contains(ISTIOINIT) {
    		log.Infof("excluded due to being already injected with istio-init container")
    		return nil
    	}
    
    	if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok {
    		if val, err := strconv.ParseBool(val); err == nil && val {
    			log.Infof("excluded due to DISABLE_ENVOY on istio-proxy")
    			return nil
    		}
    	}
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-06 05:38
    - 12.8K bytes
    - Viewed (0)
  9. cni/pkg/util/pluginutil.go

    	}
    
    	fileModified, errChan := make(chan struct{}), make(chan error)
    	go watchFiles(watcher, fileModified, errChan)
    
    	for _, path := range paths {
    		if !file.Exists(path) {
    			log.Infof("file watcher skipping watch on non-existent path: %v", path)
    			continue
    		}
    		if err := watcher.Add(path); err != nil {
    			if closeErr := watcher.Close(); closeErr != nil {
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-01-26 20:34
    - 3.6K bytes
    - Viewed (0)
  10. cni/cmd/install-cni/main.go

    	sigChan := make(chan os.Signal, 1)
    	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    		sig := <-sigChan
    		log.Infof("Exit signal received: %s", sig)
    		cancel()
    	}(sigChan, cancel)
    
    	rootCmd := cmd.GetCommand()
    	if err := rootCmd.ExecuteContext(ctx); err != nil {
    		os.Exit(1)
    	}
    Registered: 2025-05-28 22:53
    - Last Modified: 2023-05-23 17:08
    - 1.2K bytes
    - Viewed (0)
Back to top