Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for cri (0.02 sec)

  1. pkg/kubelet/stats/cri_stats_provider.go

    			return result, nil
    		}
    		s, ok := status.FromError(err)
    		// Legitimate failure, rather than the CRI implementation does not support ListPodSandboxStats.
    		if !ok || s.Code() != codes.Unimplemented {
    			return nil, err
    		}
    		// CRI implementation doesn't support ListPodSandboxStats, warn and fallback.
    		klog.V(5).ErrorS(err,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    		case signatureECDSA, signatureEd25519:
    			if ecAvail {
    				cri.SignatureSchemes = append(cri.SignatureSchemes, sigScheme)
    			}
    		case signatureRSAPSS, signaturePKCS1v15:
    			if rsaAvail {
    				cri.SignatureSchemes = append(cri.SignatureSchemes, sigScheme)
    			}
    		}
    	}
    
    	return cri
    }
    
    func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. go.mod

    	k8s.io/component-helpers => ./staging/src/k8s.io/component-helpers
    	k8s.io/controller-manager => ./staging/src/k8s.io/controller-manager
    	k8s.io/cri-api => ./staging/src/k8s.io/cri-api
    	k8s.io/cri-client => ./staging/src/k8s.io/cri-client
    	k8s.io/csi-translation-lib => ./staging/src/k8s.io/csi-translation-lib
    	k8s.io/dynamic-resource-allocation => ./staging/src/k8s.io/dynamic-resource-allocation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/runtime/runtime_test.go

    			expectedError:   false,
    			expectedSocket:  constants.DefaultCRISocket,
    		},
    		{
    			name:            "One valid CRI socket leads to success",
    			existingSockets: []string{"unix:///foo/bar.sock"},
    			expectedError:   false,
    			expectedSocket:  "unix:///foo/bar.sock",
    		},
    		{
    			name: "Multiple CRI sockets lead to an error",
    			existingSockets: []string{
    				"unix:///foo/bar.sock",
    				"unix:///foo/baz.sock",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/kubemark/app/hollow_node.go

    	_ "k8s.io/component-base/metrics/prometheus/version"    // for version metric registration
    	"k8s.io/component-base/version"
    	"k8s.io/component-base/version/verflag"
    	remote "k8s.io/cri-client/pkg"
    	fakeremote "k8s.io/cri-client/pkg/fake"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	"k8s.io/kubernetes/pkg/cluster/ports"
    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/initconfiguration.go

    		if skipCRIDetect {
    			klog.V(4).Infof("skip CRI socket detection, fill with the default CRI socket %s", kubeadmconstants.DefaultCRISocket)
    			cfg.CRISocket = kubeadmconstants.DefaultCRISocket
    			return nil
    		}
    		cfg.CRISocket, err = kubeadmruntime.DetectCRISocket()
    		if err != nil {
    			return err
    		}
    		klog.V(1).Infof("detected and using CRI socket: %s", cfg.CRISocket)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset.go

    	resetRunner.SetDataInitializer(func(cmd *cobra.Command, args []string) (workflow.RunData, error) {
    		if cmd.Flags().Lookup(options.NodeCRISocket) == nil {
    			// skip CRI detection
    			// assume that the command execution does not depend on CRISocket when --cri-socket flag is not set
    			resetOptions.skipCRIDetect = true
    		}
    		data, err := newResetData(cmd, resetOptions, in, out, true)
    		if err != nil {
    			return nil, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. pkg/kubelet/metrics/metrics.go

    	// the establishment of streaming connection with the CRI runtime.
    	EventedPLEGConnErr = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           EventedPLEGConnErrKey,
    			Help:           "The number of errors encountered during the establishment of streaming connection with the CRI runtime.",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_windows.go

    import (
    	"fmt"
    	"time"
    
    	"github.com/Microsoft/hcsshim"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    // windowsNetworkStatsProvider creates an interface that allows for testing the logic without needing to create a container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    	"sort"
    	"time"
    
    	"go.opentelemetry.io/otel/trace"
    	"k8s.io/apimachinery/pkg/types"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // containerGC is the manager of garbage collection.
    type containerGC struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top