Skip to content

Latest commit

 

History

History
109 lines (72 loc) · 3.86 KB

maistra.io_ServiceMeshMemberRoll_v1.adoc

File metadata and controls

109 lines (72 loc) · 3.86 KB

ServiceMeshMemberRoll - maistra.io/v1

maistra.io/api/core/v1

The ServiceMeshMemberRoll object configures which namespaces belong to a service mesh. Only namespaces listed in the ServiceMeshMemberRoll will be affected by the control plane. Any number of namespaces can be added, but a namespace may not exist in more than one service mesh. The ServiceMeshMemberRoll object must be created in the same namespace as the ServiceMeshControlPlane object and must be named "default".

Table 1. Table ServiceMeshMemberRoll 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

Specification of the desired list of members of the service mesh.

ServiceMeshMemberRollSpec

status

The current status of this ServiceMeshMemberRoll. This data may be out of date by some window of time.

ServiceMeshMemberRollStatus

ServiceMeshMemberRollSpec

maistra.io/api/core/v1

ServiceMeshMemberRollSpec is the specification of the desired list of members of the service mesh.

Table 2. Table ServiceMeshMemberRollSpec Fields
Name Description Type

members

List of namespaces that should be members of the service mesh.

[]string

ServiceMeshMemberRollStatus

maistra.io/api/core/v1

ServiceMeshMemberRollStatus represents the current state of a ServiceMeshMemberRoll.

Table 3. Table ServiceMeshMemberRollStatus Fields
Name Description Type

annotations

Annotations is an unstructured key value map used to store additional, usually redundant status information, such as the number of components deployed by the ServiceMeshControlPlane (number is redundant because you could just as easily count the elements in the ComponentStatus array). The reason to add this redundant information is to make it available to kubectl, which does not yet allow counting objects in JSONPath expressions.

map[string]string

conditions

Represents the latest available observations of this ServiceMeshMemberRoll’s current state.

[]ServiceMeshMemberRollCondition

configuredMembers

List of namespaces that are configured as members of the service mesh.

[]string

memberStatuses

Represents the latest available observations of each member’s current state.

[]ServiceMeshMemberStatusSummary

members

Complete list of namespaces that are configured as members of the service mesh - this includes namespaces specified in spec.members and those that contain a ServiceMeshMember object

[]string

meshGeneration

The generation of the ServiceMeshControlPlane object observed by the controller during the most recent reconciliation of this ServiceMeshMemberRoll.

integer

meshReconciledVersion

The reconciled version of the ServiceMeshControlPlane object observed by the controller during the most recent reconciliation of this ServiceMeshMemberRoll.

string

observedGeneration

The generation observed by the controller during the most recent reconciliation. The information in the status pertains to this particular generation of the object.

integer

pendingMembers

List of namespaces that haven’t been configured as members of the service mesh yet.

[]string

terminatingMembers

List of namespaces that are being removed as members of the service mesh.

[]string