Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,290 for Warningf (0.17 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/validating/dispatcher.go

    		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 validating webhook %s: %v", key, v, h.Name, err)
    		}
    	}
    	for _, w := range result.Warnings {
    		warning.AddWarning(ctx, "", w)
    	}
    	if result.Allowed {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go

    			klog.Warningf("failed to set SO_REUSEPORT on socket: %v", err)
    		}
    	})
    }
    
    func permitAddressReuse(network, addr string, conn syscall.RawConn) error {
    	return conn.Control(func(fd uintptr) {
    		if err := syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, unix.SO_REUSEADDR, 1); err != nil {
    			klog.Warningf("failed to set SO_REUSEADDR on socket: %v", err)
    		}
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. pkg/volume/flexvolume/detacher.go

    // UnmountDevice is part of the volume.Detacher interface.
    func (d *flexVolumeDetacher) UnmountDevice(deviceMountPath string) error {
    
    	pathExists, pathErr := mount.PathExists(deviceMountPath)
    	if !pathExists {
    		klog.Warningf("Warning: Unmount skipped because path does not exist: %v", deviceMountPath)
    		return nil
    	}
    	if pathErr != nil && !mount.IsCorruptedMnt(pathErr) {
    		return fmt.Errorf("error checking path: %w", pathErr)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/kubelet/kubelet.go

    	}
    
    	// This runs "systemctl daemon-reload && systemctl restart kubelet"
    	if err := initSystem.ServiceRestart(kubeadmconstants.Kubelet); err != nil {
    		klog.Warningf("[kubelet-start] WARNING: unable to start the kubelet service: [%v]\n", err)
    		fmt.Printf("[kubelet-start] Please ensure kubelet is reloaded and running manually.\n")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 15 16:01:35 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/unmounter.go

    func (f *flexVolumeUnmounter) TearDownAt(dir string) error {
    	pathExists, pathErr := mount.PathExists(dir)
    	if pathErr != nil {
    		// only log warning here since plugins should anyways have to deal with errors
    		klog.Warningf("Error checking path: %v", pathErr)
    	} else {
    		if !pathExists {
    			klog.Warningf("Warning: Unmount skipped because path does not exist: %v", dir)
    			return nil
    		}
    	}
    
    	call := f.plugin.NewDriverCall(unmountCmd)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/reset/removeetcdmember.go

    			if !r.DryRun() {
    				err := etcdphase.RemoveStackedEtcdMemberFromCluster(r.Client(), cfg)
    				if err != nil {
    					klog.Warningf("[reset] Failed to remove etcd member: %v, please manually remove this etcd member using etcdctl", err)
    				} else {
    					if err := CleanDir(etcdDataDir); err != nil {
    						klog.Warningf("[reset] Failed to delete contents of the etcd directory: %q, error: %v", etcdDataDir, err)
    					} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    		insecureCiphers := flag.InsecureTLSCiphers()
    		for i := 0; i < len(s.CipherSuites); i++ {
    			for cipherName, cipherID := range insecureCiphers {
    				if s.CipherSuites[i] == cipherID {
    					klog.Warningf("Use of insecure cipher '%s' detected.", cipherName)
    				}
    			}
    		}
    	}
    
    	if s.ClientCA != nil {
    		// Populate PeerCertificates in requests, but don't reject connections without certificates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    			if err != nil {
    				if s.TolerateInClusterLookupFailure {
    					klog.Warningf("Error looking up in-cluster authentication configuration: %v", err)
    					klog.Warning("Continuing without authentication configuration. This may treat all requests as anonymous.")
    					klog.Warning("To require authentication configuration lookup to succeed, set --authentication-tolerate-lookup-failure=false")
    				} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
Back to top