Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for nodeutil (0.13 sec)

  1. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt

            testProjectDir.newFile("src/main/java/com/myorg/Util.java").writeText("""
                package com.myorg;
    
                public class Util {
                    public static void someUtil() {
                    }
                }
            """)
    
            val result = runTask("publishLibraryPublicationToTestRepoRepository")
    
            assertEquals(TaskOutcome.SUCCESS, result.task(":jar")?.outcome)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/LibraryPluginTest.kt

            testProjectDir.newFile("src/main/java/com/example/Util.java").writeText("""
                package com.example;
    
                public class Util {
                    public static void someUtil() {
                    }
                }
            """)
    
            val result = runTask("publishLibraryPublicationToTestRepoRepository")
    
            assertEquals(TaskOutcome.SUCCESS, result.task(":jar")?.outcome)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. pkg/controller/daemon/update.go

    			case newPod != nil:
    				// this pod is up to date, check its availability
    				if !podutil.IsPodAvailable(newPod, ds.Spec.MinReadySeconds, metav1.Time{Time: now}) {
    					// an unavailable new pod is counted against maxUnavailable
    					numUnavailable++
    				}
    			default:
    				// this pod is old, it is an update candidate
    				switch {
    				case !podutil.IsPodAvailable(oldPod, ds.Spec.MinReadySeconds, metav1.Time{Time: now}):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. pkg/kubelet/pod/mirror_client.go

    	nodeUID, err := mc.getNodeUID()
    	if err != nil {
    		return fmt.Errorf("failed to get node UID: %v", err)
    	}
    	controller := true
    	copyPod.OwnerReferences = []metav1.OwnerReference{{
    		APIVersion: v1.SchemeGroupVersion.String(),
    		Kind:       "Node",
    		Name:       mc.nodeName,
    		UID:        nodeUID,
    		Controller: &controller,
    	}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 21 11:38:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/worker.go

    		klog.V(3).InfoS("Pod is terminated, exiting probe worker",
    			"pod", klog.KObj(w.pod), "phase", status.Phase)
    		return false
    	}
    
    	c, ok := podutil.GetContainerStatus(status.ContainerStatuses, w.container.Name)
    	if !ok || len(c.ContainerID) == 0 {
    		c, ok = podutil.GetContainerStatus(status.InitContainerStatuses, w.container.Name)
    		if !ok || len(c.ContainerID) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util_test.go

    					"authentication.kubernetes.io/pod-uid":  {"uid"},
    				},
    			},
    		},
    		"extracts node name/uid": {
    			info: ServiceAccountInfo{Name: "name", Namespace: "ns", NodeName: "test", NodeUID: "uid"},
    			expectedUserInfo: &user.DefaultInfo{
    				Name:   "system:serviceaccount:ns:name",
    				Groups: []string{"system:serviceaccounts", "system:serviceaccounts:ns"},
    				Extra: map[string][]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. pkg/volume/util/util.go

    	mounts = sets.New[string]()
    	devices = sets.New[string]()
    	seLinuxContainerContexts = make(map[string][]*v1.SELinuxOptions)
    
    	podutil.VisitContainers(&pod.Spec, podutil.AllFeatureEnabledContainers(), func(container *v1.Container, containerType podutil.ContainerType) bool {
    		var seLinuxOptions *v1.SELinuxOptions
    		if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

    import org.gradle.internal.instrumentation.processor.codegen.groovy.CallInterceptorSpecs.CallInterceptorSpec.NamedCallableInterceptorSpec;
    import org.gradle.internal.instrumentation.util.NameUtil;
    import org.gradle.util.internal.TextUtil;
    import org.objectweb.asm.Type;
    
    import javax.lang.model.element.Modifier;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.LinkedHashMap;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/helpers_linux.go

    	"path/filepath"
    	"strconv"
    
    	libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	"k8s.io/kubernetes/pkg/api/v1/resource"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    	v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update_test.go

    		if pod.DeletionTimestamp != nil {
    			continue
    		}
    		if podutil.IsPodReady(pod) == ready {
    			continue
    		}
    		if !fn(pod) {
    			continue
    		}
    		condition := v1.PodCondition{Type: v1.PodReady}
    		if ready {
    			condition.Status = v1.ConditionTrue
    		} else {
    			condition.Status = v1.ConditionFalse
    		}
    		if !podutil.UpdatePodCondition(&pod.Status, &condition) {
    			t.Fatal("failed to update pod")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top