- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 571 for subsets2 (0.13 sec)
-
pkg/controller/endpoint/endpoints_controller_test.go
} subsets = append(subsets, subset) } endpoints := &v1.Endpoints{Subsets: subsets} truncateEndpoints(endpoints) for i, subset := range endpoints.Subsets { if len(subset.Addresses) != tc.expectedReady[i] { t.Errorf("Unexpected number of actual ready Endpoints for subset %d: got %d endpoints, want %d endpoints", i, len(subset.Addresses), tc.expectedReady[i]) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller.go
// addresses subset.Addresses = addressSubset(subset.Addresses, toBeAdded) subset.NotReadyAddresses = []v1.EndpointAddress{} canBeAdded -= len(subset.Addresses) } else { // Only truncate the not ready addresses subset.NotReadyAddresses = addressSubset(subset.NotReadyAddresses, toBeAdded) canBeAdded -= len(subset.NotReadyAddresses) } endpoints.Subsets[i] = subset } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 26.3K bytes - Viewed (0) -
releasenotes/notes/passthrough-subsets.yaml
apiVersion: release-notes/v2 kind: bug-fix area: networking issue: - 25691 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 10 05:39:51 UTC 2020 - 220 bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
releasenotes/notes/duplicate-subset-names.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 20 09:31:05 UTC 2024 - 155 bytes - Viewed (0) -
pilot/pkg/model/destination_rule.go
// if not duplicated, append mergedRule.Subsets = append(mergedRule.Subsets, subset) } else { // duplicate subset ps.AddMetric(DuplicatedSubsets, string(resolvedHost), "", fmt.Sprintf("Duplicate subset %s found while merging destination rules for %s", subset.Name, string(resolvedHost))) } } // If there is no top level policy and the incoming rule has top level
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 07:22:29 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/api/v1/endpoints/util.go
// use it returns the input slice. func SortSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset { for i := range subsets { ss := &subsets[i] sort.Sort(addrsByIPAndUID(ss.Addresses)) sort.Sort(addrsByIPAndUID(ss.NotReadyAddresses)) sort.Sort(portsByHash(ss.Ports)) } sort.Sort(subsetsByHash(subsets)) return subsets } func hashObject(hasher hash.Hash, obj interface{}) []byte {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 07 07:01:25 UTC 2018 - 8K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/templates/deployment.yaml
{{- $subsets := .Subsets }} {{- $cluster := .Cluster }} {{- range $i, $subset := $subsets }} {{- range $revision, $version := $revVerMap }} apiVersion: apps/v1 {{- if $.StatefulSet }} kind: StatefulSet {{- else }} kind: Deployment {{- end }} metadata: {{- if $.Compatibility }} name: {{ $.Service }}-{{ $subset.Version }}-{{ $revision }} {{- else }} name: {{ $.Service }}-{{ $subset.Version }} {{- end }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_test.go
}{{ testName: "Endpoints with no subsets", subsets: []corev1.EndpointSubset{}, existingEndpointSlices: []*discovery.EndpointSlice{}, expectedNumSlices: 0, expectedClientActions: 0, expectedMetrics: &expectedMetrics{}, }, { testName: "Endpoints with no addresses", subsets: []corev1.EndpointSubset{{ Ports: []corev1.EndpointPort{{ Name: "http",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/virtualservice_destinationrules.yaml
subset: v1 --- apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: reviews-mirror namespace: default spec: http: - route: - destination: host: reviews subset: v1 mirror: # Includes mirroring, but should not generate any errors host: reviews subset: v1 --- apiVersion: networking.istio.io/v1alpha3
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 1.6K bytes - Viewed (0)