From 0fca05417f58e06f8636ad810746bfe3b2662674 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Sun, 25 Oct 2026 10:00:44 -0400 Subject: [PATCH] feat(api): Let a ServiceEndpoint spread traffic across its producers A private service endpoint can have only one ready producer on each node and VPC, so a service that runs two replicas per node for rollouts and crash tolerance needs one consumer address per replica, and clients then lean on the first address and wait out timeouts on the second. ServiceEndpoint gains spec.distribution, Single by default and Spread to send a consumer's traffic to every ready producer on its node, and spec.healthCheck, a TCP probe of each producer that Spread requires and every other distribution refuses. A udp endpoint's health check must name a TCP port. The endpoint gets a status subresource whose status.producers lists each producer's health decision, keyed by the attachment's namespace and name, so each node can apply its own producers' entries under its own field manager without touching another node's. Nothing reads these fields yet: a router still treats every endpoint as Single. The generated API reference also picks up a ServiceRouteAuthorization description that main had not regenerated. Related to #1086 Co-Authored-By: Claude Opus 5.5 --- .../serviceendpoint_spread_envtest_test.go | 173 ++++++++++++++++++ api/network/v1alpha1/serviceroute_types.go | 173 +++++++++++++++++- api/network/v1alpha1/zz_generated.deepcopy.go | 59 ++++++ ...lactic.datumapis.com_serviceendpoints.yaml | 172 ++++++++++++++++- docs/api/network-bgp.md | 97 +++++++++- docs/api/network-gateway.md | 92 +++++++++- 6 files changed, 756 insertions(+), 10 deletions(-) create mode 100644 api/network/v1alpha1/serviceendpoint_spread_envtest_test.go diff --git a/api/network/v1alpha1/serviceendpoint_spread_envtest_test.go b/api/network/v1alpha1/serviceendpoint_spread_envtest_test.go new file mode 100644 index 000000000..ada16db5f --- /dev/null +++ b/api/network/v1alpha1/serviceendpoint_spread_envtest_test.go @@ -0,0 +1,173 @@ +// Copyright 2026 Datum Cloud, Inc. +// SPDX-License-Identifier: AGPL-3.0-or-later + +package v1alpha1_test + +import ( + "context" + "encoding/json" + "os" + "path/filepath" + "testing" + + corev1 "k8s.io/api/core/v1" + apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/envtest" + "sigs.k8s.io/yaml" + + networkv1alpha1 "go.datum.net/galactic/api/network/v1alpha1" +) + +func TestServiceEndpointSpreadAdmission(t *testing.T) { + if os.Getenv("KUBEBUILDER_ASSETS") == "" { + t.Skip("set KUBEBUILDER_ASSETS for isolated API admission tests") + } + apiRoot := os.Getenv("GALACTIC_TEST_NETWORK_API") + if apiRoot == "" { + apiRoot = "../../.." + } + data, err := os.ReadFile(filepath.Join(apiRoot, "config", "crd", "galactic.datumapis.com_serviceendpoints.yaml")) + if err != nil { + t.Fatal(err) + } + crd := &apiextensionsv1.CustomResourceDefinition{} + if err := yaml.Unmarshal(data, crd); err != nil { + t.Fatal(err) + } + environment := &envtest.Environment{CRDs: []*apiextensionsv1.CustomResourceDefinition{crd}} + cfg, err := environment.Start() + if err != nil { + t.Fatal(err) + } + t.Cleanup(func() { + if err := environment.Stop(); err != nil { + t.Errorf("stop API: %v", err) + } + }) + scheme := runtime.NewScheme() + _ = corev1.AddToScheme(scheme) + _ = networkv1alpha1.AddToScheme(scheme) + c, err := client.New(cfg, client.Options{Scheme: scheme}) + if err != nil { + t.Fatal(err) + } + ctx := context.Background() + const namespace = "spread-admission" + if err := c.Create(ctx, &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace}}); err != nil { + t.Fatal(err) + } + endpoint := func(name string) *networkv1alpha1.ServiceEndpoint { + return &networkv1alpha1.ServiceEndpoint{ + ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace}, + Spec: networkv1alpha1.ServiceEndpointSpec{ + ServiceClass: "dns", Address: "fd53::53", Port: 53, + Protocol: networkv1alpha1.NetworkServiceProtocolUDP, + DeliveryMode: networkv1alpha1.ServiceEndpointDeliveryModeNodeLocal, + AttachmentSelector: &metav1.LabelSelector{MatchLabels: map[string]string{"role": "dns"}}, + Distribution: networkv1alpha1.ServiceEndpointDistributionSpread, + HealthCheck: &networkv1alpha1.ServiceEndpointHealthCheck{Port: 8053}, + }, + } + } + for _, tt := range []struct { + name string + mutate func(*networkv1alpha1.ServiceEndpoint) + wantError bool + }{ + {"spread", func(*networkv1alpha1.ServiceEndpoint) {}, false}, + {"single-default", func(e *networkv1alpha1.ServiceEndpoint) { + e.Spec.Distribution, e.Spec.HealthCheck = "", nil + }, false}, + {"single", func(e *networkv1alpha1.ServiceEndpoint) { + e.Spec.Distribution, e.Spec.HealthCheck = networkv1alpha1.ServiceEndpointDistributionSingle, nil + }, false}, + {"spread-without-health-check", func(e *networkv1alpha1.ServiceEndpoint) { e.Spec.HealthCheck = nil }, true}, + {"single-with-health-check", func(e *networkv1alpha1.ServiceEndpoint) { + e.Spec.Distribution = networkv1alpha1.ServiceEndpointDistributionSingle + }, true}, + {"udp-without-health-check-port", func(e *networkv1alpha1.ServiceEndpoint) { + e.Spec.HealthCheck.Port = 0 + }, true}, + {"tcp-without-health-check-port", func(e *networkv1alpha1.ServiceEndpoint) { + e.Spec.Protocol = networkv1alpha1.NetworkServiceProtocolTCP + e.Spec.HealthCheck.Port = 0 + }, false}, + {"unknown-distribution", func(e *networkv1alpha1.ServiceEndpoint) { e.Spec.Distribution = "RoundRobin" }, true}, + } { + t.Run(tt.name, func(t *testing.T) { + e := endpoint(tt.name) + tt.mutate(e) + err := c.Create(ctx, e) + if (err != nil) != tt.wantError { + t.Fatalf("create error=%v", err) + } + if tt.wantError && !apierrors.IsInvalid(err) { + t.Fatalf("expected schema rejection, got %v", err) + } + }) + } + + // Each node applies only its own producers' entries; one node's apply + // neither replaces nor removes another node's. + shared := endpoint("shared") + if err := c.Create(ctx, shared); err != nil { + t.Fatal(err) + } + entry := func(name, node string) networkv1alpha1.ServiceEndpointProducerStatus { + return networkv1alpha1.ServiceEndpointProducerStatus{ + Namespace: namespace, Name: name, AttachmentUID: types.UID(name + "-uid"), Node: node, Port: 8053, + State: networkv1alpha1.BackendHealthHealthy, Reason: "ProbeSucceeded", + LastTransitionTime: metav1.Now(), + } + } + apply := func(node string, entries ...networkv1alpha1.ServiceEndpointProducerStatus) { + t.Helper() + if entries == nil { + entries = []networkv1alpha1.ServiceEndpointProducerStatus{} + } + body, err := json.Marshal(map[string]any{ + "apiVersion": networkv1alpha1.GroupVersion.String(), "kind": "ServiceEndpoint", + "metadata": map[string]string{"name": shared.Name, "namespace": namespace}, + "status": map[string]any{"producers": entries}, + }) + if err != nil { + t.Fatal(err) + } + obj := &networkv1alpha1.ServiceEndpoint{} + obj.Name, obj.Namespace = shared.Name, namespace + if err := c.Status().Patch(ctx, obj, client.RawPatch(types.ApplyPatchType, body), + client.FieldOwner("galactic-router/"+node), client.ForceOwnership); err != nil { + t.Fatal(err) + } + } + names := func() []string { + t.Helper() + got := &networkv1alpha1.ServiceEndpoint{} + if err := c.Get(ctx, client.ObjectKeyFromObject(shared), got); err != nil { + t.Fatal(err) + } + out := make([]string, 0, len(got.Status.Producers)) + for _, p := range got.Status.Producers { + out = append(out, p.Name+"@"+p.Node) + } + return out + } + apply("node-a", entry("a1", "node-a"), entry("a2", "node-a")) + apply("node-b", entry("b1", "node-b")) + if got := names(); len(got) != 3 { + t.Fatalf("producers after both nodes applied = %v, want a1, a2 and b1", got) + } + apply("node-a", entry("a2", "node-a")) + if got := names(); len(got) != 2 || got[0] != "a2@node-a" || got[1] != "b1@node-b" { + t.Fatalf("producers after node-a dropped a1 = %v, want a2@node-a and b1@node-b", got) + } + apply("node-b") + if got := names(); len(got) != 1 || got[0] != "a2@node-a" { + t.Fatalf("producers after node-b dropped its entries = %v, want a2@node-a", got) + } +} diff --git a/api/network/v1alpha1/serviceroute_types.go b/api/network/v1alpha1/serviceroute_types.go index 518e1ef7a..911bc129c 100644 --- a/api/network/v1alpha1/serviceroute_types.go +++ b/api/network/v1alpha1/serviceroute_types.go @@ -1,25 +1,35 @@ package v1alpha1 -import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" +) // ServiceEndpoint publishes a platform service that can be reached through a // VPC attachment. The object describes the service contract; the controller // that owns the service is responsible for its health and implementation. // // +kubebuilder:object:root=true +// +kubebuilder:subresource:status // +kubebuilder:resource:scope=Namespaced,shortName=svcendpoint // +kubebuilder:printcolumn:name="ADDRESS",type="string",JSONPath=".spec.address" // +kubebuilder:printcolumn:name="PORT",type="integer",JSONPath=".spec.port" +// +kubebuilder:printcolumn:name="DISTRIBUTION",type="string",JSONPath=".spec.distribution" // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" type ServiceEndpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceEndpointSpec `json:"spec,omitempty"` + + // +optional + Status ServiceEndpointStatus `json:"status,omitempty"` } // ServiceEndpointSpec defines a platform service address and its scope. // +kubebuilder:validation:XValidation:rule="has(self.attachmentRef) != has(self.attachmentSelector)",message="exactly one of attachmentRef or attachmentSelector must be set" +// +kubebuilder:validation:XValidation:rule="(has(self.distribution) && self.distribution == 'Spread') == has(self.healthCheck)",message="healthCheck must be set when distribution is Spread, and only then" +// +kubebuilder:validation:XValidation:rule="!has(self.healthCheck) || has(self.healthCheck.port) || self.protocol == 'tcp'",message="a udp endpoint's healthCheck must set port" type ServiceEndpointSpec struct { // ServiceClass identifies the platform capability implemented by this // endpoint, for example "ipv6-egress-dns". @@ -62,8 +72,8 @@ type ServiceEndpointSpec struct { // AttachmentSelector selects the Cloud API VPCAttachments that host replicas // of this endpoint. Labels used here must be assigned by the platform service - // controller, not by tenants. The dataplane selects one ready replica for - // each consumer according to DeliveryMode. + // controller, not by tenants. The dataplane selects ready replicas for each + // consumer according to DeliveryMode and Distribution. // +optional AttachmentSelector *metav1.LabelSelector `json:"attachmentSelector,omitempty"` @@ -71,6 +81,163 @@ type ServiceEndpointSpec struct { // endpoint is not region-scoped. // +optional Region string `json:"region,omitempty"` + + // Distribution says how a consumer's traffic reaches the producers on + // its own node. Single, the default, allows one ready producer per node + // and VPC and sends every consumer on that node to it; an endpoint that + // selects more is refused. Spread sends new flows to any producer on the + // consumer's node that its health check has not found Unhealthy: each + // TCP connection stays with the producer that received its first packet, + // and each UDP datagram picks a producer of its own, which suits + // request/response protocols such as DNS but not ones that need a UDP + // flow to stay on one producer. An Unhealthy producer keeps its existing + // TCP connections and replies, and gets new flows again once it is + // Healthy. When every producer on a node is Unhealthy, all of them stay + // eligible. A node may hold at most 16 producers of a Spread endpoint. + // +optional + // +kubebuilder:validation:Enum=Single;Spread + Distribution ServiceEndpointDistribution `json:"distribution,omitempty"` + + // HealthCheck configures the TCP health check of a Spread endpoint's + // producers. Each producer's own node probes it and publishes the + // decision in status.producers. Required when Distribution is Spread and + // refused otherwise. + // + // Where interface traffic policy is enforced, the producer's policy must + // allow TCP from fe80::/10 to the health check port on the Private path, + // and the replies back. + // +optional + HealthCheck *ServiceEndpointHealthCheck `json:"healthCheck,omitempty"` +} + +// ServiceEndpointDistribution selects how traffic spreads across the +// producers on one node. +type ServiceEndpointDistribution string + +const ( + // ServiceEndpointDistributionSingle sends every consumer on a node to the + // one ready producer there. + ServiceEndpointDistributionSingle ServiceEndpointDistribution = "Single" + + // ServiceEndpointDistributionSpread spreads flows across the healthy + // producers on the consumer's node. + ServiceEndpointDistributionSpread ServiceEndpointDistribution = "Spread" +) + +// ServiceEndpointMaxProducersPerNode is the most producers of one Spread +// endpoint that a node can hold. +const ServiceEndpointMaxProducersPerNode = 16 + +// ServiceEndpointHealthCheck configures the TCP health check of an endpoint's +// producers. A probe opens a TCP connection to the producer attachment's first +// IPv6 address, not the endpoint's address, on Port, through the producer's +// host-side interface and from that interface's link-local address. A producer +// with no IPv6 address is never probed and stays Unknown. A probe succeeds when the handshake completes within +// TimeoutSeconds, and fails when the connection is refused, reset or times +// out. A producer's decision changes after UnhealthyThreshold consecutive +// failures or HealthyThreshold consecutive successes. A crashed producer +// therefore stops receiving new flows within IntervalSeconds × +// UnhealthyThreshold, plus TimeoutSeconds. +// +// +kubebuilder:validation:XValidation:rule="self.timeoutSeconds <= self.intervalSeconds",message="timeoutSeconds must not exceed intervalSeconds" +type ServiceEndpointHealthCheck struct { + // Port is the TCP port probed on every producer, 1-65535. Unset, it is + // the endpoint's port, which must then be a tcp port. A udp endpoint must + // set it to a TCP port its producers listen on. + // +optional + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=65535 + Port int32 `json:"port,omitempty"` + + // IntervalSeconds is the time between two probes of one producer. + // +optional + // +kubebuilder:default=5 + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=300 + IntervalSeconds int32 `json:"intervalSeconds,omitempty"` + + // TimeoutSeconds is how long a probe waits for the handshake. It must not + // exceed IntervalSeconds. + // +optional + // +kubebuilder:default=2 + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=60 + TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"` + + // UnhealthyThreshold is the number of consecutive failed probes that + // make a producer Unhealthy. + // +optional + // +kubebuilder:default=3 + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=10 + UnhealthyThreshold int32 `json:"unhealthyThreshold,omitempty"` + + // HealthyThreshold is the number of consecutive successful probes that + // make a producer Healthy. + // +optional + // +kubebuilder:default=3 + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=10 + HealthyThreshold int32 `json:"healthyThreshold,omitempty"` +} + +// ServiceEndpointStatus reports what the nodes observe of an endpoint. +type ServiceEndpointStatus struct { + // Producers holds the health decision of every producer of a Spread + // endpoint. Each node writes the entries of the producers on that node, + // under its own field manager, and removes them when the producer stops + // being selected. An entry whose attachmentUID no longer matches the + // attachment of that name describes an earlier attachment and is ignored. + // +optional + // +listType=map + // +listMapKey=namespace + // +listMapKey=name + // +kubebuilder:validation:MaxItems=4096 + Producers []ServiceEndpointProducerStatus `json:"producers,omitempty"` +} + +// ServiceEndpointProducerStatus is one producer's health decision. +type ServiceEndpointProducerStatus struct { + // Namespace is the producer VPCAttachment's namespace. + // +kubebuilder:validation:MinLength=1 + Namespace string `json:"namespace"` + + // Name is the producer VPCAttachment's name. + // +kubebuilder:validation:MinLength=1 + Name string `json:"name"` + + // AttachmentUID is the UID of the VPCAttachment that was probed. + // +kubebuilder:validation:Required + AttachmentUID types.UID `json:"attachmentUID"` + + // Node is the node that hosts the producer and probes it. + // +kubebuilder:validation:MinLength=1 + Node string `json:"node"` + + // Port is the TCP port that was probed. + // +kubebuilder:validation:Minimum=1 + // +kubebuilder:validation:Maximum=65535 + Port int32 `json:"port"` + + // State is the decision. Healthy and Unknown producers receive new + // flows; Unhealthy ones do not, unless every producer on the node is + // Unhealthy. + // +kubebuilder:validation:Required + State BackendHealthState `json:"state"` + + // Reason is ProbeSucceeded, ProbeFailed, Pending or ProbeUnavailable. + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=64 + Reason string `json:"reason"` + + // Message is the last probe error, when there is one. + // +optional + // +kubebuilder:validation:MaxLength=1024 + Message string `json:"message,omitempty"` + + // LastTransitionTime is when State last changed. + // +kubebuilder:validation:Required + LastTransitionTime metav1.Time `json:"lastTransitionTime"` } // ServiceEndpointDeliveryMode defines the placement contract for a service. diff --git a/api/network/v1alpha1/zz_generated.deepcopy.go b/api/network/v1alpha1/zz_generated.deepcopy.go index 3a3c1d5c7..1eae9488f 100644 --- a/api/network/v1alpha1/zz_generated.deepcopy.go +++ b/api/network/v1alpha1/zz_generated.deepcopy.go @@ -4192,6 +4192,7 @@ func (in *ServiceEndpoint) DeepCopyInto(out *ServiceEndpoint) { out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpoint. @@ -4227,6 +4228,21 @@ func (in *ServiceEndpointAttachmentReference) DeepCopy() *ServiceEndpointAttachm return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEndpointHealthCheck) DeepCopyInto(out *ServiceEndpointHealthCheck) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpointHealthCheck. +func (in *ServiceEndpointHealthCheck) DeepCopy() *ServiceEndpointHealthCheck { + if in == nil { + return nil + } + out := new(ServiceEndpointHealthCheck) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServiceEndpointList) DeepCopyInto(out *ServiceEndpointList) { *out = *in @@ -4259,6 +4275,22 @@ func (in *ServiceEndpointList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEndpointProducerStatus) DeepCopyInto(out *ServiceEndpointProducerStatus) { + *out = *in + in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpointProducerStatus. +func (in *ServiceEndpointProducerStatus) DeepCopy() *ServiceEndpointProducerStatus { + if in == nil { + return nil + } + out := new(ServiceEndpointProducerStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServiceEndpointReference) DeepCopyInto(out *ServiceEndpointReference) { *out = *in @@ -4287,6 +4319,11 @@ func (in *ServiceEndpointSpec) DeepCopyInto(out *ServiceEndpointSpec) { *out = new(v1.LabelSelector) (*in).DeepCopyInto(*out) } + if in.HealthCheck != nil { + in, out := &in.HealthCheck, &out.HealthCheck + *out = new(ServiceEndpointHealthCheck) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpointSpec. @@ -4299,6 +4336,28 @@ func (in *ServiceEndpointSpec) DeepCopy() *ServiceEndpointSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEndpointStatus) DeepCopyInto(out *ServiceEndpointStatus) { + *out = *in + if in.Producers != nil { + in, out := &in.Producers, &out.Producers + *out = make([]ServiceEndpointProducerStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpointStatus. +func (in *ServiceEndpointStatus) DeepCopy() *ServiceEndpointStatus { + if in == nil { + return nil + } + out := new(ServiceEndpointStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServiceRouteAuthorization) DeepCopyInto(out *ServiceRouteAuthorization) { *out = *in diff --git a/config/crd/galactic.datumapis.com_serviceendpoints.yaml b/config/crd/galactic.datumapis.com_serviceendpoints.yaml index 2a6cd73eb..7abb61f75 100644 --- a/config/crd/galactic.datumapis.com_serviceendpoints.yaml +++ b/config/crd/galactic.datumapis.com_serviceendpoints.yaml @@ -23,6 +23,9 @@ spec: - jsonPath: .spec.port name: PORT type: integer + - jsonPath: .spec.distribution + name: DISTRIBUTION + type: string - jsonPath: .metadata.creationTimestamp name: AGE type: date @@ -86,8 +89,8 @@ spec: description: |- AttachmentSelector selects the Cloud API VPCAttachments that host replicas of this endpoint. Labels used here must be assigned by the platform service - controller, not by tenants. The dataplane selects one ready replica for - each consumer according to DeliveryMode. + controller, not by tenants. The dataplane selects ready replicas for each + consumer according to DeliveryMode and Distribution. properties: matchExpressions: description: matchExpressions is a list of label selector requirements. @@ -145,6 +148,83 @@ spec: - NodeLocal - PreferNodeLocal type: string + distribution: + description: |- + Distribution says how a consumer's traffic reaches the producers on + its own node. Single, the default, allows one ready producer per node + and VPC and sends every consumer on that node to it; an endpoint that + selects more is refused. Spread sends new flows to any producer on the + consumer's node that its health check has not found Unhealthy: each + TCP connection stays with the producer that received its first packet, + and each UDP datagram picks a producer of its own, which suits + request/response protocols such as DNS but not ones that need a UDP + flow to stay on one producer. An Unhealthy producer keeps its existing + TCP connections and replies, and gets new flows again once it is + Healthy. When every producer on a node is Unhealthy, all of them stay + eligible. A node may hold at most 16 producers of a Spread endpoint. + enum: + - Single + - Spread + type: string + healthCheck: + description: |- + HealthCheck configures the TCP health check of a Spread endpoint's + producers. Each producer's own node probes it and publishes the + decision in status.producers. Required when Distribution is Spread and + refused otherwise. + + Where interface traffic policy is enforced, the producer's policy must + allow TCP from fe80::/10 to the health check port on the Private path, + and the replies back. + properties: + healthyThreshold: + default: 3 + description: |- + HealthyThreshold is the number of consecutive successful probes that + make a producer Healthy. + format: int32 + maximum: 10 + minimum: 1 + type: integer + intervalSeconds: + default: 5 + description: IntervalSeconds is the time between two probes of + one producer. + format: int32 + maximum: 300 + minimum: 1 + type: integer + port: + description: |- + Port is the TCP port probed on every producer, 1-65535. Unset, it is + the endpoint's port, which must then be a tcp port. A udp endpoint must + set it to a TCP port its producers listen on. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + timeoutSeconds: + default: 2 + description: |- + TimeoutSeconds is how long a probe waits for the handshake. It must not + exceed IntervalSeconds. + format: int32 + maximum: 60 + minimum: 1 + type: integer + unhealthyThreshold: + default: 3 + description: |- + UnhealthyThreshold is the number of consecutive failed probes that + make a producer Unhealthy. + format: int32 + maximum: 10 + minimum: 1 + type: integer + type: object + x-kubernetes-validations: + - message: timeoutSeconds must not exceed intervalSeconds + rule: self.timeoutSeconds <= self.intervalSeconds port: description: Port is the service port. format: int32 @@ -179,7 +259,93 @@ spec: - message: exactly one of attachmentRef or attachmentSelector must be set rule: has(self.attachmentRef) != has(self.attachmentSelector) + - message: healthCheck must be set when distribution is Spread, and only + then + rule: (has(self.distribution) && self.distribution == 'Spread') == has(self.healthCheck) + - message: a udp endpoint's healthCheck must set port + rule: '!has(self.healthCheck) || has(self.healthCheck.port) || self.protocol + == ''tcp''' + status: + description: ServiceEndpointStatus reports what the nodes observe of an + endpoint. + properties: + producers: + description: |- + Producers holds the health decision of every producer of a Spread + endpoint. Each node writes the entries of the producers on that node, + under its own field manager, and removes them when the producer stops + being selected. An entry whose attachmentUID no longer matches the + attachment of that name describes an earlier attachment and is ignored. + items: + description: ServiceEndpointProducerStatus is one producer's health + decision. + properties: + attachmentUID: + description: AttachmentUID is the UID of the VPCAttachment that + was probed. + type: string + lastTransitionTime: + description: LastTransitionTime is when State last changed. + format: date-time + type: string + message: + description: Message is the last probe error, when there is + one. + maxLength: 1024 + type: string + name: + description: Name is the producer VPCAttachment's name. + minLength: 1 + type: string + namespace: + description: Namespace is the producer VPCAttachment's namespace. + minLength: 1 + type: string + node: + description: Node is the node that hosts the producer and probes + it. + minLength: 1 + type: string + port: + description: Port is the TCP port that was probed. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + reason: + description: Reason is ProbeSucceeded, ProbeFailed, Pending + or ProbeUnavailable. + maxLength: 64 + type: string + state: + description: |- + State is the decision. Healthy and Unknown producers receive new + flows; Unhealthy ones do not, unless every producer on the node is + Unhealthy. + enum: + - Healthy + - Unhealthy + - Unknown + type: string + required: + - attachmentUID + - lastTransitionTime + - name + - namespace + - node + - port + - reason + - state + type: object + maxItems: 4096 + type: array + x-kubernetes-list-map-keys: + - namespace + - name + x-kubernetes-list-type: map + type: object type: object served: true storage: true - subresources: {} + subresources: + status: {} diff --git a/docs/api/network-bgp.md b/docs/api/network-bgp.md index 288d920d5..33462eaf1 100644 --- a/docs/api/network-bgp.md +++ b/docs/api/network-bgp.md @@ -1484,6 +1484,7 @@ _Validation:_ - Enum: [Healthy Unhealthy Unknown] _Appears in:_ +- [ServiceEndpointProducerStatus](#serviceendpointproducerstatus) - [ServiceVIPBindingHealth](#servicevipbindinghealth) | Field | Description | @@ -3333,6 +3334,7 @@ that owns the service is responsible for its health and implementation. | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | | | `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | | | `spec` _[ServiceEndpointSpec](#serviceendpointspec)_ | | | | +| `status` _[ServiceEndpointStatus](#serviceendpointstatus)_ | | | | #### ServiceEndpointAttachmentReference @@ -3371,6 +3373,76 @@ _Appears in:_ | `PreferNodeLocal` | ServiceEndpointDeliveryModePreferNodeLocal selects a backing attachment on
the consumer's node when possible and otherwise tunnels to a ready remote
attachment while preserving the consumer source address.
| +#### ServiceEndpointDistribution + +_Underlying type:_ _string_ + +ServiceEndpointDistribution selects how traffic spreads across the +producers on one node. + + + +_Appears in:_ +- [ServiceEndpointSpec](#serviceendpointspec) + +| Field | Description | +| --- | --- | +| `Single` | ServiceEndpointDistributionSingle sends every consumer on a node to the
one ready producer there.
| +| `Spread` | ServiceEndpointDistributionSpread spreads flows across the healthy
producers on the consumer's node.
| + + +#### ServiceEndpointHealthCheck + + + +ServiceEndpointHealthCheck configures the TCP health check of an endpoint's +producers. A probe opens a TCP connection to the endpoint's address on Port +through the producer's host-side interface, from that interface's +link-local address. It succeeds when the handshake completes within +TimeoutSeconds, and fails when the connection is refused, reset or times +out. A producer's decision changes after UnhealthyThreshold consecutive +failures or HealthyThreshold consecutive successes. A crashed producer +therefore stops receiving new flows within IntervalSeconds × +UnhealthyThreshold, plus TimeoutSeconds. + + + +_Appears in:_ +- [ServiceEndpointSpec](#serviceendpointspec) + +| Field | Description | Default | Validation | +| --- | --- | --- | --- | +| `port` _integer_ | Port is the TCP port probed on every producer, 1-65535. Unset, it is
the endpoint's port, which must then be a tcp port. A udp endpoint must
set it to a TCP port its producers listen on. | | Maximum: 65535
Minimum: 1
| +| `intervalSeconds` _integer_ | IntervalSeconds is the time between two probes of one producer. | 5 | Maximum: 300
Minimum: 1
| +| `timeoutSeconds` _integer_ | TimeoutSeconds is how long a probe waits for the handshake. It must not
exceed IntervalSeconds. | 2 | Maximum: 60
Minimum: 1
| +| `unhealthyThreshold` _integer_ | UnhealthyThreshold is the number of consecutive failed probes that
make a producer Unhealthy. | 3 | Maximum: 10
Minimum: 1
| +| `healthyThreshold` _integer_ | HealthyThreshold is the number of consecutive successful probes that
make a producer Healthy. | 3 | Maximum: 10
Minimum: 1
| + + +#### ServiceEndpointProducerStatus + + + +ServiceEndpointProducerStatus is one producer's health decision. + + + +_Appears in:_ +- [ServiceEndpointStatus](#serviceendpointstatus) + +| Field | Description | Default | Validation | +| --- | --- | --- | --- | +| `namespace` _string_ | Namespace is the producer VPCAttachment's namespace. | | MinLength: 1
| +| `name` _string_ | Name is the producer VPCAttachment's name. | | MinLength: 1
| +| `attachmentUID` _[UID](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#uid-types-pkg)_ | AttachmentUID is the UID of the VPCAttachment that was probed. | | Required: \{\}
| +| `node` _string_ | Node is the node that hosts the producer and probes it. | | MinLength: 1
| +| `port` _integer_ | Port is the TCP port that was probed. | | Maximum: 65535
Minimum: 1
| +| `state` _[BackendHealthState](#backendhealthstate)_ | State is the decision. Healthy and Unknown producers receive new
flows; Unhealthy ones do not, unless every producer on the node is
Unhealthy. | | Enum: [Healthy Unhealthy Unknown]
Required: \{\}
| +| `reason` _string_ | Reason is ProbeSucceeded, ProbeFailed, Pending or ProbeUnavailable. | | MaxLength: 64
Required: \{\}
| +| `message` _string_ | Message is the last probe error, when there is one. | | MaxLength: 1024
| +| `lastTransitionTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#time-v1-meta)_ | LastTransitionTime is when State last changed. | | Required: \{\}
| + + #### ServiceEndpointReference @@ -3406,15 +3478,33 @@ _Appears in:_ | `port` _integer_ | Port is the service port. | | Maximum: 65535
Minimum: 1
Required: \{\}
| | `deliveryMode` _[ServiceEndpointDeliveryMode](#serviceendpointdeliverymode)_ | DeliveryMode defines how a backing attachment is selected relative to a
consumer. PreferNodeLocal uses a ready attachment on the consumer's node
when one exists and otherwise falls back to a ready remote attachment.
The dataplane preserves the consumer source address. If consumers with
overlapping address space present an identical TCP or UDP five-tuple to the
same replica, it rejects the later ambiguous flow fail-closed rather than
translate the source or risk returning traffic to the wrong VPC. | | Enum: [NodeLocal PreferNodeLocal]
Required: \{\}
| | `attachmentRef` _[ServiceEndpointAttachmentReference](#serviceendpointattachmentreference)_ | AttachmentRef identifies the Cloud API VPCAttachment that hosts this
endpoint when the service is delivered through a private VPC path.
The network API keeps this reference opaque; the consuming controller
resolves it against the Cloud API. | | | -| `attachmentSelector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#labelselector-v1-meta)_ | AttachmentSelector selects the Cloud API VPCAttachments that host replicas
of this endpoint. Labels used here must be assigned by the platform service
controller, not by tenants. The dataplane selects one ready replica for
each consumer according to DeliveryMode. | | | +| `attachmentSelector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#labelselector-v1-meta)_ | AttachmentSelector selects the Cloud API VPCAttachments that host replicas
of this endpoint. Labels used here must be assigned by the platform service
controller, not by tenants. The dataplane selects ready replicas for each
consumer according to DeliveryMode and Distribution. | | | | `region` _string_ | Region limits endpoint selection to a region. An empty value means the
endpoint is not region-scoped. | | | +| `distribution` _[ServiceEndpointDistribution](#serviceendpointdistribution)_ | Distribution says how a consumer's traffic reaches the producers on
its own node. Single, the default, allows one ready producer per node
and VPC and sends every consumer on that node to it; an endpoint that
selects more is refused. Spread sends new flows to any producer on the
consumer's node that its health check has not found Unhealthy: each
TCP connection stays with the producer that received its first packet,
and each UDP datagram picks a producer of its own, which suits
request/response protocols such as DNS but not ones that need a UDP
flow to stay on one producer. An Unhealthy producer keeps its existing
TCP connections and replies, and gets new flows again once it is
Healthy. When every producer on a node is Unhealthy, all of them stay
eligible. A node may hold at most 16 producers of a Spread endpoint. | | Enum: [Single Spread]
| +| `healthCheck` _[ServiceEndpointHealthCheck](#serviceendpointhealthcheck)_ | HealthCheck configures the TCP health check of a Spread endpoint's
producers. Each producer's own node probes it and publishes the
decision in status.producers. Required when Distribution is Spread and
refused otherwise.
Where interface traffic policy is enforced, the producer's policy must
allow TCP from fe80::/10 to the health check port on the Private path,
and the replies back. | | | + + +#### ServiceEndpointStatus + + + +ServiceEndpointStatus reports what the nodes observe of an endpoint. + + + +_Appears in:_ +- [ServiceEndpoint](#serviceendpoint) + +| Field | Description | Default | Validation | +| --- | --- | --- | --- | +| `producers` _[ServiceEndpointProducerStatus](#serviceendpointproducerstatus) array_ | Producers holds the health decision of every producer of a Spread
endpoint. Each node writes the entries of the producers on that node,
under its own field manager, and removes them when the producer stops
being selected. An entry whose attachmentUID no longer matches the
attachment of that name describes an earlier attachment and is ignored. | | MaxItems: 4096
| #### ServiceRouteAuthorization -ServiceRouteAuthorization bounds one network authorization episode. +ServiceRouteAuthorization defines persistent or time-bounded access. @@ -3423,6 +3513,7 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `persistent` _boolean_ | Persistent retains access until policy withdrawal or VPC lifetime replacement. | | | | `validUntil` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#time-v1-meta)_ | ValidUntil is the absolute UTC deadline for requests and existing replies.
Node controllers reject deadlines more than two minutes in the future. | | | @@ -3502,7 +3593,7 @@ _Appears in:_ | `serviceRef` _[ServiceEndpointReference](#serviceendpointreference)_ | ServiceRef identifies the ServiceEndpoint in this namespace. | | Required: \{\}
| | `consumerVPCRef` _[ServiceRouteVPCReference](#serviceroutevpcreference)_ | ConsumerVPCRef pins authorization to the immutable lifetime of the VPC
selected by AttachmentSelector. Galactic resolves the name through the
Cloud API and requires both the live name and UID to match. | | | | `frontend` _[ServiceRouteFrontend](#serviceroutefrontend)_ | Frontend is the address presented inside the consumer VPC. When set,
Galactic translates it to the ServiceEndpoint address and restores it on
replies. | | | -| `authorization` _[ServiceRouteAuthorization](#servicerouteauthorization)_ | Authorization bounds translated access independently of application leases.
Only trusted networking integration may renew this deadline. | | | +| `authorization` _[ServiceRouteAuthorization](#servicerouteauthorization)_ | Authorization defines the lifetime of translated service access. | | | | `attachmentSelector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#labelselector-v1-meta)_ | AttachmentSelector selects eligible VPC attachments by authoritative
labels. Labels that grant access to platform services must be assigned by
the network control plane, not by tenants. | | Required: \{\}
| | `protocolPorts` _[ServiceRouteProtocolPort](#servicerouteprotocolport) array_ | ProtocolPorts limits the traffic that the route is intended to carry.
An empty list means the endpoint's declared port and protocol are used. | | | | `region` _string_ | Region limits selected attachments to a region. An empty value means the
policy applies in every region where the endpoint is available. | | | diff --git a/docs/api/network-gateway.md b/docs/api/network-gateway.md index 391fbc954..06c89af41 100644 --- a/docs/api/network-gateway.md +++ b/docs/api/network-gateway.md @@ -81,6 +81,7 @@ _Validation:_ - Enum: [Healthy Unhealthy Unknown] _Appears in:_ +- [ServiceEndpointProducerStatus](#serviceendpointproducerstatus) - [ServiceVIPBindingHealth](#servicevipbindinghealth) | Field | Description | @@ -564,6 +565,7 @@ that owns the service is responsible for its health and implementation. | `apiVersion` _string_ | APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | | | | `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | | | `spec` _[ServiceEndpointSpec](#serviceendpointspec)_ | | | | +| `status` _[ServiceEndpointStatus](#serviceendpointstatus)_ | | | | #### ServiceEndpointAttachmentReference @@ -602,6 +604,76 @@ _Appears in:_ | `PreferNodeLocal` | ServiceEndpointDeliveryModePreferNodeLocal selects a backing attachment on
the consumer's node when possible and otherwise tunnels to a ready remote
attachment while preserving the consumer source address.
| +#### ServiceEndpointDistribution + +_Underlying type:_ _string_ + +ServiceEndpointDistribution selects how traffic spreads across the +producers on one node. + + + +_Appears in:_ +- [ServiceEndpointSpec](#serviceendpointspec) + +| Field | Description | +| --- | --- | +| `Single` | ServiceEndpointDistributionSingle sends every consumer on a node to the
one ready producer there.
| +| `Spread` | ServiceEndpointDistributionSpread spreads flows across the healthy
producers on the consumer's node.
| + + +#### ServiceEndpointHealthCheck + + + +ServiceEndpointHealthCheck configures the TCP health check of an endpoint's +producers. A probe opens a TCP connection to the endpoint's address on Port +through the producer's host-side interface, from that interface's +link-local address. It succeeds when the handshake completes within +TimeoutSeconds, and fails when the connection is refused, reset or times +out. A producer's decision changes after UnhealthyThreshold consecutive +failures or HealthyThreshold consecutive successes. A crashed producer +therefore stops receiving new flows within IntervalSeconds × +UnhealthyThreshold, plus TimeoutSeconds. + + + +_Appears in:_ +- [ServiceEndpointSpec](#serviceendpointspec) + +| Field | Description | Default | Validation | +| --- | --- | --- | --- | +| `port` _integer_ | Port is the TCP port probed on every producer, 1-65535. Unset, it is
the endpoint's port, which must then be a tcp port. A udp endpoint must
set it to a TCP port its producers listen on. | | Maximum: 65535
Minimum: 1
| +| `intervalSeconds` _integer_ | IntervalSeconds is the time between two probes of one producer. | 5 | Maximum: 300
Minimum: 1
| +| `timeoutSeconds` _integer_ | TimeoutSeconds is how long a probe waits for the handshake. It must not
exceed IntervalSeconds. | 2 | Maximum: 60
Minimum: 1
| +| `unhealthyThreshold` _integer_ | UnhealthyThreshold is the number of consecutive failed probes that
make a producer Unhealthy. | 3 | Maximum: 10
Minimum: 1
| +| `healthyThreshold` _integer_ | HealthyThreshold is the number of consecutive successful probes that
make a producer Healthy. | 3 | Maximum: 10
Minimum: 1
| + + +#### ServiceEndpointProducerStatus + + + +ServiceEndpointProducerStatus is one producer's health decision. + + + +_Appears in:_ +- [ServiceEndpointStatus](#serviceendpointstatus) + +| Field | Description | Default | Validation | +| --- | --- | --- | --- | +| `namespace` _string_ | Namespace is the producer VPCAttachment's namespace. | | MinLength: 1
| +| `name` _string_ | Name is the producer VPCAttachment's name. | | MinLength: 1
| +| `attachmentUID` _[UID](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#uid-types-pkg)_ | AttachmentUID is the UID of the VPCAttachment that was probed. | | Required: \{\}
| +| `node` _string_ | Node is the node that hosts the producer and probes it. | | MinLength: 1
| +| `port` _integer_ | Port is the TCP port that was probed. | | Maximum: 65535
Minimum: 1
| +| `state` _[BackendHealthState](#backendhealthstate)_ | State is the decision. Healthy and Unknown producers receive new
flows; Unhealthy ones do not, unless every producer on the node is
Unhealthy. | | Enum: [Healthy Unhealthy Unknown]
Required: \{\}
| +| `reason` _string_ | Reason is ProbeSucceeded, ProbeFailed, Pending or ProbeUnavailable. | | MaxLength: 64
Required: \{\}
| +| `message` _string_ | Message is the last probe error, when there is one. | | MaxLength: 1024
| +| `lastTransitionTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#time-v1-meta)_ | LastTransitionTime is when State last changed. | | Required: \{\}
| + + #### ServiceEndpointReference @@ -638,8 +710,26 @@ _Appears in:_ | `protocol` _[NetworkServiceProtocol](#networkserviceprotocol)_ | Protocol is the transport protocol accepted by the endpoint. | | Enum: [tcp udp]
Required: \{\}
| | `deliveryMode` _[ServiceEndpointDeliveryMode](#serviceendpointdeliverymode)_ | DeliveryMode defines how a backing attachment is selected relative to a
consumer. PreferNodeLocal uses a ready attachment on the consumer's node
when one exists and otherwise falls back to a ready remote attachment.
The dataplane preserves the consumer source address. If consumers with
overlapping address space present an identical TCP or UDP five-tuple to the
same replica, it rejects the later ambiguous flow fail-closed rather than
translate the source or risk returning traffic to the wrong VPC. | | Enum: [NodeLocal PreferNodeLocal]
Required: \{\}
| | `attachmentRef` _[ServiceEndpointAttachmentReference](#serviceendpointattachmentreference)_ | AttachmentRef identifies the Cloud API VPCAttachment that hosts this
endpoint when the service is delivered through a private VPC path.
The network API keeps this reference opaque; the consuming controller
resolves it against the Cloud API. | | | -| `attachmentSelector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#labelselector-v1-meta)_ | AttachmentSelector selects the Cloud API VPCAttachments that host replicas
of this endpoint. Labels used here must be assigned by the platform service
controller, not by tenants. The dataplane selects one ready replica for
each consumer according to DeliveryMode. | | | +| `attachmentSelector` _[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v/#labelselector-v1-meta)_ | AttachmentSelector selects the Cloud API VPCAttachments that host replicas
of this endpoint. Labels used here must be assigned by the platform service
controller, not by tenants. The dataplane selects ready replicas for each
consumer according to DeliveryMode and Distribution. | | | | `region` _string_ | Region limits endpoint selection to a region. An empty value means the
endpoint is not region-scoped. | | | +| `distribution` _[ServiceEndpointDistribution](#serviceendpointdistribution)_ | Distribution says how a consumer's traffic reaches the producers on
its own node. Single, the default, allows one ready producer per node
and VPC and sends every consumer on that node to it; an endpoint that
selects more is refused. Spread sends new flows to any producer on the
consumer's node that its health check has not found Unhealthy: each
TCP connection stays with the producer that received its first packet,
and each UDP datagram picks a producer of its own, which suits
request/response protocols such as DNS but not ones that need a UDP
flow to stay on one producer. An Unhealthy producer keeps its existing
TCP connections and replies, and gets new flows again once it is
Healthy. When every producer on a node is Unhealthy, all of them stay
eligible. A node may hold at most 16 producers of a Spread endpoint. | | Enum: [Single Spread]
| +| `healthCheck` _[ServiceEndpointHealthCheck](#serviceendpointhealthcheck)_ | HealthCheck configures the TCP health check of a Spread endpoint's
producers. Each producer's own node probes it and publishes the
decision in status.producers. Required when Distribution is Spread and
refused otherwise.
Where interface traffic policy is enforced, the producer's policy must
allow TCP from fe80::/10 to the health check port on the Private path,
and the replies back. | | | + + +#### ServiceEndpointStatus + + + +ServiceEndpointStatus reports what the nodes observe of an endpoint. + + + +_Appears in:_ +- [ServiceEndpoint](#serviceendpoint) + +| Field | Description | Default | Validation | +| --- | --- | --- | --- | +| `producers` _[ServiceEndpointProducerStatus](#serviceendpointproducerstatus) array_ | Producers holds the health decision of every producer of a Spread
endpoint. Each node writes the entries of the producers on that node,
under its own field manager, and removes them when the producer stops
being selected. An entry whose attachmentUID no longer matches the
attachment of that name describes an earlier attachment and is ignored. | | MaxItems: 4096
| #### ServiceRouteAuthorization