Skip to content

Latest commit

 

History

History
91 lines (59 loc) · 3.53 KB

maistra.io_ServiceMeshMember_v1.adoc

File metadata and controls

91 lines (59 loc) · 3.53 KB

ServiceMeshMember - maistra.io/v1

maistra.io/api/core/v1

A ServiceMeshMember object marks the namespace in which it lives as a member of the Service Mesh Control Plane referenced in the object. The ServiceMeshMember object should be created in each application namespace that must be part of the service mesh and must be named "default". When the ServiceMeshMember object is created, it causes the namespace to be added to the ServiceMeshMemberRoll within the namespace of the ServiceMeshControlPlane object the ServiceMeshMember references. To reference a ServiceMeshControlPlane, the user creating the ServiceMeshMember object must have the "use" permission on the referenced ServiceMeshControlPlane object. This permission is given via the mesh-users RoleBinding (and mesh-user Role) in the namespace of the referenced ServiceMeshControlPlane object.

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

The desired state of this ServiceMeshMember.

ServiceMeshMemberSpec

status

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

ServiceMeshMemberStatus

ServiceMeshMemberSpec

maistra.io/api/core/v1

ServiceMeshMemberSpec defines the member of the mesh

Table 2. Table ServiceMeshMemberSpec Fields
Name Description Type

controlPlaneRef

A reference to the ServiceMeshControlPlane object.

ServiceMeshControlPlaneRef

ServiceMeshMemberStatus

maistra.io/api/core/v1

ServiceMeshMemberStatus represents the current state of a ServiceMeshMember.

Table 3. Table ServiceMeshMemberStatus 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 a ServiceMeshMember’s current state.

[]ServiceMeshMemberCondition

meshGeneration

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

integer

meshReconciledVersion

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

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