Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for IstioNamespace (0.16 sec)

  1. istioctl/pkg/describe/describe.go

    	writer io.Writer,
    	kubeClient kube.CLIClient,
    	configClient istioclient.Interface,
    	workloadNamespace string,
    	podsLabels klabels.Set,
    	istioNamespace string,
    ) error {
    	meshCfg, err := getMeshConfig(kubeClient, istioNamespace)
    	if err != nil {
    		return fmt.Errorf("failed to fetch mesh config: %v", err)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    				} else {
    					istiodLabelSelector = fmt.Sprintf("%s=%s", label.IoIstioRev.Name, opts.Revision)
    				}
    				pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), istiodLabelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", istiodLabelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/tag.go

    	}
    	fmt.Fprintf(w, tagCreatedStr, tagName, revision, tagName)
    	return nil
    }
    
    func analyzeWebhook(name, istioNamespace, wh, revision string, config *rest.Config) error {
    	sa := local.NewSourceAnalyzer(analysis.Combine("webhook", &webhook.Analyzer{}), "", resource.Namespace(istioNamespace), nil)
    	if err := sa.AddReaderKubeSource([]local.ReaderSource{{Name: "", Reader: strings.NewReader(wh)}}); err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. istioctl/pkg/metrics/metrics.go

    	client, err := ctx.CLIClientWithRevision(metricsOpts.Revision)
    	if err != nil {
    		return fmt.Errorf("failed to create k8s client: %v", err)
    	}
    
    	pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus")
    	if err != nil {
    		return fmt.Errorf("not able to locate Prometheus pod: %v", err)
    	}
    
    	if len(pl.Items) < 1 {
    		return errors.New("no Prometheus pods found")
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. istioctl/pkg/internaldebug/internal-debug_test.go

    	})
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    			})
    			if !c.noIstiod {
    				client, err := ctx.CLIClientWithRevision(c.revision)
    				assert.NoError(t, err)
    				_, err = client.Kube().CoreV1().Pods("istio-system").Create(context.TODO(), &corev1.Pod{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. manifests/charts/README.md

                --set global.istioNamespace=istio-system
    
    # Second istio-discovery, using master version of istio
    TAG=latest HUB=gcr.io/istio-testing iop istio-master istio-discovery-master $IBASE/istio-control/istio-discovery \
                --set policy.enable=false \
                --set global.istioNamespace=istio-master
    ```
    
    ### Gateways
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 16:56:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. istioctl/pkg/proxystatus/proxystatus_test.go

    	})
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    			})
    			if !c.noIstiod {
    				client, err := ctx.CLIClientWithRevision(c.revision)
    				assert.NoError(t, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				}
    				podNames = []string{podName}
    				podNamespace = ns
    			} else {
    				var err error
    				podNames, podNamespace, err = ctx.InferPodsFromTypedResource("daemonset/ztunnel", ctx.IstioNamespace())
    				if err != nil {
    					return err
    				}
    			}
    
    			destLoggerLevels := map[string]Level{}
    			if reset {
    				log.Warn("log level reset; using default value \"info\" for Ztunnel")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. istioctl/pkg/analyze/analyze.go

    				selectedNamespace = metav1.NamespaceDefault
    			}
    
    			sa := local.NewIstiodAnalyzer(analyzers.AllCombined(),
    				resource.Namespace(selectedNamespace),
    				resource.Namespace(ctx.IstioNamespace()), nil)
    
    			// Check for suppressions and add them to our SourceAnalyzer
    			suppressions := make([]local.AnalysisSuppression, 0, len(suppress))
    			for _, s := range suppress {
    				parts := strings.Split(s, "=")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics_test.go

    			ExpectedRegexp: regexp.MustCompile("could not build metrics for workload"),
    			WantException:  true,
    		},
    	}
    
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		IstioNamespace: "istio-system",
    	})
    	client, err := ctx.CLIClient()
    	if err != nil {
    		t.Fatal(err)
    	}
    	client.Kube().CoreV1().Pods("istio-system").Create(context.TODO(), &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 01:35:47 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top