Friday, July 17, 2020

HowTo install k8s validate module in Ansible/CentOS7




In this blog post, let us see how to install k8s validate module for Ansible in CentOS 7

Pre-requisite:
  • CentOS 7 machine
  • access & permissions to install utilities/modules
Getting Started:
  • Take SSH connection to the CentOS 7 machine

Steps to install k8s validate module:
  • pip install kubernetes-validate is the ideal command to install the k8s validate module but at times the below error is raised from pip because of an incorrect referral to cache dir

  • Install by ignoring the cache dir using 'pip --no-cache-dir install kubernetes-validate' command to surpass the error above
  • now check the successful installation of kubernetes-validate module

No comments:

Post a Comment