How sassoftware/viya4-deployment works
This Ansible project prepares an existing Kubernetes environment, assembles a SAS Viya deployment manifest, and deploys it. The primary workflow starts with operator-supplied deployment inputs, proceeds through cluster preparation and deployment configuration, then applies the platform to Kubernetes. Separate capabilities cover multi-tenancy, multi-zone distribution, and SingleStore. The graph reflects README-documented capabilities and source paths in the tree; sampled source is limited to three helper modules, so internal role-to-role calls are not asserted.
Main entry points: tasks/main.yaml Viya deployment workflow · playbook.yaml Deployment playbook · tasks/main.yaml Cluster baseline · deploy.yaml Kubernetes deployment
Components 22
Deployment entry
- Deployment playbook
playbooks/playbook.yaml
Cluster preparation
- Cluster baseline
roles/baseline/tasks/main.yaml - Ingress controller
roles/baseline/tasks/contour.yaml - NFS provisioning
roles/baseline/tasks/nfs-csi-provisioner.yaml - Storage classes
roles/baseline/tasks/storage-classes.yaml - Certificate management
roles/baseline/tasks/cert-manager.yaml
Viya deployment
- Viya deployment workflow
roles/vdm/tasks/main.yaml - Deployment assets
roles/vdm/tasks/assets.yaml - Manifest generation
roles/vdm/tasks/kustomize.yaml - Kubernetes deployment
roles/vdm/tasks/deploy.yaml - PostgreSQL setup
roles/vdm/tasks/postgres/postgres.yaml - CAS configuration
roles/vdm/tasks/cas.yaml
Deployment extensions
- Multi-tenancy
roles/multi-tenancy/tasks/main.yaml - Multi-zone distribution
roles/vdm/tasks/multi_zone_distribution.yaml - Istio integration
roles/istio/tasks/main.yml - Jump server management
roles/jump-server/tasks/main.yml - SingleStore deployment
roles/vdm/tasks/deploy.yaml
Internal helpers
- Terraform state lookup
roles/common/lookup_plugins/tfstate.py - Site-config discovery
roles/vdm/library/siteconfig_info.py - Overlay selection
roles/vdm/library/overlay_facts.py
Other components
- Operator
- Kubernetes cluster
Connections 21
- Operator → Deployment playbook: runs
README.md - Deployment playbook → Cluster baseline: prepares cluster
- Cluster baseline → Ingress controller: configures ingress
- Cluster baseline → NFS provisioning: sets up NFS
- Cluster baseline → Storage classes: manages classes
- Cluster baseline → Certificate management: sets up TLS
- Deployment playbook → Viya deployment workflow: deploys Viya
- Viya deployment workflow → Deployment assets: retrieves assets
README.md - Viya deployment workflow → Terraform state lookup: reads cloud state
- Viya deployment workflow → Site-config discovery: discovers overlays
- Viya deployment workflow → Overlay selection: selects overlays
- Viya deployment workflow → Manifest generation: generates manifest
README.md - Viya deployment workflow → Kubernetes deployment: deploys order
README.md - Kubernetes deployment → Kubernetes cluster: applies manifests
README.md - Viya deployment workflow → PostgreSQL setup: configures PostgreSQL
- Viya deployment workflow → CAS configuration: configures CAS
- Viya deployment workflow → Multi-tenancy: supports tenant setup
- Viya deployment workflow → Multi-zone distribution: supports zone distribution
- Deployment playbook → Istio integration: supports Istio
- Deployment playbook → Jump server management: manages jump server
- Viya deployment workflow → SingleStore deployment: supports deployment