Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for targetRefs (0.16 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1.EndpointSlice.yaml

        terminating: true
      deprecatedTopology:
        deprecatedTopologyKey: deprecatedTopologyValue
      hints:
        forZones:
        - name: nameValue
      hostname: hostnameValue
      nodeName: nodeNameValue
      targetRef:
        apiVersion: apiVersionValue
        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      zone: zoneValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/discovery/v1/types.go

    	// +optional
    	Hostname *string `json:"hostname,omitempty" protobuf:"bytes,3,opt,name=hostname"`
    
    	// targetRef is a reference to a Kubernetes object that represents this
    	// endpoint.
    	// +optional
    	TargetRef *v1.ObjectReference `json:"targetRef,omitempty" protobuf:"bytes,4,opt,name=targetRef"`
    
    	// deprecatedTopology contains topology information part of the v1beta1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/storage.go

    	if pod == nil {
    		return fmt.Errorf("pod is missing, skipping (%s/%s)", addr.TargetRef.Namespace, addr.TargetRef.Name)
    	}
    	for _, podIP := range pod.Status.PodIPs {
    		if podIP.IP == addr.IP {
    			return nil
    		}
    	}
    	return fmt.Errorf("pod ip(s) doesn't match endpoint ip, skipping: %v vs %s (%s/%s)", pod.Status.PodIPs, addr.IP, addr.TargetRef.Namespace, addr.TargetRef.Name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			IP: address,
    			TargetRef: &corev1.ObjectReference{
    				Kind: "Pod",
    				Name: fmt.Sprintf("pod-%d", i),
    			},
    		}
    
    		subset.Addresses = append(subset.Addresses, endpointAddress)
    
    		epSlice.Endpoints = append(epSlice.Endpoints, discovery.Endpoint{
    			Addresses:  []string{endpointAddress.IP},
    			TargetRef:  endpointAddress.TargetRef,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. pkg/controller/endpointslice/endpointslice_controller_test.go

    	assert.Len(t, slice.Endpoints, 1, "Expected 1 endpoint in first slice")
    	assert.NotEmpty(t, slice.Annotations[v1.EndpointsLastChangeTriggerTime])
    	endpoint := slice.Endpoints[0]
    	assert.EqualValues(t, endpoint.TargetRef, &v1.ObjectReference{Kind: "Pod", Namespace: ns, Name: pod1.Name})
    }
    
    func TestSyncServiceEndpointSlicePendingDeletion(t *testing.T) {
    	client, esController := newController(t, []string{"node-1"}, time.Duration(0))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/utils_test.go

    }
    
    func TestAddressToEndpoint(t *testing.T) {
    	//name: "simple + gate enabled",
    	epAddress := v1.EndpointAddress{
    		IP:       "10.1.2.3",
    		Hostname: "foo",
    		NodeName: pointer.String("node-abc"),
    		TargetRef: &v1.ObjectReference{
    			APIVersion: "v1",
    			Kind:       "Pod",
    			Namespace:  "default",
    			Name:       "foo",
    		},
    	}
    	ready := true
    	expectedEndpoint := discovery.Endpoint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go

    	"targetRef":  "targetRef is a reference to a Kubernetes object that represents this endpoint.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. pkg/controller/endpointslicemirroring/utils.go

    	endpoint := &discovery.Endpoint{
    		Addresses: []string{address.IP},
    		Conditions: discovery.EndpointConditions{
    			Ready: &ready,
    		},
    		TargetRef: address.TargetRef,
    	}
    
    	if address.NodeName != nil {
    		endpoint.NodeName = address.NodeName
    	}
    	if address.Hostname != "" {
    		endpoint.Hostname = &address.Hostname
    	}
    
    	return endpoint
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. tests/integration/pilot/testdata/gateway-api-crd.yaml

              metadata:
                type: object
              spec:
                description: Spec defines the desired state of BackendTLSPolicy.
                properties:
                  targetRefs:
                    description: |-
                      TargetRefs identifies an API object to apply the policy to.
                      Only Services have Extended support. Implementations MAY support
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 02:01:51 UTC 2024
    - 912.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.TargetRef == nil {
    				m.TargetRef = &v1.ObjectReference{}
    			}
    			if err := m.TargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 5:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top