Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for Infof (0.04 sec)

  1. cni/pkg/nodeagent/informers.go

    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[label.IoIstioDataplaneMode.Name] == constants.DataplaneModeAmbient
    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    		log.Infof("Namespace %s is disabled from ambient mesh", namespace)
    	}
    	for _, pod := range s.pods.List(namespace, klabels.Everything()) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. cni/pkg/log/uds_test.go

    	istiolog.FindScope("default").SetOutputLevel(istiolog.DebugLevel)
    	istiolog.Debug("debug log")
    	istiolog.Info("info log")
    	istiolog.Warn("warn log")
    	istiolog.Error("error log")
    	istiolog.WithLabels("key", 2).Infof("with labels")
    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = istiolog.Sync()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig.go

    	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)
  4. istioctl/pkg/writer/pilot/status.go

    			rds = formatStatus(config)
    		case xdsresource.EndpointType:
    			eds = formatStatus(config)
    		case xdsresource.ExtensionConfigurationType:
    			ecds = formatStatus(config)
    		default:
    			log.Infof("GenericXdsConfig unexpected type %s\n", xdsresource.GetShortType(cfgType))
    		}
    	}
    	return
    }
    
    func handleAndGetXdsConfigs(clientConfig *xdsstatus.ClientConfig) []*xdsstatus.ClientConfig_GenericXdsConfig {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 21 22:47:20 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher.go

    }
    
    // Start starts up a UDS server which receives events from the CNI chain plugin.
    func (s *CniPluginServer) Start() error {
    	if s.sockAddress == "" {
    		return fmt.Errorf("no socket address provided")
    	}
    	log.Infof("starting listener for CNI plugin events at %v", s.sockAddress)
    	unixListener, err := pluginlistener.NewListener(s.sockAddress)
    	if err != nil {
    		return fmt.Errorf("failed to create CNI listener: %v", err)
    	}
    	go func() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    	r, err := os.Open(f)
    	if err != nil {
    		return local.ReaderSource{}, err
    	}
    	runtime.SetFinalizer(r, func(x *os.File) {
    		err = x.Close()
    		if err != nil {
    			log.Infof("file : %s is not closed: %v", f, err)
    		}
    	})
    	return local.ReaderSource{Name: f, Reader: r}, nil
    }
    
    func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func waitForTokenData(client kube.CLIClient, secret *v1.Secret) (ca, token []byte, err error) {
    	ca, token, err = tokenDataFromSecret(secret)
    	if err == nil {
    		return
    	}
    
    	log.Infof("Waiting for data to be populated in %s", secret.Name)
    	err = backoff.Retry(
    		func() error {
    			secret, err = client.Kube().CoreV1().Secrets(secret.Namespace).Get(context.TODO(), secret.Name, metav1.GetOptions{})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    func (s *NetServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    	log.Infof("adding pod to the mesh")
    	// make sure the cache is aware of the pod, even if we don't have the netns yet.
    	s.currentPodSnapshot.Ensure(string(pod.UID))
    	openNetns, err := s.getOrOpenNetns(pod, netNs)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    			}
    		}
    		warning, err := v.validateFile(path, istioNamespace, defaultNamespace, reader, writer)
    		if err != nil {
    			errs = multierror.Append(errs, err)
    		}
    		err = reader.Close()
    		if err != nil {
    			log.Infof("file: %s is not closed: %v", path, err)
    		}
    		warningsByFilename[path] = warning
    	}
    	processDirectory := func(directory string, processFile func(string)) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables.go

    }
    
    func (cfg *IptablesConfigurator) executeIptablesRestoreCommand(
    	log *istiolog.Scope,
    	data string,
    	iptVer *dep.IptablesVersion,
    ) error {
    	cmd := iptablesconstants.IPTablesRestore
    	log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data))
    	// --noflush to prevent flushing/deleting previous contents from table
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top