Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CoreV1 (0.04 sec)

  1. istioctl/pkg/describe/describe.go

    				pods, err := client.Kube().CoreV1().Pods(ns).List(context.TODO(), metav1.ListOptions{
    					LabelSelector: strings.Join(labels, ","),
    				})
    				if err != nil {
    					return err
    				}
    				selectedPodCount = len(pods.Items)
    				for _, pod := range pods.Items {
    					if pod.Status.Phase != corev1.PodRunning {
    						fmt.Printf("   Pod is not %s (%s)\n", corev1.PodRunning, pod.Status.Phase)
    						continue
    					}
    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/proxyconfig/proxyconfig.go

    		// for yaml output we will convert the json to yaml when printed
    		path += "?format=json"
    	case prometheusOutput:
    		path += "/prometheus"
    	case prometheusMergedOutput:
    		pod, err := kubeClient.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    		if err != nil {
    			return "", fmt.Errorf("failed to retrieve Pod %s/%s: %v", podNamespace, podName, err)
    		}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top