- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for ns (0.11 sec)
-
istioctl/pkg/waypoint/waypoint.go
if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) } var ns string if allNamespaces { ns = "" } else { ns = ctx.NamespaceOrDefault(ctx.Namespace()) } gws, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ns). List(context.Background(), metav1.ListOptions{}) if err != nil { return err } if len(gws.Items) == 0 {
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/nodeagent/informers.go
})) return s } func (s *InformerHandlers) GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) { ns := s.namespaces.Get(podNamespace, "") if ns == nil { return nil, fmt.Errorf("failed to find namespace %v", ns) } pod := s.pods.Get(podName, podNamespace) if util.PodRedirectionEnabled(ns, pod) { return pod, nil } return nil, nil } func (s *InformerHandlers) Start() {
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) -
cni/pkg/plugin/plugin_test.go
"cnibindir": "/testDirectory" } }` pod, ns := buildFakePodAndNSForClient() testDoAddRun(t, fmt.Sprintf(confNoPrevResult, false), testNSName, pod, ns) testDoAddRun(t, fmt.Sprintf(confNoPrevResult, true), testNSName, pod, ns) } func TestCmdAddEnableDualStack(t *testing.T) { pod, ns := buildFakePodAndNSForClient() pod.ObjectMeta.Annotations[sidecarStatusKey] = "true"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
package plugin import ( "fmt" "github.com/containernetworking/plugins/pkg/ns" "istio.io/istio/pkg/log" "istio.io/istio/tools/istio-iptables/pkg/cmd" "istio.io/istio/tools/istio-iptables/pkg/config" "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) // getNs is a unit test override variable for interface create. var getNs = ns.GetNS // Program defines a method which programs iptables based on the parameters
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 17:36:41 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
constants.DataplaneModeLabel)) _, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) // wait for another two update events // total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/testdata/secretsummary.txt
spiffe://cluster.local/ns/istio-system/sa/istiod Leaf Available true e5dfb59150b2ba7f108d93dcec5aa613 2033-03-22T13:04:57Z 2023-03-21T13:02:57Z spiffe://cluster.local/ns/istio-system/sa/istiod Root Available false 8a516645c40ce76c2c0d27ab4e2461c1 2022-03-18T13:04:49Z 2022-03-21T13:04:49Z
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 1022 bytes - Viewed (0) -
operator/cmd/mesh/install.go
} profile, ns, enabledComponents, err := getProfileNSAndEnabledComponents(iop) if err != nil { return fmt.Errorf("failed to get profile, namespace or enabled components: %v", err) } // Ignore the err because we don't want to show // "no running Istio pods in istio-system" for the first time _ = detectIstioVersionDiff(p, tag, ns, kubeClient, iop)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
cni/pkg/nodeagent/server.go
// don't return error here, as this is purely informational. } return retErr } func (s *meshDataplane) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error { log := log.WithLabels("ns", pod.Namespace, "name", pod.Name) err := s.netServer.RemovePodFromMesh(ctx, pod) if err != nil { log.Errorf("failed to remove pod from mesh: %v", err) return err } log.Debug("removing annotation from pod")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
} } // Remove pod from mesh: pod is not deleted, we just want to remove it from the mesh. func (s *NetServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error { log := log.WithLabels("ns", pod.Namespace, "name", pod.Name) log.Debugf("Pod is now opt out... cleaning up.") openNetns := s.currentPodSnapshot.Take(string(pod.UID)) if openNetns == nil { log.Warn("failed to find pod netns")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
architecture/ambient/ztunnel.md
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 22:35:16 GMT 2024 - 16.6K bytes - Viewed (0)