Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for have (0.18 sec)

  1. istioctl/pkg/describe/describe.go

    	if matches < possibleDests {
    		// We've printed the match conditions.  We can't say for sure that matching
    		// traffic will reach this pod, because an earlier match condition could have captured it.
    		fmt.Fprintf(writer, "%s%d additional destination(s) that will not reach this pod\n",
    			printSpaces(initPrintNum+printLevel1), possibleDests-matches)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher.go

    	log := log.WithLabels("cni-event", addCmd)
    
    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	maxStaleRetries := 10
    	msInterval := 10
    	retries := 0
    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)
  3. operator/cmd/mesh/test-util_test.go

    }
    
    // NegatedFailureMessage implements the Matcher interface.
    func (m *HavePathValueEqualMatcher) NegatedFailureMessage(actual any) string {
    	pv := m.expected.(PathValue)
    	node := actual.(map[string]any)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns.go

    	/*
    		for each process, find its netns inode,
    		if we already seen the inode, skip it
    		if we haven't seen the inode, check the process cgroup and see if we
    		can extract a pod uid from it.
    		if we can, open the netns, and save a map of uid->netns-fd
    	*/
    
    	podUIDNetns := make(PodToNetns)
    	netnsObserved := sets.New[uint64]()
    
    	entries, err := fs.ReadDir(p.proc, ".")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck.go

    }
    
    func checkTracing(cli kube.CLIClient, messages *diag.Messages) error {
    	// In 1.22, we remove the default tracing config which points to zipkin.istio-system
    	// This has no effect for users, unless they have this service.
    	svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{})
    	if err != nil && !kerrors.IsNotFound(err) {
    		return err
    	}
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. istioctl/pkg/config/config.go

    		fmt.Fprintf(w, "%s\t%s\t%v\n", flag, viper.GetString(flag), configSource(flag, v))
    	}
    	return w.Flush()
    }
    
    func configSource(flag string, v env.VariableInfo) string {
    	// Environment variables have high precedence in Viper
    	if v.IsSet() {
    		return "$" + v.GetName()
    	}
    
    	if viper.InConfig(flag) {
    		return root.IstioConfig
    	}
    
    	return "default"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    			return nil, err
    		}
    		return secret, nil
    	}
    
    	// first try to find an existing secret that references the SA
    	// TODO will the SA have any reference to secrets anymore, can we avoid this list?
    	allSecrets, err := client.Kube().CoreV1().Secrets(opt.Namespace).List(ctx, metav1.ListOptions{})
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    		orig.HelpFunc()(cmd, args)
    	})
    }
    
    func ConfigureLogging(_ *cobra.Command, _ []string) error {
    	return log.Configure(root.LoggingOptions)
    }
    
    // seeExperimentalCmd is used for commands that have been around for a release but not graduated from
    // Other alternative
    // for graduatedCmd see https://github.com/istio/istio/pull/26408
    // for softGraduatedCmd see https://github.com/istio/istio/pull/26563
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    		if err == nil {
    			webhookURL.Path = "/validate"
    			whConfig.URL = webhookURL.String()
    		}
    	}
    
    	// ValidatingWebhookConfiguration failurePolicy is managed by Istiod, so if currently we already have a webhook in cluster
    	// that is set to `Fail` by Istiod, we avoid of setting it back to the default `Ignore`.
    	vwh, err := client.Kube().AdmissionregistrationV1().ValidatingWebhookConfigurations().
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    	validateReferentialIntegrity(t, objsRev, "istiod-canary", istiodCanary16Selector)
    
    	t.Run("cross revision", func(t *testing.T) {
    		// Istiod revisions have complicated cross revision implications. We should assert these are correct
    		// First we fetch all the objects for our default install
    		cname := "istiod"
    		deployment := mustFindObject(t, objs, cname, name.DeploymentStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top