Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for podname (0.11 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    			var errs *multierror.Error
    			for _, podName := range podNames {
    				if len(destLoggerLevels) == 0 {
    					resp, err = setupEnvoyLogConfig(kubeClient, "", podName, podNamespace)
    				} else {
    					if ll, ok := destLoggerLevels[defaultLoggerName]; ok {
    						// update levels of all loggers first
    						resp, err = setupEnvoyLogConfig(kubeClient, defaultLoggerName+"="+levelToString[ll], podName, podNamespace)
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  2. istioctl/pkg/dashboard/dashboard.go

    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else {
    				podName, ns, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.IstioNamespace())
    				if err != nil {
    					return err
    				}
    			}
    			port := inferMonitoringPort(client, podName, ns)
    			return portForward(podName, ns, fmt.Sprintf("Istio debug %s", podName),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    func getPodNameWithNamespace(ctx cli.Context, podflag, ns string) (string, string, error) {
    	var podName, podNamespace string
    	podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(podflag, ns)
    	if err != nil {
    		return "", "", err
    	}
    	return podName, podNamespace, nil
    }
    
    func setupZtunnelConfigDumpWriter(kubeClient kube.CLIClient, podName, podNamespace string, out io.Writer) (*ztunnelDump.ConfigWriter, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. pkg/kube/client.go

    	return nil, nil
    }
    
    func (c *client) EnvoyDo(ctx context.Context, podName, podNamespace, method, path string) ([]byte, error) {
    	return c.portForwardRequest(ctx, podName, podNamespace, method, path, 15000)
    }
    
    func (c *client) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    	return c.portForwardRequest(ctx, podName, podNamespace, method, path, port)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    		return err
    	}
    
    	// Check if the workload is running under Kubernetes.
    	podNamespace := string(k8sArgs.K8S_POD_NAMESPACE)
    	podName := string(k8sArgs.K8S_POD_NAME)
    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/configcontroller.go

    		s.initStatusManager(args)
    	}
    	if features.EnableDistributionTracking {
    		s.statusReporter = &distribution.Reporter{
    			UpdateInterval: features.StatusUpdateInterval,
    			PodName:        args.PodName,
    		}
    		s.addStartFunc("status reporter init", func(stop <-chan struct{}) error {
    			s.statusReporter.Init(s.environment.GetLedger(), stop)
    			return nil
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. pilot/pkg/status/distribution/reporter.go

    // with distribution information.
    func (r *Reporter) Start(clientSet kubernetes.Interface, namespace string, podname string, stop <-chan struct{}) {
    	scope.Info("Starting status follower controller")
    	r.client = clientSet.CoreV1().ConfigMaps(namespace)
    	r.cm = &corev1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   r.PodName + "-distribution",
    			Labels: map[string]string{labelKey: "true"},
    		},
    		Data: make(map[string]string),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. security/pkg/server/ca/node_auth_test.go

    		{Name: "ztunnel", Namespace: "istio-system"}: {},
    	}
    	ztunnelCaller := security.KubernetesInfo{
    		PodName:           "ztunnel-a",
    		PodNamespace:      "istio-system",
    		PodUID:            "12345",
    		PodServiceAccount: "ztunnel",
    	}
    	ztunnelPod := pod{
    		name:      ztunnelCaller.PodName,
    		namespace: ztunnelCaller.PodNamespace,
    		account:   ztunnelCaller.PodServiceAccount,
    		uid:       ztunnelCaller.PodUID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig.go

    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else if len(args) == 1 {
    				podName, ns = args[0], ctx.IstioNamespace()
    			}
    
    			portForwarder, err := client.NewPortForwarder(podName, ns, "", 0, controlzPort)
    			if err != nil {
    				return fmt.Errorf("could not build port forwarder for ControlZ %s: %v", podName, err)
    			}
    			defer portForwarder.Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. security/pkg/server/ca/server_test.go

    		{Name: "ztunnel", Namespace: "istio-system"}: {},
    	}
    	ztunnelCaller := security.KubernetesInfo{
    		PodName:           "ztunnel-a",
    		PodNamespace:      "istio-system",
    		PodUID:            "12345",
    		PodServiceAccount: "ztunnel",
    	}
    	ztunnelPod := pod{
    		name:      ztunnelCaller.PodName,
    		namespace: ztunnelCaller.PodNamespace,
    		account:   ztunnelCaller.PodServiceAccount,
    		uid:       ztunnelCaller.PodUID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top