Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for labelsutil (0.23 sec)

  1. pkg/controller/deployment/sync.go

    	podTemplateSpecHash := controller.ComputeHash(&newRSTemplate, d.Status.CollisionCount)
    	newRSTemplate.Labels = labelsutil.CloneAndAddLabel(d.Spec.Template.Labels, apps.DefaultDeploymentUniqueLabelKey, podTemplateSpecHash)
    	// Add podTemplateHash label to selector.
    	newRSSelector := labelsutil.CloneSelectorAndAddLabel(d.Spec.Selector, apps.DefaultDeploymentUniqueLabelKey, podTemplateSpecHash)
    
    	// Create new ReplicaSet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. pkg/controller/daemon/update.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/json"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/controller/daemon/util"
    	labelsutil "k8s.io/kubernetes/pkg/util/labels"
    )
    
    // rollingUpdate identifies the set of old pods to delete, or additional pods to create on nodes,
    // remaining within the constraints imposed by the update strategy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. pkg/controller/deployment/util/deployment_util.go

    	"k8s.io/apimachinery/pkg/util/wait"
    	appsclient "k8s.io/client-go/kubernetes/typed/apps/v1"
    	appslisters "k8s.io/client-go/listers/apps/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/controller"
    	labelsutil "k8s.io/kubernetes/pkg/util/labels"
    	"k8s.io/utils/integer"
    )
    
    const (
    	// RevisionAnnotation is the revision annotation of a deployment's replica sets which records its rollout sequence
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  4. pkg/controller/daemon/daemon_controller_test.go

    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/apis/scheduling"
    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/controller/daemon/util"
    	"k8s.io/kubernetes/pkg/securitycontext"
    	labelsutil "k8s.io/kubernetes/pkg/util/labels"
    	testingclock "k8s.io/utils/clock/testing"
    )
    
    var (
    	simpleDaemonSetLabel  = map[string]string{"name": "simple-daemon", "type": "production"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    package controller
    
    import (
    	v1 "k8s.io/api/core/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/util"
    	"istio.io/istio/pilot/pkg/serviceregistry/kube"
    	labelutil "istio.io/istio/pilot/pkg/serviceregistry/util/label"
    	"istio.io/istio/pkg/config/labels"
    	kubeUtil "istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/network"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    	"testing"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pilot/pkg/model"
    	labelutil "istio.io/istio/pilot/pkg/serviceregistry/util/label"
    	cluster2 "istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/kclient"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/endpoints/ep_filters.go

    	"google.golang.org/protobuf/proto"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/util"
    	labelutil "istio.io/istio/pilot/pkg/serviceregistry/util/label"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/network"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	t.tester.TestList(
    		valid,
    		t.setObjectsForList,
    	)
    }
    
    func (t *Tester) TestWatch(valid runtime.Object, labelsPass, labelsFail []labels.Set, fieldsPass, fieldsFail []fields.Set) {
    	t.tester.TestWatch(
    		valid,
    		t.emitObject,
    		labelsPass,
    		labelsFail,
    		fieldsPass,
    		fieldsFail,
    		// TODO: This should be filtered, the registry should not be aware of this level of detail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  9. pilot/pkg/xds/ads.go

    	proxy.Labels = labelutil.AugmentLabels(
    		proxy.Labels,
    		proxy.Metadata.ClusterID,
    		util.LocalityToString(proxy.Locality),
    		proxy.GetNodeName(),
    		proxy.Metadata.Network,
    	)
    }
    
    func localityFromProxyLabels(proxy *model.Proxy) *core.Locality {
    	region, f1 := proxy.Labels[labelutil.LabelTopologyRegion]
    	zone, f2 := proxy.Labels[labelutil.LabelTopologyZone]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	"time"
    
    	"istio.io/api/label"
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/provider"
    	labelutil "istio.io/istio/pilot/pkg/serviceregistry/util/label"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/protocol"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top