sassoftware / viya4-deployment

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
71 stars 64 forks source link

K8s v1.19.9 is Out of Support for Azure #168

Closed andybouts closed 2 years ago

andybouts commented 2 years ago

K8s v1.19.9 is out of support for Azure; v1.20.9 is their current default, and they have v1.22.2 in preview.

The prereq page indicates a requirement for 1.19.9.

I seem to be able to get a IAC and Deployment to run with v1.19.11.

The IAC will build with v.1.20.9, but the Deployment will fail:

TASK [monitoring : cluster-monitoring - deploy] ********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/tmp/ansible.guo067c2/viya4-monitoring-kubernetes/monitoring/bin/deploy_monitoring_cluster.sh"], "delta": "0:00:01.368033", "end": "2021-11-17 15:21:42.859281", "msg": "non-zero return code", "rc": 2, "start": "2021-11-17 15:21:41.491248", "stderr": "", "stderr_lines": [], "stdout": "User directory: /tmp/ansible.guo067c2\nHelm client version: 3.7.1\nKubernetes client version: v1.19.9\nKubernetes server version: v1.20.9\n\nnamespace/monitoring created", "stdout_lines": ["User directory: /tmp/ansible.guo067c2", "Helm client version: 3.7.1", "Kubernetes client version: v1.19.9", "Kubernetes server version: v1.20.9", "", "namespace/monitoring created"]}

PLAY RECAP *********************************************************************
localhost                  : ok=43   changed=11   unreachable=0    failed=1    skipped=37   rescued=0    ignored=0
thpang commented 2 years ago

This is an error the monitoring and logging team are working on that item is in this repo: https://github.com/sassoftware/viya4-monitoring-kubernetes So if you can pass the error along there.

If you have an issue with the v1.19.9 I can fix that. Please adjust the information here. Thx.

andybouts commented 2 years ago

I was able to deploy with K8s v1.20.09 by removing the cluster-monitoring from the deploy command. This will work for the interim until the monitoring app will support with a higher K8s version.

PS, I also tested by using K8s v1.19.11, which exceeds the requirements listed in the link above, but is allowed by Azure and it also failed.

Closing issue.

andybouts commented 2 years ago

New issue logged, https://github.com/sassoftware/viya4-monitoring-kubernetes/issues/229

BryanEllington commented 2 years ago

The monitoring deployment issue has been fixed with our 1.1.1 release.