- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for Gods (0.18 sec)
-
cni/pkg/nodeagent/ztunnelserver_test.go
setupLogging() ctx, cancel := context.WithCancel(context.Background()) defer cancel() pods := &fakePodCache{} pod, f := podAndNetns() f.Close() pods.pods = map[string]WorkloadInfo{ string(pod.UID): {}, // simulate unknown netns } fixture := connectWithPods(ctx, pods) ztunClient := fixture.ztunClient // read initial pod add keep, fds := readRequest(t, ztunClient)
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
cni/pkg/util/podutil.go
func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1(). Pods(pod.Namespace). Patch( context.Background(), pod.Name, types.MergePatchType, annotationPatch, metav1.PatchOptions{}, // Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead. "status", ) return err }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
args: strings.Split("clusters invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config clusters invalid" should fail }, { // listeners invalid args: strings.Split("listeners invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config listeners invalid" should fail
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
configClient istioclient.Interface, client kube.CLIClient, ) error { pods, err := kubeClient.CoreV1().Pods("").List(context.TODO(), metav1.ListOptions{ LabelSelector: "istio=ingressgateway", FieldSelector: "status.phase=Running", }) if err != nil { return multierror.Prefix(err, "Could not find ingress gateway pods") } if len(pods.Items) == 0 {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
cni/pkg/constants/constants.go
AmbientDNSCapture = "ambient-dns-capture" // Repair RepairEnabled = "repair-enabled" RepairDeletePods = "repair-delete-pods" RepairRepairPods = "repair-repair-pods" RepairLabelPods = "repair-label-pods" RepairLabelKey = "repair-broken-pod-label-key" RepairLabelValue = "repair-broken-pod-label-value" RepairNodeName = "repair-node-name"
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 01:42:30 GMT 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 { return errors.New("no pods found") } if len(pl.Items) > 1 { log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", labelSelector, pl.Items[0].Name) } // only use the first pod in the list podName = pl.Items[0].Name
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
- `LabelSelectors` specified in `topologySpreadConstraints` were validated to ensure that pods are scheduled as expected. Existing pods with invalid `LabelSelectors` could be updated, but new pods were required to specify valid `LabelSelectors`. ([#111802](https://github.com/kubernetes/kubernetes/pull/111802), [@maaoBit](https://github.com/maaoBit))
Plain Text - Registered: Fri Apr 26 09:05:10 GMT 2024 - Last Modified: Tue Apr 16 15:20:21 GMT 2024 - 434.3K bytes - Viewed (3) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) } sort.Sort(sortBy(pods)) return config.NamespacedName(pods[0]), nil } return types.NamespacedName{}, fmt.Errorf("no pods found") } type commonFlags struct { // output format (json, yaml or short) outputFormat string proxyAdminPort int configDumpFile string node string }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 22.2K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
// connections to pod delivered map // add pod goes to newest connection // delete pod goes to all connections conns *connMgr pods PodNetnsCache } var _ ZtunnelServer = &ztunnelServer{} func newZtunnelServer(addr string, pods PodNetnsCache) (*ztunnelServer, error) { if addr == "" { return nil, fmt.Errorf("addr cannot be empty") }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
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 { return nil, fmt.Errorf("expecting only 1 pod for %s.%s, found: %d", podName, podNamespace, len(pods)) }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0)