Accessing factoryinsight from outside of the cluster

I want to connect my webapp to factoryinsight so it can use its API. How can I do that?

Instructions

Because the united manufacturing hub is not exposed to the public internet / does not have a DNS name, we cannot use the unbuilt Ingress for that.

The solution is to create a new Kubernetes resource exposing factoryinsight as a LoadBalancer: (see also

Creating new Kubernetes resources

apiVersion: v1
kind: Service
metadata:
  name: exposing-factoryinsight-externally
  namespace: united-manufacturing-hub
spec:
  type: LoadBalancer
  selector:
    app.kubernetes.io/name: united-manufacturing-hub-factoryinsight
  ports:
    - protocol: TCP
      port: 8081
      targetPort: 80

Now it should be accessible via http://172.20.85.1:8081/