Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,690 for Warningf (0.28 sec)

  1. cmd/kubeadm/app/componentconfigs/kubelet_unix.go

    func mutateResolverConfig(cfg *kubeletconfig.KubeletConfiguration, isServiceActiveFunc func(string) (bool, error)) error {
    	ok, err := isServiceActiveFunc("systemd-resolved")
    	if err != nil {
    		klog.Warningf("cannot determine if systemd-resolved is active: %v", err)
    	}
    	if ok {
    		if cfg.ResolverConfig == nil {
    			cfg.ResolverConfig = ptr.To(kubeletSystemdResolverConfig)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    		Policy:            binding.Spec.PolicyName,
    	}})
    	if err != nil {
    		klog.Warningf("Failed to set admission audit annotation %s for ValidatingAdmissionPolicy %s and ValidatingAdmissionPolicyBinding %s: %v", key, binding.Spec.PolicyName, binding.Name, err)
    	}
    	value := string(valueJSON)
    	if err := attributes.AddAnnotation(key, value); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/discovery/file/file.go

    					// If the request is unauthorized, the cluster admin has not granted access to the cluster info configmap for unauthenticated users
    					// In that case, trust the cluster admin and do not refresh the cluster-info data
    					klog.Warningf("[discovery] Could not access the %s ConfigMap for refreshing the cluster-info information, but the TLS cert is valid so proceeding...\n", bootstrapapi.ConfigMapClusterInfo)
    					return true, nil
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. pkg/volume/emptydir/empty_dir.go

    			// In this case, delete ready file and print a warning for it.
    			klog.Warningf("volume ready file dir %s exist, but volume dir %s does not. Remove ready dir", readyDir, dir)
    			if err := os.RemoveAll(readyDir); err != nil && !os.IsNotExist(err) {
    				klog.Warningf("failed to remove ready dir [%s]: %v", readyDir, err)
    			}
    		}
    	}
    
    	switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/options/options.go

    			}
    			if completed.Authentication.ServiceAccounts.ExtendExpiration {
    				if completed.Authentication.ServiceAccounts.MaxExpiration < serviceaccount.WarnOnlyBoundTokenExpirationSeconds*time.Second {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/common.go

    func ChooseAPIServerBindAddress(bindAddress net.IP) (net.IP, error) {
    	ip, err := netutil.ResolveBindAddress(bindAddress)
    	if err != nil {
    		if netutil.IsNoRoutesError(err) {
    			klog.Warningf("WARNING: could not obtain a bind address for the API Server: %v; using: %s", err, constants.DefaultAPIServerBindAddress)
    			defaultIP := netutils.ParseIPSloppy(constants.DefaultAPIServerBindAddress)
    			if defaultIP == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/arguments.go

    		// Warn in all other cases, but don't error out. This can happen only if the user has edited the argument list by hand, so they might know what they are doing
    		if err != nil {
    			if i != 0 {
    				klog.Warningf("[kubeadm] WARNING: The component argument %q could not be parsed correctly. The argument must be of the form %q. Skipping...\n", arg, "--")
    			}
    			continue
    		}
    
    		args = append(args, kubeadmapi.Arg{Name: key, Value: val})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 11:01:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	if watchListOptions, hasWatchListOptionsPrepared, watchListOptionsErr := watchlist.PrepareWatchListOptionsFromListOptions(opts); watchListOptionsErr != nil {
    		klog.Warningf("Failed preparing watchlist options for customresourcedefinitions, falling back to the standard LIST semantics, err = %v", watchListOptionsErr)
    	} else if hasWatchListOptionsPrepared {
    		result, err := c.watchList(ctx, watchListOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/kubeconfig.go

    				SkipCRIDetect: true,
    			})
    			if err != nil {
    				return err
    			}
    
    			if validityPeriod > kubeadmconstants.CertificateValidityPeriod {
    				klog.Warningf("WARNING: the specified certificate validity period %v is longer than the default duration %v, this may increase security risks.",
    					validityPeriod, kubeadmconstants.CertificateValidityPeriod)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	if watchListOptions, hasWatchListOptionsPrepared, watchListOptionsErr := watchlist.PrepareWatchListOptionsFromListOptions(opts); watchListOptionsErr != nil {
    		klog.Warningf("Failed preparing watchlist options for customresourcedefinitions, falling back to the standard LIST semantics, err = %v", watchListOptionsErr)
    	} else if hasWatchListOptionsPrepared {
    		result, err := c.watchList(ctx, watchListOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top