Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 166 for cri (0.17 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/features"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	"k8s.io/kubernetes/pkg/kubelet/runtimeclass"
    	rctest "k8s.io/kubernetes/pkg/kubelet/runtimeclass/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/helpers.go

    */
    
    package kuberuntime
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"path/filepath"
    	"strconv"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/security/apparmor"
    )
    
    type podsByID []*kubecontainer.Pod
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. cluster/gce/gci/configure-helper.sh

    [plugins."io.containerd.grpc.v1.cri".cni]
      bin_dir = "${KUBE_HOME}/bin"
      conf_dir = "/etc/cni/net.d"
      conf_template = "${cni_template_path}"
    [plugins."io.containerd.grpc.v1.cri".containerd]
      default_runtime_name = "runc"
    [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
      runtime_type = "io.containerd.runc.v2"
    [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/init.go

    	initRunner.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
    			initOptions.skipCRIDetect = true
    		}
    		data, err := newInitData(cmd, args, initOptions, out)
    		if err != nil {
    			return nil, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    	"context"
    	"encoding/json"
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/credentialprovider"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    func TestPullImage(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    }
    
    // K8sArgs is the valid CNI_ARGS used for Kubernetes
    // The field names need to match exact keys in containerd args for unmarshalling
    // https://github.com/containerd/containerd/blob/ced9b18c231a28990617bc0a4b8ce2e81ee2ffa1/pkg/cri/server/sandbox_run.go#L526-L532
    type K8sArgs struct {
    	types.CommonArgs
    	K8S_POD_NAME               types.UnmarshallableString // nolint: revive, stylecheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/preflight/checks.go

    type ContainerRuntimeCheck struct {
    	runtime utilruntime.ContainerRuntime
    }
    
    // Name returns label for RuntimeCheck.
    func (ContainerRuntimeCheck) Name() string {
    	return "CRI"
    }
    
    // Check validates the container runtime
    func (crc ContainerRuntimeCheck) Check() (warnings, errorList []error) {
    	klog.V(1).Infoln("validating the container runtime")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. build/dependencies.yaml

          match: registry.k8s.io/coredns
    
      - name: "coredns-kubeadm"
        version: 1.11.1
        refPaths:
        - path: cmd/kubeadm/app/constants/constants.go
          match: CoreDNSVersion =
    
      # CRI Tools
      - name: "crictl"
        version: 1.30.0
        refPaths:
        - path: cluster/gce/windows/k8s-node-setup.psm1
          match: CRICTL_VERSION =
        - path: cluster/gce/gci/configure.sh
          match: DEFAULT_CRICTL_VERSION=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	if err := WriteKubeletConfigFiles(cfg, patchesDir, dryRun, out); err != nil {
    		errs = append(errs, err)
    	}
    
    	// Annotate the node with the crisocket information, sourced either from the InitConfiguration struct or
    	// --cri-socket.
    	// TODO: In the future we want to use something more official like NodeStatus or similar for detecting this properly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. pkg/kubelet/status/generate_test.go

    limitations under the License.
    */
    
    package status
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/utils/pointer"
    )
    
    var (
    	containerRestartPolicyAlways = v1.ContainerRestartPolicyAlways
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top