Skip to content

Commit 5ae77c0

Browse files
authored
Merge pull request #96 from sassoftware/staging
3.6.0 - November 30, 2023
2 parents 772107d + 53740e3 commit 5ae77c0

26 files changed

+43
-113
lines changed

.github/workflows/linter-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Linter Analysis
22
on:
33
push:
4-
branches: [ '*' ] # '*' will cause the workflow to run on all commits to all branches.
4+
branches: [ '**' ] # '**' will cause the workflow to run on all commits to all branches, including those with path separators
55

66
jobs:
77
# Hadolint: Job-1

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ RUN apt-get update && apt-get upgrade -y --no-install-recommends \
88

99
# Layers used for building/downloading/installing tools
1010
FROM baseline as tool_builder
11-
ARG HELM_VERSION=3.12.0
12-
ARG KUBECTL_VERSION=1.26.7
13-
ARG TERRAFORM_VERSION=1.4.5-*
11+
ARG HELM_VERSION=3.13.2
12+
ARG KUBECTL_VERSION=1.26.10
13+
ARG TERRAFORM_VERSION=1.6.3-*
1414

1515
WORKDIR /build
1616

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ This project helps you to automate the cluster-provisioning phase of SAS Viya pl
1919
2020
[<img src="./docs/images/viya4-iac-k8s-diag.png" alt="Architecture Diagram" width="750"/>](./docs/images/viya4-iac-k8s-diag.png?raw=true)
2121

