megaease / easemesh

A service mesh implementation for connecting, control, and observe services in spring-cloud.
https://megaease.com/easemesh
Apache License 2.0
505 stars 61 forks source link

Support update or query configuration of the EaseMesh controller via emctl #65

Closed zhao-kun closed 2 years ago

zhao-kun commented 2 years ago

Usage

Using the following command to update the configuration of the EaseMesh controller,

emectl apply -f mesh-controller.yaml

Using the following command to query the configuration of the EaseMesh controller,

emctl get mesh-controller <name> [-o yaml/json] #mesh controller has and only has one, the name value can be omitted.

Needn't support delete/create command.

Specification

apiVersion: mesh.megaease.com/v1alpha1
kind: MeshController
metadata:
  name: mesh-controller # mesh controller has and only has one, the name value can be omitted.
spec:
  heartbeatInterval: 5s
  ingressPort: 19527
  kind: MeshController
  name: easemesh-controller
  registryType: consul