Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetIstioPods (0.14 sec)

  1. istioctl/pkg/authz/authz.go

    	}
    	return envoyConfig, nil
    }
    
    func getConfigDumpFromPod(kubeClient kube.CLIClient, podName, podNamespace string) (*configdump.Wrapper, error) {
    	pods, err := kubeClient.GetIstioPods(context.TODO(), podNamespace, metav1.ListOptions{
    		FieldSelector: "metadata.name=" + podName,
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed to get pod: %s", err)
    	}
    	if len(pods) != 1 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. istioctl/pkg/multixds/gather.go

    	labelSelector := centralOpts.XdsPodLabel
    	if labelSelector == "" {
    		labelSelector = "app=istiod"
    	}
    	pods, err := kubeClient.GetIstioPods(context.TODO(), istioNamespace, metav1.ListOptions{
    		LabelSelector: labelSelector,
    		FieldSelector: kube.RunningStatus,
    	})
    	if err != nil {
    		return nil, err
    	}
    	if len(pods) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top