...

Source file src/k8s.io/api/networking/v1alpha1/well_known_labels.go

Documentation: k8s.io/api/networking/v1alpha1

     1  /*
     2  Copyright 2023 The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package v1alpha1
    18  
    19  const (
    20  
    21  	// TODO: Use IPFamily as field with a field selector,And the value is set based on
    22  	// the name at create time and immutable.
    23  	// LabelIPAddressFamily is used to indicate the IP family of a Kubernetes IPAddress.
    24  	// This label simplify dual-stack client operations allowing to obtain the list of
    25  	// IP addresses filtered by family.
    26  	LabelIPAddressFamily = "ipaddress.kubernetes.io/ip-family"
    27  	// LabelManagedBy is used to indicate the controller or entity that manages
    28  	// an IPAddress. This label aims to enable different IPAddress
    29  	// objects to be managed by different controllers or entities within the
    30  	// same cluster. It is highly recommended to configure this label for all
    31  	// IPAddress objects.
    32  	LabelManagedBy = "ipaddress.kubernetes.io/managed-by"
    33  )
    34  

View as plain text