Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetWarningsForNodeSelector (0.45 sec)

  1. pkg/api/node/util.go

    			}
    		}
    	}
    
    	return warnings
    }
    
    // GetWarningsForNodeSelector tests if any of the node selector requirements in the template is deprecated.
    // If there are deprecated node selector requirements in either match expressions or match labels, a warning is returned.
    func GetWarningsForNodeSelector(nodeSelector *metav1.LabelSelector, fieldPath *field.Path) []string {
    	if nodeSelector == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 25 07:15:34 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. pkg/api/storage/util.go

    				}
    			}
    		}
    	}
    
    	return warnings
    }
    
    func GetWarningsForCSIStorageCapacity(csc *storage.CSIStorageCapacity) []string {
    	if csc != nil {
    		return nodeapi.GetWarningsForNodeSelector(csc.NodeTopology, field.NewPath("nodeTopology"))
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 25 07:15:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top