Stay organized with collections
Save and categorize content based on your preferences.
Deploy a Load Balancer for Manufacturing Connect (MC)
Manufacturing Connect edge (MCe) can be deployed with a TCP Load Balancer, in which
case you must upload an SSL certificate to the Manufacturing Connect (MC)
application to secure traffic between MC and clients. However,
MDE provides a Helm chart to provision an External HTTP Load
Balancer with a Google-managed SSL certificate.
Before you begin
Make sure to complete the following prerequisites:
You deployed MCe from the Google Cloud Marketplace.
MC is deployed in the default GKE cluster namespace.
If MC is deployed in a different namespace, append the
--namespace option to helm and kubectl commands and provide the name
of the namespace in which MC is deployed.
You are authorized to deploy Kubernetes resources to the GKE cluster in
which MCe is deployed.
You have downloaded and un-archived the MDE release package.
Steps
From the MDE release package root, navigate to the
optional/charts/mc/helm-mc-lb directory using the following command:
cdoptional/charts/mc/helm-mc-lb
Obtain the cluster credentials using the following commands:
Open the values.yaml in a text editor and set the value to
ingress.domain to a domain name under which you want MC to
be accessible. You must have permissions to create domain name system (DNS)
records for this domain name.
Install the Helm chart using the following command:
helminstallmc-http-lb.
Obtain the IP address of the External HTTP Load Balancer:
After the Load Balancer finishes provisioning (it may take up to five minutes),
look up the external IP address of the Load Balancer using the following command:
Create an A record for the domain you specified in Step 3. Consult your DNS
host for details on how to create an A record.
Change the Base Domain Name in MC:
Use mc-nginx Service IP to access the MC administration
console by navigating to https://<IP>/admin-ui/settings/domain, and change
the Base Domain Name to the domain name you selected in the step earlier.
You can obtain the Service IP address using the following command:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Deploy a Load Balancer for Manufacturing Connect (MC)\n=====================================================\n\nManufacturing Connect edge (MCe) can be deployed with a TCP Load Balancer, in which\ncase you must upload an SSL certificate to the Manufacturing Connect (MC)\napplication to secure traffic between MC and clients. However,\nMDE provides a Helm chart to provision an External HTTP Load\nBalancer with a Google-managed SSL certificate.\n\n#### Before you begin\n\nMake sure to complete the following prerequisites:\n\n- You deployed [MCe](https://console.cloud.google.com/marketplace/product/litmus-public/intelligent-manufacturing-connect) from the Google Cloud Marketplace.\n- MC is deployed in the `default` GKE cluster namespace. If MC is deployed in a different namespace, append the `--namespace` option to `helm` and `kubectl` commands and provide the name of the namespace in which MC is deployed.\n- You are authorized to deploy Kubernetes resources to the GKE cluster in which MCe is deployed.\n- You have downloaded and un-archived the MDE release package.\n\n#### Steps\n\n1. From the MDE release package root, navigate to the\n `optional/charts/mc/helm-mc-lb` directory using the following command:\n\n cd optional/charts/mc/helm-mc-lb\n\n2. Obtain the cluster credentials using the following commands:\n\n export CLUSTER_NAME=\"mc-cluster\"\n\n export CLUSTER_LOCATION=$(gcloud container clusters list \\\n --filter=\"name:${CLUSTER_NAME}\" \\\n --format=\"value(LOCATION)\" )\n\n gcloud container clusters get-credentials ${CLUSTER_NAME} \\\n --region ${CLUSTER_LOCATION}\n\n export KUBE_CONFIG_PATH=~/.kube/config\n\n3. Update the `values.yaml`:\n\n Open the `values.yaml` in a text editor and set the value to\n `ingress.domain` to a domain name under which you want MC to\n be accessible. You must have permissions to create domain name system (DNS)\n records for this domain name.\n4. Install the Helm chart using the following command:\n\n helm install mc-http-lb .\n\n5. Obtain the IP address of the External HTTP Load Balancer:\n\n After the Load Balancer finishes provisioning (it may take up to five minutes),\n look up the external IP address of the Load Balancer using the following command: \n\n gcloud compute addresses list --filter=\"name~'.*mc-http-lb.*'\" --format=\"value(address)\" --global\n\n6. Create a DNS entry:\n\n Create an A record for the domain you specified in Step 3. Consult your DNS\n host for details on how to create an A record.\n | **Note:** While in most cases DNS changes propagate in less than an hour, it may take up to 24 hours. Your application won't be accessible under the domain name until DNS propagation completes and the subsequent provisioning of an SSL certificate succeeds.\n7. Change the Base Domain Name in MC:\n\n Use `mc-nginx` Service IP to access the MC administration\n console by navigating to `https://\u003cIP\u003e/admin-ui/settings/domain`, and change\n the Base Domain Name to the domain name you selected in the step earlier.\n You can obtain the Service IP address using the following command: \n\n kubectl get service/mc-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}{\"\\n\"}'"]]