Ansible or Terraform learning track for GitOps(ArgoCD)/Kubernetes

Team,
Good Day… I’m currently on the Kubernetes KNCA+CKA and GitOps certification track. I need quittances on which tool should I learn Ansible or Terraform. I really appreciate any feedback. Thanks Team

Ansible and Terraform are different tools used for different purposes. Ansible is used to manage and configure servers over SSH, while Terraform is used to provision servers in the cloud and maintain their state.

For Kubernetes, based on my experience, if you’re not using EKS, you can use Terraform to create and manage EC2 instances and then use Ansible with kubeadm to set up the Kubernetes cluster.