<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: NickR</title>
    <description>The latest articles on DEV Community by NickR (@yesinteractive).</description>
    <link>https://dev.to/yesinteractive</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F326482%2Ff13502a0-fe16-4c2a-ba20-a7ac79b40f8f.png</url>
      <title>DEV Community: NickR</title>
      <link>https://dev.to/yesinteractive</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yesinteractive"/>
    <language>en</language>
    <item>
      <title>Just released: dadjokes microservice for testing</title>
      <dc:creator>NickR</dc:creator>
      <pubDate>Wed, 29 Jan 2020 15:19:14 +0000</pubDate>
      <link>https://dev.to/yesinteractive/just-released-dadjokes-microservice-for-testing-2o96</link>
      <guid>https://dev.to/yesinteractive/just-released-dadjokes-microservice-for-testing-2o96</guid>
      <description>&lt;p&gt;Just a sample, funny, little microservice used for testing Kong API Gateway, Kubernetes, K8s, Docker, Kuma Service mesh, Istio Service Mesh, etc. Deployment examples up on git hub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--malb9qlp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/0ckh82ned3gipoy2o03m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--malb9qlp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/0ckh82ned3gipoy2o03m.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/yesinteractive/dad-jokes_microservice"&gt;https://github.com/yesinteractive/dad-jokes_microservice&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"Jokes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Opener"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"What did the mountain climber name his son?"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Punchline"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Cliff"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h3&gt;
  
  
  Deployment Examples
&lt;/h3&gt;

&lt;p&gt;See usage examples for Kubernetes, Kong for Kubernetes Ingress Controller, and docker-compose in the &lt;a href="https://github.com/yesinteractive/dad-jokes_microservice/blob/master/examples"&gt;examples directory folder.&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  With Docker
&lt;/h3&gt;

&lt;p&gt;Docker image is Alpine 3.9 based running on Apache. The containter exposes both ports 80 an 443 with a self signed certificated. If you wish to alter the container configuration, feel free to use the Dockerfile in this repo (&lt;a href="https://github.com/yesinteractive/dad-jokes_microservice/blob/master/Dockerfile"&gt;https://github.com/yesinteractive/dad-jokes_microservice/blob/master/Dockerfile&lt;/a&gt;). Otherwise, you can pull the latest image from DockerHub with the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker pull yesinteractive/dadjokes
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Typical basic usage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker run -it yesinteractive/dadjokes
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Typical usage in Dockerfile:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;FROM yesinteractive/dadjokes
RUN echo &amp;lt;your commands here&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</description>
      <category>kubernetes</category>
      <category>microservices</category>
      <category>devops</category>
      <category>php</category>
    </item>
  </channel>
</rss>
