helm-ui icon indicating copy to clipboard operation
helm-ui copied to clipboard

Devtron-Service of type LoadBalancer to ClusterIP

Open AnaisUrlichs opened this issue 2 years ago • 1 comments

It doesn't make much sense to have the Devtron-Service that's installed as part of the Helm Chart be a LoadBalancer. Is there a particular reason?

❯ kubectl get service devtron-service -n devtroncd NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE devtron-service LoadBalancer 10.96.245.114 80:31601/TCP 5m3s

(local KinD Kubernetes cluster)

Changes that would have to be implemented

  1. Change the Service Type in the Kubernetes Resources/Helm Chart
  2. Change the installation docs to include the port-forwarding

AnaisUrlichs avatar Aug 21 '23 09:08 AnaisUrlichs

Hello @AnaisUrlichs, the service parameter si configurable. The default service-type is LoadBalancer but you can set it ClusterIP or NodePort which ever you want. Eventually its a helm chart and almost all parameters are configurable.

Here's the command for Helm installation with service as ClusterIP.

helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd --set components.devtron.service.type=ClusterIP

P.S: This repository consists of just the instructions to install Devtron's Kubernetes Dashboard which has everything about Helm Dashboard, cluster management and all k8s resources management. For more details about Devtron or creating any issues, please refer to this repository. -> https://github.com/devtron-labs/devtron

Abhinav-26 avatar Aug 21 '23 13:08 Abhinav-26