Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for pdName (0.24 sec)

  1. pkg/controller/volume/pvprotection/pv_protection_controller.go

    	startTime := time.Now()
    	defer func() {
    		logger.V(4).Info("Finished processing PV", "PV", klog.KRef("", pvName), "cost", time.Since(startTime))
    	}()
    
    	pv, err := c.pvLister.Get(pvName)
    	if apierrors.IsNotFound(err) {
    		logger.V(4).Info("PV not found, ignoring", "PV", klog.KRef("", pvName))
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/authz.go

    				}
    			} else if len(args) == 1 {
    				podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace())
    				if err != nil {
    					return err
    				}
    				configDump, err = getConfigDumpFromPod(kubeClient, podName, podNamespace)
    				if err != nil {
    					return fmt.Errorf("failed to get config dump from pod %s in %s", podName, podNamespace)
    				}
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. istioctl/pkg/util/handlers/handlers.go

    	resname, ns := inferNsInfo(name, defaultNS)
    	if !strings.Contains(resname, "/") {
    		return []string{resname}, ns, nil
    	}
    	client, podName, namespace, selector, err := getClientForResource(resname, ns, factory)
    	if err != nil {
    		return []string{}, "", err
    	}
    	if podName != "" {
    		return []string{podName}, namespace, err
    	}
    
    	options := metav1.ListOptions{LabelSelector: selector}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. istioctl/pkg/util/ambient/util.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    )
    
    func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool {
    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    	if client == nil {
    		return isZtunnel
    	}
    	pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    	if err != nil {
    		return isZtunnel
    	}
    	if v, ok := pod.Labels["app"]; ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. pkg/kube/portforwarder.go

    func (f *forwarder) WaitForStop() {
    	<-f.stopCh
    }
    
    func newPortForwarder(c *client, podName, ns, localAddress string, localPort, podPort int) (PortForwarder, error) {
    	if localAddress == "" {
    		localAddress = defaultLocalAddress
    	}
    	f := &forwarder{
    		stopCh:       make(chan struct{}),
    		restConfig:   c.config,
    		podName:      podName,
    		ns:           ns,
    		localAddress: localAddress,
    		localPort:    localPort,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/assume_cache.go

    	}
    }
    
    func (c *PVAssumeCache) GetPV(pvName string) (*v1.PersistentVolume, error) {
    	obj, err := c.Get(pvName)
    	if err != nil {
    		return nil, err
    	}
    
    	pv, ok := obj.(*v1.PersistentVolume)
    	if !ok {
    		return nil, &assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj}
    	}
    	return pv, nil
    }
    
    func (c *PVAssumeCache) GetAPIPV(pvName string) (*v1.PersistentVolume, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. cni/pkg/plugin/cnieventclient.go

    	}
    	// Currently we only use the netns from the original CNI event
    	addEvent := nodeagent.CNIPluginAddEvent{Netns: event.Netns, PodName: podName, PodNamespace: podNamespace, IPs: ncconfigs}
    	eventData, err := json.Marshal(addEvent)
    	if err != nil {
    		return err
    	}
    	var response *http.Response
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/options/agent_proxy.go

    	ServiceCluster         string
    	ProxyLogLevel          string
    	ProxyComponentLogLevel string
    	Concurrency            int
    	TemplateFile           string
    	OutlierLogPath         string
    
    	PodName      string
    	PodNamespace string
    
    	// enableProfiling enables profiling via web interface host:port/debug/pprof/
    	EnableProfiling bool
    }
    
    // NewProxyArgs constructs proxyArgs with default values.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/host_stats_provider_fake.go

    		fakeStats:   fakeStats,
    		osInterface: osInterface,
    	}
    }
    
    func (f *fakeHostStatsProvider) getPodLogStats(podNamespace, podName string, podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error) {
    	path := kuberuntime.BuildPodLogsDirectory("/var/log/kube/pods/", podNamespace, podName, podUID)
    	files, err := f.osInterface.ReadDir(path)
    	if err != nil {
    		return nil, err
    	}
    	var results []volume.MetricsProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. 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)
Back to top