Kubernetes Configurator

The Kubernetes configurator tool found in the Pyramid Analytics Customer Portal can be used to configure the "instructions" for your launch of a Pyramid cluster. This tool produces a "YAML" file with the instructions for how to find the right containers and how to deploy the services in a cluster.

Advanced users can generate their own YAML instructions to deploy Pyramid in other tools or a text editor.


Steps to use the Tool:

  1. Select the version of Pyramid to deploy.
  2. Choose the port assignment for the application. This is an internal port, that is usually accessible from inside the network only. Usually a reverse proxy service is placed on top of this to handle URL and SSL processing, pointing all requests to the site and this port. See here for more.
  3. Select the persistent storage model for the cluster. Choices include AWS S3, Azure Blob, GCP storage, SFTP and NFS.
    • If using the NFS option, the YAML file generated needs to be manually edited.
  4. Supply an Instance Name for the Pyramid instance running in Kubernetes..
    Enter a name that meets the following requirements:
    • Can only contain lower case alphanumeric characters 'a-z', '0-9'.
      If the selected name contains upper case characters, they will be converted to lower case.
    • Can contain the character '-'.
    • Cannot contain any other character.
    • An error will be displayed if there is an invalid character.
      For more information, see RFC1123
  5. Set up the Maximum Resources per Pod that you want to deploy. There is a minimum of 4 Cores for the Router and the GIS, and a minimum of 8 Cores for the other services. Supply the initial memory and CPU core values of your Kubernetes environment. These are used to size the memory and CPU footprints of the service pods. Click here to see the minimum recommended sizing guidelines.
  6. Set for each service the number of pods you which to deploy initially. The cluster assumes a minimum of 1 for each service, with the Router having a minimum of 2.
    1. The GIS service has a maximum pod setting of only 1 that cannot be changed in this tool
    2. Check the "NLQ" option if you plan to enable Natural Language Querying - since this has a dramatic impact on memory allocations to the "AI" services.
  7. For each relevant service, check if you would like elastic scaling. Currently the configuration tool only supports horizontal scaling. For each service with scaling enabled, set the maximum number of pods the system can add when scaling out.
  8. Click the NEXT button to see the specific steps needs to deploy the YAML configuration file. These steps involve:
    1. Deploying "Keda" and "Prometheus" - which are 2 engines for auto scaling containers in Kubernetes
    2. Downloading the Pyramid YAML configuration file
    3. Manually editing the "NFS" section in the YAML file with a text editor if NFS storage has been selected (see below).
    4. Deploying the YAML file into the Kubernetes cluster.

NFS Edits

If you chose the NFS option, then you have to manually modify the YAML file in a text editor.

  1. In the "PersistentVolum"e section
    1. under the spec-> NFS, you need to fill the path and the server IP
  2. In the "PersistentVolumeClaim" section
    1. under spec->resources->request->storage you need to define the storage size that you want to allocate for Pyramid external storage