Creates MeshService entity
Changed onCreates a resource using the name in the body. An existing resource is never modified. Requires Kuma 3.0 or later.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
Id of the Konnect resource
name of the mesh
Request body
MeshService represents a service in the mesh with its connectivity and health information. It defines service endpoints by selecting data plane proxies through labels or direct references, configures service ports and protocols, tracks service availability and health status, and provides automatic VIP assignment and hostname generation for service discovery.
the type of the resource
Mesh is the name of the Kuma mesh this resource belongs to. It may be omitted for cluster-scoped resources.
A unique identifier for this resource instance used by internal tooling and integrations. Typically derived from resource attributes and may be used for cross-references or indexing
List of SNIs (Server Name Indication) advertised by xDS for this destination, one entry per port, sorted by port ascending. Present for MeshService, MeshMultiZoneService and MeshExternalService.
Name of the Kuma resource
The labels to help identity resources
Spec is the specification of the Kuma MeshService resource.
Time at which the resource was created
Time at which the resource was updated
Status is the current status of the Kuma MeshService resource.
Example request
{
"kri": "kri_msvc_default_zone-east_kuma-demo_myresource1_",
"snis": [
{
"port": 8080,
"sni": "sni.msvc.default.zone-east.kuma-demo.myresource1.8080"
}
],
"creationTime": "1901-01-01T00:00:00.000Z",
"modificationTime": "1901-01-01T00:00:00.000Z"
}Response
Successful response
warnings is a list of warning messages to return to the requesting Kuma API clients. Warning messages describe a problem the client making the API request should correct or be aware of.
Changes
- info
endpoint added
- info