docs-csm icon indicating copy to clipboard operation
docs-csm copied to clipboard

CASMPET-7201 update IUF workflows for k8s 1.24 in CSM 1.6

Open leliasen-hpe opened this issue 6 months ago • 0 comments

Description

This PR updates IUF workflows for k8s 1.24 in CSM 1.6. There are two changes included in this PR.

  1. Add 'node-role.kubernetes.io/control-plane' toleration to argo workflows so that these workflows can be scheduled on master nodes. Without this toleration, these workflows are not able to be scheduled.
  2. Have the iufBase.template.argo.yaml create an API token for the serviceaccount/default in the argo namespace. This change is needed because in k8s 1.24, service account tokens are not created automatically.

I updated this on Fanta and saw that IUF workflow pods were able to be scheduled on master nodes. I also ran the kubectl-and-curl-template and saw that CSI commands work when the token is gotten by using the command 'kubectl -n argo create token default'. This change is backwards compatible.

Checklist

  • [x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
  • [x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
  • [x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

leliasen-hpe avatar Aug 19 '24 21:08 leliasen-hpe