General
You can access the UI just after the installation of Memphis via K8S / Docker on your dev environment here.
The UI is designed to simplify your work with Memphis and give you a graphical user interface for controlling your stations and observing your data. A few simple clicks can create a messaging queue ready to work, add a function to enrich your data, or monitor/manage your activity.

Accessing the UI

Kubernetes

  • Expose the UI in a localhost environment using "port-forward":
    1
    $# kubectl port-forward service/memphis-ui 9000:80 --namespace memphis & >/dev/null
    Copied!
    1
    http://localhost:9000
    Copied!
  • Expose the UI in a production environment
    • Nodeport
    1
    $# kubectl patch svc memphis-ui --type='json' -p '[{"op":"replace","path":"/spec/type","value":"NodePort"}]'
    Copied!
    1
    $# kubectl describe svc memphis-ui | grep -i Endpoints
    2
    Endpoints: 192.150.201.138:80
    Copied!
    NodePort will expose the UI via one of the k8s workers' IPs
    • Load Balancer
    1
    $# kubectl patch svc memphis-ui --type='json' -p '[{"op":"replace","path":"/spec/type","value":"LoadBalancer"}]'
    Copied!
    1
    $# kubectl describe svc memphis-ui | grep -i "LoadBalancer Ingress"
    2
    LoadBalancer Ingress: a2d0fd26a0d7941a29d444ac4d03acd3-1181102898.eu-central-1.elb.amazonaws.com
    Copied!
    • Ingress - Please use the following file:
    1
    apiVersion: networking.k8s.io/v1
    2
    kind: Ingress
    3
    metadata:
    4
    name: memphis-ui-ingress
    5
    namespace: memphis
    6
    annotations:
    7
    acme.cert-manager.io/http01-edit-in-place: "true"
    8
    kubernetes.io/ingress.class: nginx
    9
    cert-manager.io/cluster-issuer: letsencrypt-staging
    10
    spec:
    11
    tls:
    12
    - hosts:
    13
    - "demo.memphis.dev"
    14
    secretName: demo-tls
    15
    rules:
    16
    - host: "demo.memphis.dev"
    17
    http:
    18
    paths:
    19
    - path: /
    20
    pathType: Prefix
    21
    backend:
    22
    service:
    23
    name: memphis-ui
    24
    port:
    25
    number: 80
    Copied!
More on publishing k8s services here.

Docker

For the full docker installation tutorial, please head here.
The default port of the UI is 9000:
1
http://localhost:9000
Copied!