<p>Currently I am trying to implement CI/CD pipeline using the DevOps automation tools like Jenkins and kubernetes. And I am using these for deploying my micro services creates using spring boot and maven projects.</p>

<p>Now I am successfully deployed my spring boot micro services using Jenkins and Kubernetes. I am deployed to different namespaces using kubernetes. When I am committing , one post commit hook will work from my SVN repository. And that post commit hook will trigger the Jenkins Job.</p>

<p><strong>My Confusion</strong></p>

<p>When I am implementing the CI/CD pipeline , I read about the implementation of feed back loops in pipeline. Here I had felt the confusion that , If I need to use the implementation of Feedback Loops then which are the different ways that I can follow here ?</p>

<p><strong>Can anyone suggest me to find out any useful documentations/tutorials  for implementing the feed back loops in CI/CD pipeline please?</strong></p>

Mr.DevEng
<p>The method of getting deployment feedback depends on your service and your choice.
For example, you can check if the container is up or check one of the rest URL.   </p>

<p>I use this stage as a final stage to check the service:  </p>

<pre><code> stage('feedback'){
        sleep(time:10,unit:"SECONDS")
        def get = new URL("192.168.1.1:8080/version").openConnection();
        def getRC = get.getResponseCode();
        println(getRC);
        if(getRC.equals(200)) {
            println(get.getInputStream().getText());
        }
        else{
            error("Service is not started yet.")  
        }
    }
</code></pre>

<p>Jenkins can notify users about failed tests(jobs) with sending email or json notify. read more:
<a href="https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin" rel="noreferrer">https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin</a><br>
<a href="https://wiki.jenkins.io/display/JENKINS/Notification+Plugin" rel="noreferrer">https://wiki.jenkins.io/display/JENKINS/Notification+Plugin</a><br>
<a href="https://wiki.jenkins.io/display/JENKINS/Slack+Plugin" rel="noreferrer">https://wiki.jenkins.io/display/JENKINS/Slack+Plugin</a>  </p>

<p>If you want continuous monitoring for the deployed product, you need <strong>monitoring tools</strong> which are different from Jenkins.</p>

<p>This is a sample picture for some popular tools of each part of DevOps:
<a href="https://i.stack.imgur.com/gTHxn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gTHxn.png" alt="enter image description here"></a></p>
