- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for do (0.29 sec)
-
cni/pkg/repair/repaircontroller.go
c.pods.ShutdownHandlers() } func (c *Controller) Reconcile(key types.NamespacedName) error { pod := c.pods.Get(key.Name, key.Namespace) if pod == nil { delete(c.repairedPods, key) // Ensure we do not leak // Pod deleted, nothing to do return nil } return c.ReconcilePod(pod) } func (c *Controller) ReconcilePod(pod *corev1.Pod) (err error) { if !c.matchesFilter(pod) { return // Skip, pod doesn't need repair }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
} else { log.Infof("Namespace %s is disabled from ambient mesh", namespace) } for _, pod := range s.pods.List(namespace, klabels.Everything()) { // ztunnel pods are never "added to/removed from the mesh", so do not fire // spurious events for them to avoid triggering extra // ztunnel node reconciliation checks. if !util.IsZtunnelPod(s.systemNamespace, pod) { log.Debugf("Enqueuing pod %s/%s", pod.Namespace, pod.Name)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
} req, err := http.NewRequest(http.MethodPut, c.baseURL.String()+"/"+scope.Name, &jsonScopeInfo) if err != nil { return err } defer req.Body.Close() resp, err := c.httpClient.Do(req) if err != nil { return err } defer resp.Body.Close() if resp.StatusCode != http.StatusAccepted { return fmt.Errorf("cannot update resource %s, got status %s", scope.Name, resp.Status) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
ConfigMap, Deployment, etc. definitions for a complex application. When in doubt re-run istioctl kube-inject on deployments to get the most up-to-date changes. It's best to do kube-inject when the resource is initially created. `, Example: ` # Update resources on the fly before applying. kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they // choose to do so. // // NOTE: This is a warning and not an error because the user may not intend to label their namespace as ambient. //
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
// We have already Unmap'd, so we can do a simple IsV6 y/n check now if ipToInsert.Is6() { return m.Deps.addIP(m.V6Name, ipToInsert, ipProto, comment, replace) } return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace) } func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error { ipToDel := ip.Unmap() // We have already Unmap'd, so we can do a simple IsV6 y/n check now if ipToDel.Is6() {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/install/install.go
isReady: isReady, } } func (in *Installer) installAll(ctx context.Context) (sets.String, error) { // Install binaries // Currently we _always_ do this, since the binaries do not live in a shared location // and we harm no one by doing so. copiedFiles, err := copyBinaries(in.cfg.CNIBinSourceDir, in.cfg.CNIBinTargetDirs) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
"istio.io/istio/pkg/test/env" "istio.io/istio/tools/istio-iptables/pkg/cmd" "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) type mockNetNs struct { path string } func (ns *mockNetNs) Do(toRun func(ns.NetNS) error) error { return toRun(ns) } func (*mockNetNs) Set() error { return nil } func (ns *mockNetNs) Path() string { return ns.path } func (*mockNetNs) Fd() uintptr {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
cni/pkg/util/podutil.go
return err } func AnnotateUnenrollPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { if pod.Annotations[constants.AmbientRedirection] != constants.AmbientRedirectionEnabled { return nil } // TODO: do not overwrite if already none _, err := client.CoreV1(). Pods(pod.Namespace). Patch( context.Background(), pod.Name, types.MergePatchType, annotationRemovePatch, metav1.PatchOptions{},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
gvr := action.GetResource() ns := action.GetNamespace() watch, err := fc.Tracker().Watch(gvr, ns) if err != nil { return false, nil, err } // Kubernetes Fake watches do not add initial state, but real server does // https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-watch // Tracking in https://github.com/kubernetes/kubernetes/issues/123109
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (1)