Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 268 for podapi (0.16 sec)

  1. pkg/apis/core/pods/helpers_test.go

    		},
    		{
    			version:       "v1",
    			label:         "status.podIPs",
    			value:         "10.244.0.6,fd00::6",
    			expectedLabel: "status.podIPs",
    			expectedValue: "10.244.0.6,fd00::6",
    		},
    		{
    			version:       "v1",
    			label:         "status.podIPs",
    			value:         "10.244.0.6",
    			expectedLabel: "status.podIPs",
    			expectedValue: "10.244.0.6",
    		},
    		{
    			version:       "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	var addedIPSnapshot []netip.Addr
    
    	for _, pod := range ambientPods {
    		podIPs := util.GetPodIPsIfPresent(pod)
    		if len(podIPs) == 0 {
    			log.Warnf("pod %s does not appear to have any assigned IPs, not syncing with ipset", pod.Name)
    		} else {
    			addedIps, err := addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. pkg/registry/node/runtimeclass/strategy.go

    	"context"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/apiserver/pkg/registry/rest"
    	"k8s.io/apiserver/pkg/storage/names"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	nodeapi "k8s.io/kubernetes/pkg/api/node"
    	"k8s.io/kubernetes/pkg/apis/node"
    	"k8s.io/kubernetes/pkg/apis/node/validation"
    )
    
    // strategy implements verification logic for RuntimeClass.
    type strategy struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 09 08:17:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. pkg/api/pod/warnings.go

    				warnings = append(warnings, nodeapi.GetWarningsForNodeSelectorTerm(term, termFldPath.Index(i))...)
    			}
    		}
    		preferredFldPath := fieldPath.Child("spec", "affinity", "nodeAffinity", "preferredDuringSchedulingIgnoredDuringExecution")
    		for i, term := range n.PreferredDuringSchedulingIgnoredDuringExecution {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/scale_test.go

    						Name:      fmt.Sprintf("pod%d", i),
    						Namespace: "test",
    					},
    					Spec: v1.PodSpec{},
    					Status: v1.PodStatus{
    						Phase:  v1.PodPhase(v1.PodReady),
    						PodIPs: []v1.PodIP{{IP: "127.0.0.1"}},
    					},
    				}
    				for j := 0; j < numContainers; j++ {
    					// use only liveness probes for simplicity, initial state is success for them
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istio/kube.go

    func (i *istioImpl) PodIPsFor(c cluster.Cluster, namespace string, label string) ([]corev1.PodIP, error) {
    	// Find the pod with the specified label in the specified namespace
    	fetchFn := testKube.NewSinglePodFetch(c, namespace, label)
    	pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    	if err != nil {
    		return nil, err
    	}
    
    	pod := pods[0]
    	return pod.Status.PodIPs, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. pkg/kubelet/lifecycle/handlers_test.go

    	f.ID = id
    	return []byte(f.Msg), f.Err
    }
    
    func stubPodStatusProvider(podIP string) podStatusProvider {
    	return podStatusProviderFunc(func(uid types.UID, name, namespace string) (*kubecontainer.PodStatus, error) {
    		return &kubecontainer.PodStatus{
    			ID:        uid,
    			Name:      name,
    			Namespace: namespace,
    			IPs:       []string{podIP},
    		}, nil
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. pkg/controller/endpoint/endpoints_controller.go

    			if utilnet.IsIPv6String(pod.Status.PodIP) {
    				ipFamily = v1.IPv6Protocol
    			}
    		}
    	}
    
    	// find an ip that matches the family
    	for _, podIP := range pod.Status.PodIPs {
    		if (ipFamily == v1.IPv6Protocol) == utilnet.IsIPv6String(podIP.IP) {
    			endpointIP = podIP.IP
    			break
    		}
    	}
    
    	if endpointIP == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller.go

    		controllerRef := metav1.GetControllerOf(pod)
    		if controllerRef == nil {
    			continue
    		}
    		// Only append if we care about this UID.
    		if _, ok := podMap[controllerRef.UID]; ok {
    			podMap[controllerRef.UID] = append(podMap[controllerRef.UID], pod)
    		}
    	}
    	return podMap, nil
    }
    
    // syncDeployment will sync the deployment with the given key.
    // This function is not meant to be invoked concurrently with the same key.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

        name: sidecar
        ready: true
        restartCount: 0
        started: true
        state:
          running:
            startedAt: "2021-08-20T14:36:06Z"
      hostIP: 10.128.0.48
      phase: Running
      podIP: 10..10.10
      podIPs:
      - ip: 10..10.10
      qosClass: Burstable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
Back to top