Skip to content

Latest commit

 

History

History
216 lines (168 loc) · 14.8 KB

CONFIG-VARS.md

File metadata and controls

216 lines (168 loc) · 14.8 KB

List of valid configuration variables

Supported configuration variables are listed in the table below. All variables can also be specified on the command line. Values specified on the command line will override all values in configuration defaults files.

Cloud info

Name Description Type Default Required Notes Actions
PROVIDER Cloud provider string true [aws,azure,gcp,custom] baseline, viya
CLUSTER_NAME Name of the k8s cluster string true baseline, viya
NAMESPACE K8s namespace in which to deploy string true baseline, viya, viya-monitoring

BASE

Name Description Type Default Required Notes Actions
DEPLOY Whether to deploy or stop at generating kustomize and manifest bool true false viya
LOADBALANCER_SOURCE_RANGES IPs to allow to ingress [string] true When deploying in the cloud, be sure to add the cloud nat ip baseline, viya
BASE_DIR Path to store persistent files string $HOME false all
KUBECONFIG Path to kubeconfig file string true viya
V4_CFG_SITEDEFAULT Path to sitedefault file string false When not set sitedefault is used viya
V4_CFG_SSSD Path to sssd file string false viya

Jump Server

Name Description Type Default Required Notes Actions
JUMP_SVR_HOST ip/fqn to the jump host string true Tool uses the jump server to interact with nfs storage. baseline, viya
JUMP_SVR_USER ssh user to access the jump host string true Tool uses the jump server to interact with nfs storage. baseline, viya
JUMP_SVR_PRIVATE_KEY Path to ssh user private key to access the jump host string true Tool uses the jump server to interact with nfs storage. baseline, viya

Storage

Name Description Type Default Required Notes Actions
V4_CFG_MANAGE_STORAGE Should the tool manage the storageclass bool true false Set to false if you wish to manage the storage class baseline, viya
V4_CFG_STORAGECLASS Storageclass name string "sas" false When V4_CFG_MANAGE_STORAGE is false, set to the name of your preexisting storage class that supports ReadWriteMany all

NFS

Name Description Type Default Required Notes Actions
V4_CFG_NFS_SVR_HOST NFS ip/host string false baseline, viya
V4_CFG_NFS_SVR_PATH NFS export path string /export false baseline, viya
V4_CFG_NFS_ASTORES_PATH NFS path to astores dir string <V4_CFG_NFS_SVR_PATH>/<NAMESPACE>/astores false viya
V4_CFG_NFS_BIN_PATH NFS path to bin dir string <V4_CFG_NFS_SVR_PATH>/<NAMESPACE>/bin false viya
V4_CFG_NFS_DATA_PATH NFS path to data dir string <V4_CFG_NFS_SVR_PATH>/<NAMESPACE>/data false viya
V4_CFG_NFS_HOMES_PATH NFS path to homes dir string <V4_CFG_NFS_SVR_PATH>/<NAMESPACE>/homes false viya

Azure

When setting V4_CFG_MANAGE_STORAGE to true, A new storage classes will be created: sas (Azure Netapp or NFS)

AWS

When setting V4_CFG_MANAGE_STORAGE to true, the efs-provisioner will be deployed. A new storage classes will be created: sas (EFS or NFS)

Name Description Type Default Required Notes Actions
V4_CFG_EFS_FSID AWS EFS FSID string false Required for AWS deploys baseline, viya
V4_CFG_EFS_REGION AWS EFS Region string false Required for AWS deploys baseline, viya

GCP

When setting V4_CFG_MANAGE_STORAGE to true, A new storage classes will be created: sas (Google Filestore or NFS)

Order

Name Description Type Default Required Notes Actions
V4_CFG_ORDER_NUMBER SAS order number string true viya
V4_CFG_CADENCE_NAME Cadence name string lts false [stable,lts] viya
V4_CFG_CADENCE_VERSION Cadence version string 2020.1 true viya
V4_CFG_DEPLOYMENT_ASSETS Path to pre-downloaded deployment assets string false Leave blank to download deployment assets viya
V4_CFG_LICENSE Path to pre-downloaded license file string false Leave blank to download license file viya

SAS API Access

