Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Similarly, the Docker installation all images are hosted in the docker hub Emakin Helm charts are published in https://hub.docker.com/u/6kare address.github.com/6Kare/charts address.

Chart Installation

Repository Installation

Code Block
helm repo add emakin https://6kare.github.io/charts/

Installation

Code Block
helm install hello emakin/emakin

Helm tool by default deploys the emakin chart into the current namespace. If you want to deploy to another namespace, create a new namespace and execute the install later.

Code Block
kubectl create namespace mynamespace
helm install --namespace mynamespace emakin emakin/emakin

Accessing Emakin

On container start, the default domain is automatically created with "admin@emakin.com" user and "admin" password. The application can be accessed from http://localhost address, and the host administration settings can be accessed from http://localhost/hostadm address.

Running with Non-Root User

Docker images are executed with a non-root “emakin” user but the emakin agent executable uses these ports by default.

...

These ports require the root permission if not configured and the service may fail to start up.

Overriding Default Configuration

Change Default Web Server Ports

Define the following environment variables to override web service listening ports.

Code Block
AK_Web__Kestrel__Endpoints__Http__Url=http://*:8080
AK_Web__Kestrel__Endpoints__Https__Url=http://*:8443

Disable SMTP Service

Code Block
AK_Smtp_Enabled=false

Change Deployment Security Context

If you want to use default ports in a non-root context please add NET_BIND_SERVICE capability to allow binding to the lower ports.

Edit the “emakin.deployment.yaml” file with the following changes.

...