Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Infof (0.03 sec)

  1. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. 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", podNamespace, podName)
    			return nil
    		}
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    			return
    		}
    		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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. cni/pkg/plugin/sidecar_iptables_linux.go

    		// Important: run within the pod network namespace since some attributes are namespace specific
    		if err := cfg.FillConfigFromEnvironment(); err != nil {
    			return err
    		}
    		log.Infof("============= Start iptables configuration for %v =============", podName)
    		defer log.Infof("============= End iptables configuration for %v =============", podName)
    		return cmd.ProgramIptables(cfg)
    	})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jun 29 01:24:47 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. cni/pkg/install/binaries.go

    			if err := file.AtomicCopy(srcFilepath, targetDir, filename); err != nil {
    				installLog.Errorf("failed file copy of %s to %s: %s", srcFilepath, targetDir, err.Error())
    				return copiedFilenames, err
    			}
    			installLog.Infof("Copied %s to %s", filename, targetDir)
    		}
    
    		copiedFilenames.Insert(filename)
    	}
    
    	return copiedFilenames, nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top