From 98802ad688ae79e3d83d1e507176bfcde26803d4 Mon Sep 17 00:00:00 2001 From: vania-pooh Date: Thu, 26 Jul 2018 11:35:41 +0000 Subject: [PATCH] Documentation updated by vania-pooh --- latest/index.html | 87 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 80 insertions(+), 7 deletions(-) diff --git a/latest/index.html b/latest/index.html index ce870da..1907353 100644 --- a/latest/index.html +++ b/latest/index.html @@ -545,10 +545,15 @@

Moon

  • 2.1.2. Updating Users List
  • -
  • 2.2. CLI Flags +
  • 2.2. Advanced Configuration +
  • +
  • 2.3. CLI Flags +
  • @@ -882,12 +887,67 @@

    -

    2.2. CLI Flags

    +

    2.2. Advanced Configuration

    +
    +

    2.2.1. Using Custom Moon Images

    +
    +

    By default Moon downloads some service images (aerokube/defender, aerokube/uploader and so on) from public Docker registry. If in your environment due to security restrictions Docker images can only be downloaded from private registry you need to provide image names to Moon. To do this:

    +
    +
    +
      +
    1. +

      Copy the following public images to your registry:

      +
      +
      +
      aerokube/moon
      +aerokube/moon-api
      +selenoid/video-recorder
      +aerokube/defender
      +aerokube/uploader
      +aerokube/logger
      +
      +
      +
    2. +
    3. +

      Create a service.json file with the following contents:

      +
      +
      +
      $ mkdir -p moon-config
      +$ touch moon-config/service.json # Add contents to file as shown on the next line
      +$ cat moon-config/service.json
      +{
      +  "images": {
      +    "videoRecorder": "my-registry.example.com/moon/video-recorder:_{revnumber}_",
      +    "defender": "my-registry.example.com/moon/defender:_{revnumber}_",
      +    "uploader": "my-registry.example.com/moon/uploader:_{revnumber}_",
      +    "logger": "my-registry.example.com/moon/logger:_{revnumber}_"
      +  }
      +}
      +
      +
      +
    4. +
    5. +

      Create a moon-config ConfigMap object:

      +
      +
      +
      $ kubectl replace configmap moon-config --from-file=moon-config
      +
      +
      +
    6. +
    7. +

      Restart Moon to apply changes

      +
    8. +
    +
    +
    +
    +
    +

    2.3. CLI Flags

    These flags should be specified in Kubernetes YAML files when starting the cluster.

    -

    2.2.1. Moon Flags

    +

    2.3.1. Moon Flags

    The following flags are supported by moon:

    @@ -909,7 +969,7 @@

    2.2.1. Moon Flags

    +