Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PodNodeSelector (0.32 sec)

  1. plugin/pkg/admission/podnodeselector/admission_test.go

    		namespaceNodeSelector           string
    		whitelist                       string
    		podNodeSelector                 map[string]string
    		mergedNodeSelector              labels.Set
    		ignoreTestNamespaceNodeSelector bool
    		admit                           bool
    		testName                        string
    	}{
    		{
    			defaultNodeSelector:             "",
    			podNodeSelector:                 map[string]string{},
    			mergedNodeSelector:              labels.Set{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/plugins.go

    	alwayspullimages.PluginName,             // AlwaysPullImages
    	imagepolicy.PluginName,                  // ImagePolicyWebhook
    	podsecurity.PluginName,                  // PodSecurity
    	podnodeselector.PluginName,              // PodNodeSelector
    	podpriority.PluginName,                  // Priority
    	defaulttolerationseconds.PluginName,     // DefaultTolerationSeconds
    	podtolerationrestriction.PluginName,     // PodTolerationRestriction
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 17:20:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. plugin/pkg/admission/podnodeselector/admission.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package podnodeselector
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"reflect"
    
    	"k8s.io/klog/v2"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/config_test.go

    					{
    						Name: "ImagePolicyWebhook",
    						Path: configFileName,
    					},
    					{
    						Name: "PodNodeSelector",
    						Path: configFileName,
    					},
    				},
    			},
    			PluginNames: []string{"ImagePolicyWebhook", "PodNodeSelector"},
    		},
    		"legacy configuration not using legacy plugins": {
    			ConfigBody: `{
    "imagePolicy": {
      "kubeConfigFile": "/home/user/.kube/config",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/config.go

    	// previously read input from a non-versioned file configuration to the
    	// current input file.
    	legacyPluginsWithUnversionedConfig := sets.NewString("ImagePolicyWebhook", "PodNodeSelector")
    	externalConfig := &apiserverv1.AdmissionConfiguration{}
    	for _, pluginName := range pluginNames {
    		if legacyPluginsWithUnversionedConfig.Has(pluginName) {
    			externalConfig.Plugins = append(externalConfig.Plugins,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top