- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CoreV1 (0.05 sec)
-
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) -
cni/pkg/nodeagent/podcgroupns_test.go
// limitations under the License. package nodeagent import ( "testing" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/test/util/assert" ) func TestWithProcFs(t *testing.T) { n := NewPodNetnsProcFinder(fakeFs()) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "bar",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 4.6K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package cli import ( "fmt" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" "istio.io/istio/istioctl/pkg/util/handlers" "istio.io/istio/pkg/cluster"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
selectedNamespace = ctx.NamespaceOrDefault(selectedNamespace) if selectedNamespace != "" { client, err := ctx.CLIClient() if err != nil { return err } _, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{}) if errors.IsNotFound(err) { fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace()) return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
// 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 { // not found return nil } // found
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
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)