- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for ns (0.14 sec)
-
cni/pkg/plugin/plugin_test.go
excludedNS := "testExcludeNS" pod, ns := buildFakePodAndNSForClient() app := corev1.Container{Name: "app"} ns.ObjectMeta.Name = excludedNS ns.ObjectMeta.Labels = map[string]string{constants.DataplaneMode: constants.AmbientRedirectionEnabled} pod.ObjectMeta.Namespace = excludedNS pod.Spec.Containers = []corev1.Container{app} testDoAddRun(t, cniConf, excludedNS, pod, ns) wasCalled := serverClose()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
constants.DataplaneMode)) _, 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 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
ctx := context.Background() nsList, err := getNamespaces(ctx, kubeClient) if err != nil { return nil, err } var nsNameList []string for _, ns := range nsList { if toComplete == "" || strings.HasPrefix(ns.Name, toComplete) { nsNameList = append(nsNameList, ns.Name) } } return nsNameList, nil } func getNamespaces(ctx context.Context, client kube.CLIClient) ([]corev1.Namespace, error) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K 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 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 1022 bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
// only use the first pod in the list podName = pl.Items[0].Name ns = pl.Items[0].Namespace } else { podName, ns, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.IstioNamespace()) if err != nil { return err } } port := inferMonitoringPort(client, podName, ns) return portForward(podName, ns, fmt.Sprintf("Istio debug %s", podName),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/xds/client.go
func GetXdsResponse(dr *discovery.DiscoveryRequest, ns string, serviceAccount string, opts clioptions.CentralControlPlaneOptions, grpcOpts []grpc.DialOption, ) (*discovery.DiscoveryResponse, error) { adscConn, err := adsc.NewWithBackoffPolicy(opts.Xds, &adsc.ADSConfig{ Config: adsc.Config{ Meta: model.NodeMetadata{ Generator: "event", ServiceAccount: serviceAccount, Namespace: ns, CloudrunAddr: opts.IstiodAddr,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Dec 19 22:42:42 GMT 2023 - 3.7K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/configmap-cni.yaml
"kubeconfig": "__KUBECONFIG_FILEPATH__", "cni_bin_dir": {{ .Values.cni.cniBinDir | default $defaultBinDir | quote }}, "exclude_namespaces": [ {{ range $idx, $ns := .Values.cni.excludeNamespaces }}{{ if $idx }}, {{ end }}{{ quote $ns }}{{ end }} ] }
Others - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.3K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
// if the namespace in the CR is provided, consider creating it too. if istioNamespace != "" { namespaces = append(namespaces, istioNamespace) } for _, ns := range namespaces { if err := operatorutil.CreateNamespace(kubeClient.Kube(), ns, "", opts.DryRun); err != nil { l.LogAndFatal(err) } } if err := applyManifest(kubeClient, client, mstr, name.IstioOperatorComponentName, opts, iop, l); err != nil {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1) // make sure the uid was taken from cache and netns closed netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns) // run gc to clean up ns: //revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns runtime.GC() assertNSClosed(t, closed) } func TestServerDeletePod(t *testing.T) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json
{ "identity": "spiffe://cluster.local/ns/istio-system/sa/ztunnel", "state": "Initializing", "certChain": [] }, { "identity": "spiffe://cluster.local/ns/istio-system/sa/another-sa", "state": "Unavailable: the identity is no longer needed", "certChain": [] }, { "identity": "spiffe://cluster.local/ns/istio-system/sa/istiod",
Json - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 33.1K bytes - Viewed (0)