22-
To learn about all phases and options of the SAS Viya platform deployment process, see [Getting Started with SAS Viya and Open Source Kubernetes](https://go.documentation.sas.com/doc/en/itopscdc/default/itopscon/p1qungdpndaksyn156ng6duptma0.htm?fromDefault=) in _SAS&reg; Viya&reg; Platform Operations_.
22+
To learn about all phases and options of the SAS Viya platform deployment process, see [Getting Started with SAS Viya and Open Source Kubernetes](https://documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=itopscon&docsetTarget=p1qungdpndaksyn156ng6duptma0.htm) in _SAS&reg; Viya&reg; Platform Operations_.
2323

24-
Once the resources are provisioned, use the [viya4-deployment](https://github.com/sassoftware/viya4-deployment) project to deploy SAS Viya platform in your cloud environment. For more information about SAS Viya platform requirements and documentation for the deployment process, refer to [SAS Viya Platform Operations](https://go.documentation.sas.com/doc/en/itopscdc/default/itopswn/titlepage.htm).
24+
Once the resources are provisioned, use the [viya4-deployment](https://github.com/sassoftware/viya4-deployment) project to deploy SAS Viya platform in your cloud environment. For more information about SAS Viya platform requirements and documentation for the deployment process, refer to [SAS Viya Platform Operations](https://documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=itopswn&docsetTarget=titlepage.htm).
2525

2626
This project supports infrastructure that is built on **physical machines** ("bare metal" machines or Linux VMs) or on **VMware vSphere or vCenter** machines. If you need to create a cluster in [AWS](https://github.com/sassoftware/viya4-iac-aws), [Microsoft Azure](https://github.com/sassoftware/viya4-iac-azure/), or [GCP](https://github.com/sassoftware/viya4-iac-gcp/), use the appropriate SAS Viya IaC repository to perform the associated tasks.
2727

@@ -100,10 +100,10 @@ This project supports the following options for running the scripts in this repo
100100

101101
The following software is required in order to run the SAS Viya IaC tools here on your local system:
102102

103-
- [Terraform](https://www.terraform.io/downloads) - v1.4.5
104-
- [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) - v2.13.4
103+
- [Terraform](https://www.terraform.io/downloads) - v1.6.3
104+
- [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) - v2.15.6
105105
- [Docker](https://docs.docker.com/engine/install/) - v20.10.17
106-
- [Helm](https://helm.sh/docs/intro/install/) - v3.12.0
106+
- [Helm](https://helm.sh/docs/intro/install/) - v3.13.2
107107

108108
#### Docker Requirements
109109

TODO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Complete Container Registry Setup
2+
- Make updates to the `/systems/container_registry` role to fully set up a Harbor Registry for a user.

docs/CONFIG-VARS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Terraform input variables can be set in the following ways:
6969

7070
| Name | Description | Type | Default | Notes |
7171
| :--- | :--- | :--- | :--- | :--- |
72-
| cluster_version | Kubernetes version | string | "1.26.7" | Valid values are listed here: [SAS Viya platform Supported Kubernetes Versions](https://go.documentation.sas.com/doc/en/itopscdc/default/itopssr/n1ika6zxghgsoqn1mq4bck9dx695.htm#p03v0o4maa8oidn1awe0w4xlxcf6). |
72+
| cluster_version | Kubernetes version | string | "1.26.7" | Valid values are listed here: [SAS Viya platform Supported Kubernetes Versions](https://documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=itopssr&docsetTarget=n1ika6zxghgsoqn1mq4bck9dx695.htm#p03v0o4maa8oidn1awe0w4xlxcf6). |
7373
| cluster_cni | Kubernetes container network interface (CNI) | string | "calico" | |
7474
| cluster_cni_version | Kubernetes Container Network Interface (CNI) Version | string | "3.24.5" | |
7575
| cluster_cri | Kubernetes container runtime interface (CRI) | string | "containerd" | |
@@ -297,7 +297,7 @@ Each server element, like `foo = {}`, can contain none, some, or all of the para
297297
| server_memory | Memory in MB | number | 16385 | |
298298
| server_disk_size | Size of disk in GB | number | 250 | |
299299
| server_ip | Static IP address for PostgreSQL server | string | | This is a required field. |
300-
| server_version | The version of the PostgreSQL server | string | "13" | Refer to the [SAS Viya platform System Requirements](https://go.documentation.sas.com/doc/en/sasadmincdc/default/itopssr/p05lfgkwib3zxbn1t6nyihexp12n.htm?fromDefault=#p1wq8ouke3c6ixn1la636df9oa1u) for the supported versions of PostgreSQL for the SAS Viya platform. |
300+
| server_version | The version of the PostgreSQL server | string | "13" | Refer to the [SAS Viya platform System Requirements](https://documentation.sas.com/?cdcId=sasadmincdc&cdcVersion=default&docsetId=itopssr&docsetTarget=p05lfgkwib3zxbn1t6nyihexp12n.htm#p1wq8ouke3c6ixn1la636df9oa1u) for the supported versions of PostgreSQL for the SAS Viya platform. |
301301
| server_ssl | Enable/disable SSL | string | "off" | |
302302
| server_ssl_cert_file | Path to the PostgreSQL SSL certificate file | string | "" | If `server_ssl` is enabled and this variable is not defined, the system default SSL certificate is used. |
303303
| server_ssl_key_file | Path to the PostgreSQL SSL key file | string | "" | If `server_ssl` is enabled and this variable is not defined, the system default SSL key is used. |
@@ -311,7 +311,7 @@ Each server element, like `foo = {}`, can contain none, some, or all of the para
311311
- The Ansible tasks that are performed include copying the certificate and key from the PostgreSQL VM into your local workspace directory.
312312
2. If you are planning to use the [viya4-deployment repository](https://github.com/sassoftware/viya4-deployment) to perform a SAS Viya platform deployment where you have [full-stack TLS](https://github.com/sassoftware/viya4-deployment/blob/main/docs/CONFIG-VARS.md#tls) configured, make sure that the `V4_CFG_TLS_TRUSTED_CA_CERTS` variable in the viya4-deployment ansible-vars.yaml file points to a directory that contains the server_ssl_cert_file.
313313

314-
Multiple SAS offerings require a second PostgreSQL instance referred to as SAS Common Data Store, or CDS PostgreSQL. For more information, see [Common Customizations](https://go.documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=dplyml0phy0dkr&docsetTarget=n08u2yg8tdkb4jn18u8zsi6yfv3d.htm#p0wkxxi9s38zbzn19ukjjaxsc0kl). A list of SAS offerings that require CDS PostgreSQL is provided in [SAS Common Data Store Requirements](https://go.documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=itopssr&docsetTarget=p05lfgkwib3zxbn1t6nyihexp12n.htm#n03wzanutmc6gon1val5fykas9aa). To create and configure an external CDS PostgreSQL instance in addition to the external platform PostgreSQL instance named `default`, specify `cds-postgres` as a second PostgreSQL instance, as shown in the example below.
314+
Multiple SAS offerings require a second PostgreSQL instance referred to as SAS Common Data Store, or CDS PostgreSQL. For more information, see [Common Customizations](https://documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=dplyml0phy0dkr&docsetTarget=n08u2yg8tdkb4jn18u8zsi6yfv3d.htm#p0wkxxi9s38zbzn19ukjjaxsc0kl). A list of SAS offerings that require CDS PostgreSQL is provided in [SAS Common Data Store Requirements](https://documentation.sas.com/?cdcId=itopscdc&cdcVersion=default&docsetId=itopssr&docsetTarget=p05lfgkwib3zxbn1t6nyihexp12n.htm#n03wzanutmc6gon1val5fykas9aa). To create and configure an external CDS PostgreSQL instance in addition to the external platform PostgreSQL instance named `default`, specify `cds-postgres` as a second PostgreSQL instance, as shown in the example below.
315315

316316
Here is an example of the `postgres_servers` variable with the `default` server entry overriding only the `administrator_password` parameter and the `cds-postgres` entry overriding all the parameters:
317317

@@ -433,14 +433,14 @@ The following variables are used to describe the machine targets for the SAS Viy
433433
| Name | Description | Type | Notes |
434434
|:---|---:|---:|---:|
435435
| postgres_server_name | Name of the PostgreSQL server | string | |
436-
| postgres_server_version | The version of the PostgreSQL server | string | Refer to the [SAS Viya Platform Administration Guide](https://go.documentation.sas.com/doc/en/sasadmincdc/default/itopssr/p05lfgkwib3zxbn1t6nyihexp12n.htm?fromDefault=#p1wq8ouke3c6ixn1la636df9oa1u) for the supported versions of PostgreSQL for the SAS Viya platform. |
436+
| postgres_server_version | The version of the PostgreSQL server | string | Refer to the [SAS Viya Platform Administration Guide](https://documentation.sas.com/?cdcId=sasadmincdc&cdcVersion=default&docsetId=itopssr&docsetTarget=p05lfgkwib3zxbn1t6nyihexp12n.htm#p1wq8ouke3c6ixn1la636df9oa1u) for the supported versions of PostgreSQL for the SAS Viya platform. |
437437
| postgres_server_ssl | Enable/disable SSL | string | Specify `off` or `on` |
438438
| postgres_server_ssl_cert_file | Path to the PostgreSQL SSL certificate file | string | If `postgres_server_ssl` is enabled and this variable is not defined, the system default SSL certificate is used. |
439439
| postgres_server_ssl_key_file | Path to the PostgreSQL SSL key file | string | If `postgres_server_ssl` is enabled and this variable is not defined, the system default SSL key is used. |
440440
| postgres_administrator_login | PostgreSQL admin user | string | |
441441
| postgres_administrator_password | PostgreSQL admin password | string | |
442-
| postgres_system_setting_max_prepared_transactions | Allows you to configure the `max_prepared_transactions` setting for your PostgreSQL Server | string | If not defined in your inventory file, the value 1024 will automatically be configured as per the [SAS Viya Platform PG tuning requirements](https://go.documentation.sas.com/doc/en/sasadmincdc/default/caltuning/n0adso3frm5ioxn1s2kwa4vbm9db.htm#n03n7868gd4m83n1azbziv4hiozb) |
443-
| postgres_system_setting_max_connections | Allows you to configure the `max_connections` setting for your PostgreSQL Server | string | If not defined in your inventory file, the value 1024 will automatically be configured as per the [SAS Viya Platform PG tuning requirements](https://go.documentation.sas.com/doc/en/sasadmincdc/default/caltuning/n0adso3frm5ioxn1s2kwa4vbm9db.htm#n03n7868gd4m83n1azbziv4hiozb) |
442+
| postgres_system_setting_max_prepared_transactions | Allows you to configure the `max_prepared_transactions` setting for your PostgreSQL Server | string | If not defined in your inventory file, the value 1024 will automatically be configured as per the [SAS Viya Platform PG tuning requirements](https://documentation.sas.com/?cdcId=sasadmincdc&cdcVersion=default&docsetId=caltuning&docsetTarget=n0adso3frm5ioxn1s2kwa4vbm9db.htm#n03n7868gd4m83n1azbziv4hiozb) |
443+
| postgres_system_setting_max_connections | Allows you to configure the `max_connections` setting for your PostgreSQL Server | string | If not defined in your inventory file, the value 1024 will automatically be configured as per the [SAS Viya Platform PG tuning requirements](https://documentation.sas.com/?cdcId=sasadmincdc&cdcVersion=default&docsetId=caltuning&docsetTarget=n0adso3frm5ioxn1s2kwa4vbm9db.htm#n03n7868gd4m83n1azbziv4hiozb) |
444444

445445

446446
## Storage

docs/REQUIREMENTS.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,6 @@ nfs_memory = 16384 # 16 GB
367367
nfs_disk_size = 500 # 500 GB
368368
nfs_ip = "10.18.0.12" # Assigned values for static IPs
369369
370-
# Container Registry
371-
create_cr = false # Creation flag
372-
cr_num_cpu = 4 # 4 CPUs
373-
cr_memory = 8092 # 8 GB
374-
cr_disk_size = 250 # 250 GB
375-
cr_ip = "10.18.0.13" # Assigned values for static IPs
376-
377370
# PostgreSQL server
378371
#
379372
# Suggested server specs shown below.
@@ -634,9 +627,6 @@ jump_ip : ""
634627
# NFS Server
635628
nfs_ip : ""
636629

637-
# Container Registry
638-
cr_ip : ""
639-
640630
# PostgreSQL Servers
641631
```
642632

@@ -681,7 +671,7 @@ The third-party applications that are listed in the following table are supporte
681671

682672
| Application | Minimum Version |
683673
| ---: | ---: |
684-
| [Ansible](https://www.ansible.com/) | Core 2.13.4 |
685-
| [Terraform](https://www.terraform.io/) | 1.4.5 |
674+
| [Ansible](https://www.ansible.com/) | Core 2.15.6 |
675+
| [Terraform](https://www.terraform.io/) | 1.6.3 |
686676
| [Docker](https://www.docker.com/) | 20.10.17 |
687-
| [Helm](https://helm.sh/) | 3.12.0 |
677+
| [Helm](https://helm.sh/) | 3.13.2 |

examples/bare-metal/sample-ansible-vars.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,3 @@ jump_ip : ""
141141

142142
# NFS Server
143143
nfs_ip : ""
144-
145-
# Container Registry
146-
cr_ip : ""

examples/bare-metal/sample-inventory

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@ FIXME - ENTER YOUR NFS SERVER IP/FQDN HERE!
4949
[nfs:children]
5050
nfs_server
5151

52-
#
53-
# Container Registry
54-
#
55-
[cr_server]
56-
FIXME - ENTER YOUR CR SERVER IP/FQDN HERE!
57-
58-
#
59-
# Container Registry - alias - DO NOT MODIFY
60-
#
61-
[cr:children]
62-
cr_server
63-
6452
#
6553
# Postgres Servers
6654
#

examples/bare-metal/sample-inventory-internal-postgres

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,6 @@ FIXME - ENTER YOUR NFS SERVER IP/FQDN HERE!
5353
[nfs:children]
5454
nfs_server
5555

56-
#
57-
# Container Registry
58-
#
59-
[cr_server]
60-
FIXME - ENTER YOUR CR SERVER IP/FQDN HERE!
61-
62-
#
63-
# Container Registry - alias - DO NOT MODIFY
64-
#
65-
[cr:children]
66-
cr_server
67-
6856
#
6957
# All systems
7058
#

examples/vsphere/sample-terraform-dhcp.tfvars

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ nfs_memory = 16384 # 16 GB
189189
nfs_disk_size = 500 # 500 GB
190190
nfs_ip = "" # Assigned values for static IPs
191191

192-
# Container Registry
193-
create_cr = false # Creation flag
194-
cr_num_cpu = 4 # 4 CPUs
195-
cr_memory = 8092 # 8 GB
196-
cr_disk_size = 250 # 250 GB
197-
cr_ip = "" # Assigned values for static IPs
198-
199192
# Postgres Servers
200193
postgres_servers = {
201194
default = {

0 commit comments

Comments
 (0)