Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.42 KB

readme.adoc

File metadata and controls

48 lines (36 loc) · 1.42 KB

babylon_agnostics

This roles allows you to communicate with the AgnosticS scheduler. It is to be used in Babylon Anarchy.

This role does the following:

  1. call the scheduler

  2. Look for a corresponding secret in the provided namespace (default is gpte)

  3. load that secret

  4. inject it back into dynamic_job_vars

Input

For input variables, please refer to defaults/main.yaml.

The credentials to access the API can be loaded via an OpenShift secret in your OCP Babylon cluster and the special var agnostics_mgr_access. For example, if you created a secret agnostics-api-mgr-access in the agnostics namespace, you can inject it into the agnostics_mgr_access this way:

using agnosticv-operator:
__meta__:
  secrets:
    - name: agnostics-api-mgr-access
      namespace: agnostics
      var: agnostics_mgr_access
using Anarchy Governor directly:
spec:
  varSecrets:
    - name: agnostics-api-mgr-access
      namespace: agnostics
      var: agnostics_mgr_access

The following output variables will be set using set_fact module.

Variable name example Purpose

agnostics_placement_cloud

openstack-orange

The name of the cloud