Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 692 for Warningf (0.15 sec)

  1. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    		if err := removeContainers(r.CRISocketPath()); err != nil {
    			klog.Warningf("[reset] Failed to remove containers: %v\n", err)
    		}
    	} else {
    		fmt.Println("[reset] Would remove Kubernetes-managed containers")
    	}
    
    	// Remove contents from the config and pki directories
    	if certsDir != kubeadmapiv1.DefaultCertificatesDir {
    		klog.Warningf("[reset] WARNING: Cleaning a non-default certificates directory: %q\n", certsDir)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	for k, v := range result.AuditAnnotations {
    		key := h.Name + "/" + k
    		if err := attr.Attributes.AddAnnotation(key, v); err != nil {
    			klog.Warningf("Failed to set admission audit annotation %s to %s for mutating webhook %s: %v", key, v, h.Name, err)
    		}
    	}
    	for _, w := range result.Warnings {
    		warning.AddWarning(ctx, "", w)
    	}
    
    	if !result.Allowed {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/version.go

    				klog.Warningf("could not fetch a Kubernetes version from the internet: %v", err)
    				klog.Warningf("falling back to the local client version: %s", clientVersion)
    				return kubernetesReleaseVersion(clientVersion, fetcher)
    			}
    		}
    
    		if clientVersionErr != nil {
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pkg/volume/util/atomic_writer_unsupported.go

    	"k8s.io/klog/v2"
    )
    
    // chown changes the numeric uid and gid of the named file.
    // This is a no-op on unsupported platforms.
    func (w *AtomicWriter) chown(name string, uid, _ /* gid */ int) error {
    	klog.Warningf("%s: skipping change of Linux owner %v for file %s; unsupported on %s", w.logContext, uid, name, runtime.GOOS)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 04:44:51 UTC 2024
    - 980 bytes
    - Viewed (0)
  5. cluster/images/etcd/migrate/options.go

    	if value, err := lookupEnv(env); err == nil {
    		return value
    	}
    	klog.Warningf("%s variable for %s flag unset - defaulting to %s", env, flag, def)
    	return def
    }
    
    func defaultName() (string, error) {
    	if etcdName, err := lookupEnv(etcdNameEnv); err == nil {
    		return etcdName, nil
    	}
    	klog.Warningf("%s variable unset - falling back to etcd-%s variable", etcdNameEnv, etcdHostnameEnv)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 09:59:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. pkg/probe/exec/exec.go

    		}
    
    		if errors.Is(err, remote.ErrCommandTimedOut) {
    			if utilfeature.DefaultFeatureGate.Enabled(features.ExecProbeTimeout) {
    				return probe.Failure, err.Error(), nil
    			}
    
    			klog.Warningf("Exec probe timed out but ExecProbeTimeout feature gate was disabled")
    		}
    
    		return probe.Unknown, "", err
    	}
    	return probe.Success, string(data), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top