Self host Mission Control using Minikube
Env details/prerequisites
- Docker
- Helm
- kubectl
- minikubehttps://minikube.sigs.k8s.io/docs/start/
- mkcerthttps://github.com/FiloSottile/mkcert
Start Minikube
- minikube start
Create Flanksource namespace & Secret
- kubectl create namespace flanksource
- kubectl -n flanksource create secret generic incident-commander-smtp
Custom TLS certificate with ingress addon
mkcert -install
mkcert incident-manager-ui.local localhost 127.0.0.1
kubectl -n flanksource create secret tls mission-control-tls --key incident-manager-ui.local-key.pem --cert incident-manager-ui.local.pem
minikube addons configure ingress
minikube addons enable ingress
Install Mission Control
values.yaml
kratosURL: http://mission-control:8080/kratos/
flanksource-ui:
  oryKratosURL: http://incident-manager-ui.local/kratos
  backendURL: http://mission-control:8080
  ingress:
    annotations:
      kubernetes.io/tls-acme: "true"
    host: incident-manager-ui.local
    tls:
      - hosts:
          - incident-manager-ui.local
        secretName: mission-control-tls
helm repo add flanksource https://flanksource.github.io/charts
helm repo update
helm install flanksource flanksource/mission-control -n flanksource --create-namespace -f values.yaml
Access Mission Control UI
- Add line similar to the following one to the bottom of the - /etc/hostsfile on your computer (you will need administrator access) C:\Windows\System32\drivers\etc- 127.0.0.1 incident-manager-ui.local
- minikube tunnel
- Username: admin@local Pass: admin