- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CloneAndRemoveLabel (0.35 sec)
-
pkg/controller/endpoint/endpoints_controller.go
// But first check if it has that label to avoid expensive copies. compareLabels := currentEndpoints.Labels if _, ok := currentEndpoints.Labels[v1.IsHeadlessService]; ok { compareLabels = utillabels.CloneAndRemoveLabel(currentEndpoints.Labels, v1.IsHeadlessService) } // When comparing the subsets, we ignore the difference in ResourceVersion of Pod to avoid unnecessary Endpoints
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 26.3K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
deployment.Spec.Template.ObjectMeta = template.ObjectMeta deployment.Spec.Template.Spec = template.Spec deployment.Spec.Template.ObjectMeta.Labels = labelsutil.CloneAndRemoveLabel( deployment.Spec.Template.ObjectMeta.Labels, apps.DefaultDeploymentUniqueLabelKey) return deployment } // GetReplicaCountForReplicaSets returns the sum of Replicas of the given replica sets.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0)