Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 2.63 KB

federation.maistra.io_ImportedServiceSet_v1.adoc

File metadata and controls

77 lines (49 loc) · 2.63 KB

ImportedServiceSet - federation.maistra.io/v1

maistra.io/api/federation/v1

ImportedServiceSet is the Schema for configuring imported services. It must be created in the same namespace as the control plane. The name of the ImportedServiceSet resource must match the name of a ServiceMeshPeer resource defining the remote mesh from which the services will be imported. This implies there will be at most one ImportedServiceSet resource per peer and control plane.

Table 1. Table ImportedServiceSet Fields
Name Description Type

apiVersion

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

string

kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

string

metadata

[metav1_ObjectMeta]

spec

Spec defines rules for matching services to be imported.

ImportedServiceSetSpec

status

ImportedServiceSetStatus

ImportedServiceSetSpec

maistra.io/api/federation/v1

Table 2. Table ImportedServiceSetSpec Fields
Name Description Type

domainSuffix

DomainSuffix specifies the domain suffix to be applies to imported services. If no domain suffix is specified, imported services will be named as follows: <imported-name>.<imported-namespace>.svc.<mesh-name>-imports.local If a domain suffix is specified, imported services will be named as follows: <imported-name>.<imported-namespace>.<domain-suffix>

string

importRules

ImportRules are the rules that determine which services are imported to the mesh. The list is processed in order and the first spec in the list that applies to a service is the one that will be applied. This allows more specific selectors to be placed before more general selectors.

[]ImportedServiceRule

locality

Locality within which imported services should be associated.

ImportedServiceLocality

ImportedServiceSetStatus

maistra.io/api/federation/v1

Table 3. Table ImportedServiceSetStatus Fields
Name Description Type

importedServices

Imports provides details about the services imported by this mesh.

[]PeerServiceMapping