sassoftware / sas-container-recipes

A collection of recipes and other resources for building containers that include SAS Viya software.
https://www.sas.com
Apache License 2.0
89 stars 42 forks source link

WIP: Cloud Provider Docs, Cloud Provider Fixes, Build Status Progress Bars #30

Closed Collinux closed 2 years ago

Collinux commented 5 years ago

I started doing deployments to Amazon Web Services, Google Cloud Platform, and Azure. There are several fixes in this PR that resolve issues across these three cloud providers. I included documentation on how to use Cloud Registries (ECR, GCR, ACR) and Kubernetes providers (EKS, GKE, AKS). The rendered markdown file can be found here: https://github.com/sassoftware/sas-container-recipes/blob/19m06-dev/docs/wiki/Using-Kubernetes-Providers.md

This PR also includes progress bars that display the status of each container. Progress bars are displayed in all deployment types: single, multiple, and full. The container's "STATUS" column goes from Loading --> Loaded --> Building --> Built --> Pushing --> Pushed --> DONE

Single deployment type:

NAME                    STATUS                                                                 LAYER
single-programming-only Building [==========================>_______________________________]  14/25

Multiple deployment type:

NAME                  STATUS                                                                 LAYER
httpproxy             Building [===================================>______________________]  12/19
sas-casserver-primary Building [=============================>____________________________]  11/21
programming           Building [==========================>_______________________________]  11/23

Full deployment type:

NAME                       STATUS                                                                 LAYER
sasdatasvrc                Building [=======================================>__________________]  13/19
configuratn                Building [=====================================>____________________]  13/20
casservices                Building [=====================================>____________________]  13/20
cognitivecomputingservices Building [=====================================>____________________]  13/20
pgpoolc                    Building [==================================>_______________________]  12/20
computeservices            Building [==================================>_______________________]  12/20
coreservices               Building [=====================================>____________________]  13/20
datamining                 Building [=====================================>____________________]  13/20
dataservices               Building [=====================================>____________________]  13/20
graphbuilderservices       Building [=====================================>____________________]  13/20
homeservices               Building [=====================================>____________________]  13/20
modelservices              Building [=====================================>____________________]  13/20
advancedanalytics          Building [=====================================>____________________]  13/20
operations                 Building [==================================>_______________________]  12/20
reportviewerservices       Building [==================================>_______________________]  12/20
programming                Building [========================>_________________________________]  11/25
studioviya                 Building [=====================================>____________________]  13/20
themeservices              Building [=====================================>____________________]  13/20
scoringservices            Building [=====================================>____________________]  13/20
adminservices              Building [=====================================>____________________]  13/20
httpproxy                  Building [================================>_________________________]  12/21
computeserver              Building [================================>_________________________]  12/21
rabbitmq                   Building [================================>_________________________]  12/21
sas-casserver-primary      Building [=============================>____________________________]  12/23
reportservices             Building [=====================================>____________________]  13/20

When a container reaches the DONE status then the image size will display on the right hand side.

NAME                      STATUS                                                                  LAYER
sasdatasvrc                DONE     [==========================================================]  19/19 (0.77 GB)
pgpoolc                    DONE     [==========================================================]  20/20 (1.15 GB)
casservices                DONE     [==========================================================]  20/20 (1.27 GB)
cognitivecomputingservices DONE     [==========================================================]  20/20 (1.41 GB)
computeserver              DONE     [==========================================================]  20/20 (17.32 GB)
coreservices               DONE     [==========================================================]  20/20 (2.50 GB)
datamining                 DONE     [==========================================================]  20/20 (1.25 GB)
dataservices               DONE     [==========================================================]  20/20 (2.72 GB)
graphbuilderservices       DONE     [==========================================================]  20/20 (1.06 GB)
modelservices              DONE     [==========================================================]  20/20 (1.12 GB)
operations                 DONE     [==========================================================]  20/20 (5.08 GB)
advancedanalytics          DONE     [==========================================================]  20/20 (1.68 GB)
homeservices               DONE     [==========================================================]  20/20 (1.77 GB)
computeservices            DONE     [==========================================================]  20/20 (1.16 GB)
reportservices             DONE     [==========================================================]  20/20 (2.18 GB)
adminservices              DONE     [==========================================================]  20/20 (2.23 GB)
themeservices              DONE     [==========================================================]  20/20 (1.19 GB)
scoringservices            DONE     [==========================================================]  20/20 (1.10 GB)
consul                     DONE     [==========================================================]  28/28 (1.09 GB)
reportviewerservices       DONE     [==========================================================]  20/20 (2.60 GB)
configuratn                DONE     [==========================================================]  20/20 (1.01 GB)
studioviya                 DONE     [==========================================================]  20/20 (1.20 GB)
rabbitmq                   DONE     [==========================================================]  21/21 (1.07 GB)
sas-casserver-primary      DONE     [==========================================================]  23/23 (4.67 GB)
programming                DONE     [==========================================================]  25/25 (17.70 GB)
consul                     DONE     [==========================================================]  28/28 (1.09 GB)