<p>I am trying to deploy sample spring microservice using AWS EKS. After creating cluster I tried to deploy to EKS cluster having one single worker node created with t2.small. While describing service , it shows that its deployed and running.While accessing end point through node's ip address and port ( node-ip-address:31821/cicd/load ) giving <code>This site can’t provide a secure connection</code> on browser.</p>
<p><strong>I am using t2.small Amazon Linux 2 single node (Only 1 worker node) in node group.</strong></p>
<p>My Docker file looks like the following,</p>
<pre><code>FROM openjdk:8
ADD target/cicdpipeline-0.0.1-SNAPSHOT.war cicdpipeline.war
EXPOSE 8085
ENTRYPOINT [&quot;java&quot;, &quot;-jar&quot;, &quot;cicdpipeline.war&quot;]
</code></pre>
<p>I am using following command in my deploy stage of jenkinsfile to make kubernetes deployment,</p>
<pre><code>kubectl apply -f deployment/deployment.yaml
kubectl apply -f deployment/service.yaml
</code></pre>
<p><strong>My deployment.yaml file,</strong></p>
<p><a href="https://i.stack.imgur.com/289f0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/289f0.png" alt="enter image description here" /></a></p>
<p><strong>My Service.yaml file like the following,</strong></p>
<p><a href="https://i.stack.imgur.com/CVJiq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CVJiq.png" alt="enter image description here" /></a></p>
<p><code>kubectl describe service pipelineservice</code> command gives the following result,</p>
<p><a href="https://i.stack.imgur.com/LRJT4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LRJT4.png" alt="enter image description here" /></a></p>
<p><code>kubectl describe pod</code> command giving the following results,</p>
<p><a href="https://i.stack.imgur.com/FULsF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FULsF.png" alt="enter image description here" /></a></p>
<p>Accessing Output using Node Ip address , port and end URL like <code>node-ip-address:31821/cicd/load</code> typing in browser.</p>
<p>NB:
1 Describe pod showing status with running state.</p>
<ol start="2">
<li>Security group for ec2 ( Node) is successfully added inbound rule to allow node ports</li>
</ol>
<p><a href="https://i.stack.imgur.com/4IM23.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4IM23.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/RKuTv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RKuTv.png" alt="enter image description here" /></a></p>
<p><strong>Update</strong></p>
<p>Warning while applying <code>kubectl describe pod</code>  command - <code>Warning FailedToRetrieveImagePullSecret Unable to retrieve some image pull secret (dhubauth) ; Attempting to pull the image may not suceed</code></p>
<p>Here I am just using 1 single worker node for learning purpose. And instance type t2.small. So is this pblm because of my instance type ? Or because of my YAML file issue?</p>
<p>I just started to explore EKS for my learning purpose using NodePort method witout using ELB and Ingress. Can anyone suggest where I went wrong here in implementation? Or Am I taking output in wrong way? suggest any documentation which can use to resolve this type of problem please?</p>

Mr.DevEng
<p>1.<code>This site can’t provide a secure connection</code>. This is a browser error and you are accessing the jenkins in <code>https</code> protocol. But, the jenkins is exposed in <code>http</code> protocol.</p>
<p>Since, You are accessing the application via Node IP which use http protocol. Please access the jenkins like below.(Make sure url prefixed with <code>http</code>)</p>
<pre><code>http://node-ip-address:31821/cicd/load
</code></pre>
<ol start="2">
<li><code>FailedToRetrieveImagePullSecret Unable to retrieve some image pull secret (dhubauth) ; Attempting to pull the image may not suceed</code></li>
</ol>
<p>If you are pulling image from private repository. You have to configure the ImagePullSecret. Please double check the ImagePullSecret is configured in kubernetes secret.</p>
<pre><code>kubectl get secret dhubauth
</code></pre>
<p>If the secret is not available please follow this document to create the secret.
<a href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/</a></p>
<ol start="3">
<li>You are trying to expose the jenkins application via NodePort. Please make sure your worker node(EC2 instance) is running in public subnet.</li>
</ol>
