opensergo / opensergo-control-plane

Universal cloud-native microservice governance control plane (微服务治理控制面)
Apache License 2.0
35 stars 23 forks source link

Add Helm Chart deployment suite #47

Open jnan806 opened 1 year ago

jnan806 commented 1 year ago

Signed-off-by: Jiangnan Jia jnan0806@gmail.com

Describe what this PR does / why we need it

Support Helm Chart deploy

Does this pull request fix one issue?

Fixes #40

Describe how you did it

Add Helm Chart deployment suite

Describe how to verify it

  1. finish the init step by exec:
    wget --no-check-certificate https://raw.githubusercontent.com/opensergo/opensergo-control-plane/main/cmd/init/init.sh && chmod +x init.sh && ./init.sh
  2. go into directorycmd/install/helm, and exec:
    helm install opensergo-control-plane ./opensergo-control-plane

Special notes for reviews

ClusterIP is the default mode of Service, you can change mode to NodePort or LoadBalancer to expose this Service. If you want to expose this Service, you can modify file cmd/install/helm/opensergo-control-plane/values.yaml

cmd/install/helm/opensergo-control-plane/values.yaml

service:
  type: NodePort # or LoadBalancer