- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 229 for cri (0.64 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)