Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for pdName (0.4 sec)

  1. istioctl/pkg/proxystatus/proxystatus.go

    			multiXdsOpts.MessageWriter = c.OutOrStdout()
    
    			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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_iptables_linux.go

    		return err
    	}
    	defer netNs.Close()
    
    	return netNs.Do(func(_ ns.NetNS) error {
    		log.Infof("============= Start iptables configuration for %v =============", podName)
    		defer log.Infof("============= End iptables configuration for %v =============", podName)
    		return cmd.ProgramIptables(cfg)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    	asw := cache.NewActualStateOfWorld(fakeVolumePluginMgr)
    	podName := "pod-uid"
    	volumeName := v1.UniqueVolumeName("volume-name")
    	volumeSpec := controllervolumetesting.GetTestVolumeSpec(string(volumeName), volumeName)
    	nodeName := k8stypes.NodeName("node-name")
    
    	dsw.AddNode(nodeName)
    	_, err := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/options.go

    		fn(p)
    	}
    
    	return p
    }
    
    // Apply default value to PilotArgs
    func (p *PilotArgs) applyDefaults() {
    	p.Namespace = PodNamespace
    	p.CniNamespace = PodNamespace
    	p.PodName = PodName
    	p.Revision = Revision
    	p.JwtRule = JwtRule
    	p.KeepaliveOptions = keepalive.DefaultOption()
    	p.RegistryOptions.DistributionTrackingEnabled = features.EnableDistributionTracking
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher_test.go

    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	addEvent, err := processAddEvent(payload)
    
    	assert.NoError(t, err)
    	assert.Equal(t, valid, addEvent)
    }
    
    func TestProcessAddEventBadPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. hack/boilerplate/boilerplate.py

                # the size of the file list
                for dname in skipped_names:
                    if dname in dirs:
                        dirs.remove(dname)
                for dname in dirs:
                    # dirs that start with __ are ignored
                    if dname.startswith("__"):
                        dirs.remove(dname)
    
                for name in walkfiles:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tests/integration/security/cacert_rotation/main_test.go

    	podID, err := getPodID(i)
    	if err != nil {
    		t.Fatalf("Could not get Pod ID: %v", err)
    	}
    	podName := fmt.Sprintf("%s.%s", podID, i.NamespaceName())
    	out, errOut, err := ctl.Invoke([]string{"pc", "s", podName, "-o", "json"})
    	if err != nil || errOut != "" {
    		t.Errorf("failed to retrieve pod secret from %s, err: %v errOut: %s", podName, err, errOut)
    	}
    
    	dump := &admin.SecretsConfigDump{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. tests/integration/pilot/revisions/revision_tag_test.go

    					verifyRevision(t, istioCtl, pods[0].Name, revTagNs.Name(), tc.revision)
    				})
    			}
    		})
    }
    
    func verifyRevision(t framework.TestContext, i istioctl.Instance, podName, podNamespace, revision string) {
    	t.Helper()
    	pcArgs := []string{"pc", "bootstrap", podName, "-n", podNamespace}
    	bootstrapConfig, _ := i.InvokeOrFail(t, pcArgs)
    	expected := fmt.Sprintf("\"discoveryAddress\": \"istiod-%s.istio-system.svc:15012\"", revision)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tests/integration/ambient/cacert_rotation_test.go

    	for _, ztunnel := range zPods {
    		podName := fmt.Sprintf("%s.%s", ztunnel.Name, ztunnel.Namespace)
    		out, errOut, err := ctl.Invoke([]string{"pc", "s", podName, "-o", "json"})
    		if err != nil || errOut != "" {
    			t.Errorf("failed to retrieve pod secrets from %s, err: %v errOut: %s", podName, err, errOut)
    		}
    
    		dump := []configdump.CertsDump{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/cni-watcher.go

    	ambientPod, err := s.getPodWithRetry(log, addCmd.PodName, addCmd.PodNamespace)
    	if err != nil {
    		return err
    	}
    	log.Debugf("Pod: %s in ns: %s is enabled for ambient, adding to mesh.", addCmd.PodName, addCmd.PodNamespace)
    
    	var podIps []netip.Addr
    	for _, configuredPodIPs := range addCmd.IPs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top