Name Description Type Default Required Notes Actions
V4_CFG_SAS_API_KEY SAS API Key string true API credentials can be obtained from the SAS API Portal viya
V4_CFG_SAS_API_SECRET SAS API Secret string true API credentials can be obtained from the SAS API Portal viya

Container Registry Access

Name Description Type Default Required Notes Actions
V4_CFG_CR_USER Container registry username string true viya
V4_CFG_CR_PASSWORD Container registry password string true viya
V4_CFG_CR_URL Container registry server string https://cr.sas.com false viya

Ingress

Name Description Type Default Required Notes Actions
V4_CFG_INGRESS_TYPE Which ingress to deploy string true [ingress] baseline, viya
V4_CFG_INGRESS_FQDN FQDN to for viya installation string true viya

Monitoring and Logging

Name Description Type Default Required Notes Actions
V4M_VERSION Branch or tag of viya4-monitoring-kubernetes to download string master false cluster-logging, cluster-monitoring, viya-monitoring
V4M_BASE_DOMAIN Base domain in which subdomains for elasticsearch, kibana, grafana, prometheus and alertmanager will be created string false This or the per service fqdn's must be set cluster-logging, cluster-monitoring, viya-monitoring
V4M_CERT Path to tls certificate to use for all monitoring/logging services string false Alternately you can set the per service cert cluster-logging, cluster-monitoring, viya-monitoring
V4M_KEY Path to tls key to use for all monitoring/logging services string false Alternately you can set the per service cert cluster-logging, cluster-monitoring, viya-monitoring

Monitoring

Name Description Type Default Required Notes Actions
V4M_PROMETHEUS_FQDN FQDN to use for prometheus ingress string prometheus.<V4M_BASE_DOMAIN> false cluster-monitoring
V4M_PROMETHEUS_CERT Path to tls certificate to use for prometheus ingress string <V4M_CERT> false If both this and V4M_CERT are not set a self-signed cert will be used cluster-monitoring
V4M_PROMETHEUS_KEY Path to tls key to use for prometheus ingress string <V4M_KEY> false If both this and V4M_KEY are not set a self-signed cert will be used cluster-monitoring
V4M_GRAFANA_FQDN FQDN to use for grafana ingress string grafana.<V4M_BASE_DOMAIN> false cluster-monitoring
V4M_GRAFANA_CERT Path to tls certificate to use for grafana ingress string <V4M_CERT> false If both this and V4M_CERT are not set a self-signed cert will be used cluster-monitoring
V4M_GRAFANA_KEY Path to tls key to use for grafana ingress string <V4M_KEY> false If both this and V4M_KEY are not set a self-signed cert will be used cluster-monitoring
V4M_ALERTMANAGER_FQDN FQDN to use for alertmanager ingress string alertmanager.<V4M_BASE_DOMAIN> false cluster-monitoring
V4M_ALERTMANAGER_CERT Path to tls certificate to use for alertmanager ingress string <V4M_CERT> false If both this and V4M_CERT are not set a self-signed cert will be used cluster-monitoring
V4M_ALERTMANAGER_KEY Path to tls key to use for alertmanager ingress string <V4M_KEY> false If both this and V4M_KEY are not set a self-signed cert will be used cluster-monitoring

Logging

Name Description Type Default Required Notes Actions
V4M_KIBANA_FQDN FQDN to use for kibana ingress string kibana.<V4M_BASE_DOMAIN> false cluster-logging
V4M_KIBANA_CERT Path to tls certificate to use for kibana ingress string <V4M_CERT> false If both this and V4M_CERT are not set a self-signed cert will be used cluster-logging
V4M_KIBANA_KEY Path to tls key to use for kibana ingress string <V4M_KEY> false If both this and V4M_KEY are not set a self-signed cert will be used cluster-logging
V4M_ELASTICSEARCH_FQDN FQDN to use for elasticsearch ingress string elasticsearch.<V4M_BASE_DOMAIN> false cluster-logging
V4M_ELASTICSEARCH_CERT Path to tls certificate to use for elasticsearch ingress string <V4M_CERT> false If both this and V4M_CERT are not set a self-signed cert will be used cluster-logging
V4M_ELASTICSEARCH_KEY Path to tls key to use for elasticsearch ingress string <V4M_KEY> false If both this and V4M_KEY are not set a self-signed cert will be used cluster-logging

