Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once the terraform process is over, the test.sh script is run to validate the cluster set-up. If the setup was successful, the script must return the list of nodes.  During the terraform process, the config files are moved from the remote machines, both master and worker, to the local machine where terraform processes takes place. The test.sh script moves the master node's config file to ~/.kube/config. Then the 'kubectl get nodes -A' is executed to validate the cluster. 

                                                                       


CI/CD process :

The Jenkins freestyle job waits for events from the Gerrit-Event trigger plugin and initializes the terraform process. Once the process is done, a post-build task is used to push the build log to the nexus server. The following are the steps to set up the CI/CD job. 

...