Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 96 for cri (0.03 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux.go

    limitations under the License.
    */
    
    package kuberuntime
    
    import (
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    
    	resourcehelper "k8s.io/kubernetes/pkg/api/v1/resource"
    )
    
    func (m *kubeGenericRuntimeManager) convertOverheadToLinuxResources(pod *v1.Pod) *runtimeapi.LinuxContainerResources {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/kubelet/container/container_gc_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package container_test
    
    import (
    	"context"
    	"reflect"
    	"testing"
    
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	. "k8s.io/kubernetes/pkg/kubelet/container"
    	ctest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    )
    
    func TestIsContainerFsSeparateFromImageFs(t *testing.T) {
    	runtime := &ctest.FakeRuntime{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/options/constant.go

    	NetworkingPodSubnet = "pod-network-cidr"
    
    	// NodeCRISocket flag sets the CRI socket to connect to.
    	NodeCRISocket = "cri-socket"
    
    	// NodeName flag sets the node name.
    	NodeName = "node-name"
    
    	// SchedulerExtraArgs flag sets extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value>".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cadvisor/helpers_linux.go

    	if detectCrioWorkaround(i) {
    		return cadvisorfs.LabelCrioContainers, nil
    	}
    	return "", fmt.Errorf("no containerfs label for configured runtime")
    }
    
    // This is a temporary workaround to get stats for cri-o from cadvisor
    // and should be removed.
    // Related to https://github.com/kubernetes/kubernetes/issues/51798
    func detectCrioWorkaround(i *imageFsInfoProvider) bool {
    	return strings.HasSuffix(i.runtimeEndpoint, CrioSocketSuffix)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:15:53 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. pkg/kubelet/container/testing/fake_runtime_helper.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"context"
    
    	v1 "k8s.io/api/core/v1"
    	kubetypes "k8s.io/apimachinery/pkg/types"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // FakeRuntimeHelper implements RuntimeHelper interfaces for testing purposes.
    type FakeRuntimeHelper struct {
    	DNSServers      []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 11:01:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. cluster/gce/config-common.sh

    # Directory of kubelet image credential provider binary files on windows
    export AUTH_PROVIDER_GCP_WINDOWS_BIN_DIR=${AUTH_PROVIDER_GCP_WINDOWS_BIN_DIR:-${WINDOWS_NODE_DIR}}
    # Location of kubelet image credential provider config file on windows
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:06:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/kubelet/server/stats/handler.go

    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    // Provider hosts methods required by stats handlers.
    type Provider interface {
    	// The following stats are provided by either CRI or cAdvisor.
    	//
    	// ListPodStats returns the stats of all the containers managed by pods.
    	ListPodStats(ctx context.Context) ([]statsapi.PodStats, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 21:31:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/client.go

    limitations under the License.
    */
    
    package podresources
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials/insecure"
    
    	"k8s.io/cri-client/pkg/util"
    	"k8s.io/kubelet/pkg/apis/podresources/v1"
    	"k8s.io/kubelet/pkg/apis/podresources/v1alpha1"
    )
    
    // Note: Consumers of the pod resources API should not be importing this package.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/instrumented_services_test.go

    */
    
    package kuberuntime
    
    import (
    	"context"
    	"net"
    	"net/http"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    
    	compbasemetrics "k8s.io/component-base/metrics"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    )
    
    func TestRecordOperation(t *testing.T) {
    	// Use local registry
    	var registry = compbasemetrics.NewKubeRegistry()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. hack/golangci-hints.yaml

              contextual k8s.io/client-go/tools/events/.*
              contextual k8s.io/client-go/tools/record/.*
              contextual k8s.io/component-helpers/.*
              contextual k8s.io/cri-api/.*
              contextual k8s.io/cri-client/.*
              contextual k8s.io/dynamic-resource-allocation/.*
              contextual k8s.io/endpointslice/.*
              contextual k8s.io/kms/.*
              contextual k8s.io/kube-controller-manager/.*
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top