Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for ns (0.14 sec)

  1. 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)
  2. docs/distributed/decom-encrypted-sse-s3.sh

    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. docs/distributed/decom.sh

    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. 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)
  6. cni/pkg/nodeagent/pod_cache_test.go

    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    	ns := newFakeNsInode(inc(), 1)
    	wl := WorkloadInfo{
    		Workload: podToWorkload(pod),
    		Netns:    ns,
    	}
    	netns1 := p.UpsertPodCacheWithNetns(string(pod.UID), wl)
    	if !reflect.DeepEqual(netns1, ns) {
    		t.Fatalf("Expected the same Netns for the same uid, got %v and %v", netns1, ns)
    	}
    
    	ns2 := newFakeNsInode(inc(), 1)
    	wl2 := WorkloadInfo{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs/distributed/decom-compressed-sse-s3.sh

    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/distributed/decom-encrypted.sh

    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. istioctl/pkg/proxystatus/proxystatus.go

    			if len(args) > 0 {
    				podName, ns, err := ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace())
    				if err != nil {
    					return err
    				}
    				if ambient.IsZtunnelPod(kubeClient, podName, ns) {
    					_, _ = fmt.Fprintf(c.OutOrStdout(),
    						"Sync diff is not available for ztunnel pod %s.%s\n", podName, ns)
    					return nil
    				}
    				var envoyDump []byte
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/pod_cache.go

    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if ns, ok := p.currentPodCache[uid]; ok {
    		delete(p.currentPodCache, uid)
    		// already in cache
    		return ns.Netns
    	}
    
    	return nil
    }
    
    func openNetnsInRoot(hostMountsPath string) func(nspath string) (NetnsCloser, error) {
    	return func(nspath string) (NetnsCloser, error) {
    		nspathInContainer := filepath.Join(hostMountsPath, nspath)
    		ns, err := OpenNetns(nspathInContainer)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top