TLS

Name Description Type Default Required Notes Actions
V4_CFG_TLS_MODE Which TLS mode to configure string front-door false Valid values are full-stack, front-door and disabled. When deploying full-stack you must set V4_CFG_TLS_TRUSTED_CA_CERTS to trust external postgres server ca all
V4_CFG_TLS_CERT Path to ingress certificate file string false If specified, used instead of cert-manager issued certificates viya
V4_CFG_TLS_KEY Path to ingress key file string false Required when V4_CFG_TLS_CERT is specified viya
V4_CFG_TLS_TRUSTED_CA_CERTS Path to directory containing only PEM encoded trusted CA certificates files string false Required when V4_CFG_TLS_CERT is specified. Must include all the CAs in the trust chain for V4_CFG_TLS_CERT. Can be used with or without V4_CFG_TLS_CERT to specify any additionally trusted CAs viya

Cert-manager

When setting V4_CFG_TLS_MODE to a value other than "disabled" and no V4_CFG_TLS_CERT is specified, cert-manager will be used to issue TLS certificates and the following variables can be set to modify cert-manager behavior:

Name Description Type Default Required Notes Actions
V4_CFG_CM_CERTIFICATE_DURATION Certificate time to expiry in hours string 17531h false viya
V4_CFG_CM_CERTIFICATE_ADDITIONAL_SAN_DNS A list of space separated, additional SAN DNS entries, specific to your ingress architecture, that you want added to certificates issued by the sas-viya-issuer. For example, the aliases of an external load balancer string false viya
V4_CFG_CM_CERTIFICATE_ADDITIONAL_SAN_IP A list of space separated, additional SAN IP addresses, specific to your ingress architecture, that you want added to certificates issued by the sas-viya-issuer. For example, the IP address of an external load balancer string false viya

Postgres

Name Description Type Default Required Notes Actions
V4_CFG_POSTGRES_TYPE Postgres installation type string true [internal,external] viya

External Postgres

Name Description Type Default Required Notes Actions
V4_CFG_POSTGRES_ADMIN_LOGIN Existing postgres username string true viya
V4_CFG_POSTGRES_PASSWORD Existing postgres password string true viya
V4_CFG_POSTGRES_FQDN Existing postgres ip/fqdn string true viya
V4_CFG_POSTGRES_PORT Existing postgres port string 5432 false viya
V4_CFG_POSTGRES_DATABASE Existing postgres database name string "SharedServices" false viya

LDAP / Consul

Name Description Type Default Required Notes Actions
V4_CFG_EMBEDDED_LDAP_ENABLE Deploy openldap in the namespace for authentication bool false false Openldap Config viya
V4_CFG_CONSUL_ENABLE_LOADBALANCER Setup LB to access consul ui bool false false Consul ui port is 8500 viya

CAS

Name Description Type Default Required Notes Actions
V4_CFG_CAS_RAM Amount of ram to allocate to per CAS node string false Numeric value followed by the units, such as 32Gi for 32 gigabytes. In Kubernetes, the units for gigabytes is Gi. Leave empty to enable auto-resource assignment viya
V4_CFG_CAS_CORES Amount of cpu cores to allocate per CAS node string false Either a whole number, representing that number of cores, or a number followed by m, indicating that number of milli-cores. Leave empty to enable auto-resource assignment viya
V4_CFG_CAS_WORKER_COUNT Number of CAS workers int 1 false Setting to more than one triggers MPP deployment viya
V4_CFG_CAS_ENABLE_BACKUP_CONTROLLER Enable backup cas controller bool false false viya
V4_CFG_CAS_ENABLE_LOADBALANCER Setup LB to access CAS binary ports bool false false viya

CONNECT

Name Description Type Default Required Notes Actions
V4_CFG_CONNECT_ENABLE_LOADBALANCER Setup LB to access SAS/CONNECT bool false false viya
V4_CFG_CONNECT_FQDN FQDN that will be assigned to access SAS/CONNECT string false Required when V4_CFG_TLS_MODE is not disabled and cert-manager is used to issue TLS certificates. This FQDN will be added to the SAN DNS list of the issued certificates. viya