Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Warnf (0.02 sec)

  1. cni/pkg/install/cniconfig.go

    				installLog.Warnf("Error loading CNI config file %s: no 'type'; perhaps this is a .conflist?", confFile)
    				continue
    			}
    
    			confList, err = libcni.ConfListFromConf(conf)
    			if err != nil {
    				installLog.Warnf("Error converting CNI config file %s to list: %v", confFile, err)
    				continue
    			}
    		}
    		if len(confList.Plugins) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	ingressMode := false
    	if a, f := pod.Annotations[annotation.AmbientBypassInboundCapture.Name]; f {
    		var err error
    		ingressMode, err = strconv.ParseBool(a)
    		if err != nil {
    			log.Warnf("annotation %v=%q found, but only '*' is supported", annotation.AmbientBypassInboundCapture.Name, a)
    		}
    	}
    
    	log.Debug("calling CreateInpodRules")
    	if err := s.netnsRunner(openNetns, func() error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server.go

    	s.kubeClient.RunAndWait(s.ctx.Done())
    	log.Info("CNI ambient server kubeclient started")
    	pods := s.handlers.GetActiveAmbientPodSnapshot()
    	err := s.dataplane.ConstructInitialSnapshot(pods)
    	if err != nil {
    		log.Warnf("failed to construct initial snapshot: %v", err)
    	}
    
    	log.Info("CNI ambient server marking ready")
    	s.Ready()
    	s.dataplane.Start(s.ctx)
    	s.handlers.Start()
    }
    
    func (s *Server) Stop() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    	var pods []*corev1.Pod
    	for _, pod := range s.pods.List(metav1.NamespaceAll, klabels.Everything()) {
    		ns := s.namespaces.Get(pod.Namespace, "")
    		if ns == nil {
    			log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name)
    		}
    
    		// Exclude ztunnels, and terminated daemonset pods
    		// from the snapshot.
    		if !util.IsZtunnelPod(s.systemNamespace, pod) &&
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables_linux.go

    		// IPv6 may be enabled, but only partially
    		v, err := ReadSysctl(ipv6DisabledLo)
    		if v != "1" {
    			// If we got an error, we will proceed. Maybe it will work anyways
    			if err != nil {
    				log.Warnf("attempted to read %q got error: %v; attemping to continue", ipv6DisabledLo, err)
    			}
    			cidrs = append(cidrs, "0::0/0")
    		} else {
    			log.Debugf("IPv6 is enabled, but the loopback interface has IPv6 disabled; skipping")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. cni/pkg/repair/netns.go

    		}
    
    		if !match {
    			// Not the network we want, skip
    			continue
    		}
    		s, err := p.Stat()
    		if err != nil {
    			// Unexpected... we will use it, but only if we find nothing without errors
    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    			continue
    		}
    		// Get the oldest one.
    		if s.Starttime < oldest {
    			oldest = s.Starttime
    			best = ns
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. cni/pkg/install/install.go

    		if len(cfg.CNIConfName) > 0 || !cfg.ChainedCNIPlugin {
    			// Install was run with overridden CNI config file so don't error out on preempt check
    			// Likely the only use for this is testing the script
    			installLog.Warnf("CNI config file %q preempted by %q", cniConfigFilepath, defaultCNIConfigFilepath)
    		} else {
    			return fmt.Errorf("CNI config file %q preempted by %q", cniConfigFilepath, defaultCNIConfigFilepath)
    		}
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher.go

    	// if nil is returned, we found it but ambient is not enabled
    	for ambientPod, err = s.handlers.GetPodIfAmbient(name, namespace); (err != nil) && (retries < maxStaleRetries); retries++ {
    		log.Warnf("got an event for pod %s in namespace %s not found in current pod cache, retry %d of %d",
    			name, namespace, retries, maxStaleRetries)
    		if !sleep.UntilContext(s.ctx, time.Duration(msInterval)*time.Millisecond) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject.go

    		}
    		*sidecarTemplate = injectConfig
    	} else {
    		injector, err = setUpExternalInjector(cliContext, revision, injectorAddress)
    		if err != nil || injector.clientConfig == nil {
    			log.Warnf("failed to get injection config from mutatingWebhookConfigurations %q, will fall back to "+
    				"get injection from the injection configmap %q : %v", whcName, defaultInjectWebhookConfigName, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

    				levelString, _ := getLogLevelFromConfigMap(ctx)
    				level, ok := stringToLevel[levelString]
    				if ok {
    					destLoggerLevels[defaultLoggerName] = level
    				} else {
    					log.Warnf("unable to get logLevel from ConfigMap istio-sidecar-injector, using default value %q for envoy proxies",
    						levelToString[defaultEnvoyOutputLevel])
    					destLoggerLevels[defaultLoggerName] = defaultEnvoyOutputLevel
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top