This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
70
stars
64
forks
source link
fix: (IAC-939) Prevent metrics-server Tasks From Running on Non-AWS Clusters #423
Update the metrics server task so that the tasks will only be included if the provider value is set to "aws". The Remove metrics-server server task has also been updated so that it is now also controlled by the METRICS_SERVER_ENABLED variable, if set to false this task can be skipped.
Tests
Ran through the following tests, see internal ticket for additional details.
Scenario
Provider
K8s Version
Order
Cadence
METRICS_SERVER_ENABLED
Process
Notes
1
OSS-VMWare
v1.25.6
**
fast:2020
unset (defaults to TRUE)
viya,baseline,install -> viya,baseline,uninstall
The metrics-server installed by viya4-iac-k8s was not modified
Changes
Update the metrics server task so that the tasks will only be included if the provider value is set to "aws". The
Remove metrics-server
server task has also been updated so that it is now also controlled by theMETRICS_SERVER_ENABLED
variable, if set to false this task can be skipped.Tests
Ran through the following tests, see internal ticket for additional details.