Deployment Methods

SAS software is packaged as container images that are deployed to a Kubernetes cluster. To automate future software updates and to meet the needs of your environment, SAS provides alternative deployment methods.

Deployment Methods

Method

Description

Documentation Notes

Use the SAS Viya Platform Deployment Operator (deployment operator)

A Kubernetes operator is used to automate the deployment process. This method is useful for updating multiple deployments of the same cadence version within the same cluster.

  • The operator watches for declarative representations of SAS deployments in the form of SASDeployment custom resources (CR). Deployment occurs when the SASDeployment CR is applied to the cluster.
  • Updates by cadence version can be set up to deploy automatically.
  • The deployment operator runs inside the cluster with an account that is defined in the cluster.

The instructions for using the deployment operator are in SAS Viya Platform: Deployment Guide.

Use the sas-orchestration command

A Docker image, sas-orchestration, is used to automate the deployment process from outside the cluster.

  • A command is run to deploy the software with the sas-orchestration image. The command runs outside the cluster with a user account specified in your kubeconfig file. Also, the user session that invokes the deployment from the external CLI automatically exits when the deployment has completed.
  • Updates are not performed automatically, but you can run the command again and specify a target cadence version.

The instructions for using the sas-orchestration command are in SAS Viya Platform: Deployment Guide.

Run Kubernetes commands

The kubectl apply command is run from a command line to deploy the software. This method provides the most flexibility for the integration of automation tooling.

The instructions for using the Kubernetes commands are in SAS Viya Platform: Deployment Guide.

Use the SAS Viya 4 Deployment GitHub project

Ansible code is used to create a baseline in an existing Kubernetes environment for use with the SAS Viya platform, to generate the manifest for the software order, and to deploy the software.

Use of this project is not supported for Anthos Clusters on VMware or Red Hat OpenShift.

To learn more, see the GitHub project:

http://github.com/sassoftware/viya4-deployment

Last updated: November 29, 2023