Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for nodeutil (0.15 sec)

  1. pkg/volume/util/nested_volumes.go

    				retval = append(retval, mp[len(myMPSlash):])
    			}
    		}
    		return nil
    	}
    
    	var retErr error
    	podutil.VisitContainers(&pod.Spec, podutil.AllFeatureEnabledContainers(), func(c *v1.Container, containerType podutil.ContainerType) bool {
    		retErr = checkContainer(c)
    		return retErr == nil
    	})
    	if retErr != nil {
    		return nil, retErr
    	}
    
    	return retval, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 12:19:17 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

                """
                addAndConfigure("test") {
                    number = 123
                }
                justAdd("test2")
                complexValueOne = one(two("three"))
                complexValueOneFromUtils = utils.oneUtil()
                complexValueTwo = two("three")
                nested {
                    number = 456
                    add()
                }
                """.trimIndent()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. pkg/api/v1/resource/helpers.go

    limitations under the License.
    */
    
    package resource
    
    import (
    	"fmt"
    	"math"
    	"strconv"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    )
    
    // PodResourcesOptions controls the behavior of PodRequests and PodLimits.
    type PodResourcesOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    	}
    	// 3. ready < not ready
    	if podutil.IsPodReady(s[i]) != podutil.IsPodReady(s[j]) {
    		return podutil.IsPodReady(s[i])
    	}
    	// TODO: take availability into account when we push minReadySeconds information from deployment into pods,
    	//       see https://github.com/kubernetes/kubernetes/issues/22065
    	// 4. Been ready for more time < less time < empty time
    	if podutil.IsPodReady(s[i]) && podutil.IsPodReady(s[j]) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. pkg/kubelet/status/generate.go

    			continue
    		}
    
    		if containerStatus, ok := podutil.GetContainerStatus(containerStatuses, container.Name); ok {
    			if !containerStatus.Ready {
    				unreadyContainers = append(unreadyContainers, container.Name)
    			}
    		} else {
    			unknownContainers = append(unknownContainers, container.Name)
    		}
    	}
    
    	for _, container := range spec.Containers {
    		if containerStatus, ok := podutil.GetContainerStatus(containerStatuses, container.Name); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. pkg/serviceaccount/claims.go

    		}
    		podName = podref.Name
    		podUID = podref.UID
    	}
    
    	var nodeName, nodeUID string
    	if noderef != nil {
    		switch {
    		case podref != nil:
    			if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenPodNodeInfo) {
    				// for pod-bound tokens, just extract the node claims
    				nodeName = noderef.Name
    				nodeUID = noderef.UID
    			}
    		case podref == nil:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. pkg/api/testing/backward_compatibility_test.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	podutil "k8s.io/kubernetes/pkg/api/pod"
    	"k8s.io/kubernetes/pkg/api/testing/compat"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	_ "k8s.io/kubernetes/pkg/apis/core/install"
    	"k8s.io/kubernetes/pkg/apis/core/validation"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 01 18:45:58 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. pkg/util/pod/pod.go

    	"fmt"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	clientset "k8s.io/client-go/kubernetes"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    )
    
    // PatchPodStatus patches pod status. It returns true and avoids an update if the patch contains no changes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. pkg/kubelet/qos/policy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package qos
    
    import (
    	v1 "k8s.io/api/core/v1"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set_utils.go

    	for _, pod := range filteredPods {
    		if templateLabel.Matches(labels.Set(pod.Labels)) {
    			fullyLabeledReplicasCount++
    		}
    		if podutil.IsPodReady(pod) {
    			readyReplicasCount++
    			if podutil.IsPodAvailable(pod, rs.Spec.MinReadySeconds, metav1.Now()) {
    				availableReplicasCount++
    			}
    		}
    	}
    
    	failureCond := GetCondition(rs.Status, apps.ReplicaSetReplicaFailure)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:51 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top