<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Monitor on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/monitor/</link>
    <description>Recent content in Monitor on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #e9d956c0c0154a221ad83c925346a8fa0e72f866</copyright>
    <lastBuildDate>Thu, 28 Feb 2019 00:00:00 +0100</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/monitor/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Annotation based Kubernetes and Openshift Manifests for Java Applications with ap4k</title>
      <link>https://www.hascode.com/annotation-based-kubernetes-and-openshift-manifests-for-java-applications-with-ap4k/</link>
      <pubDate>Thu, 28 Feb 2019 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/annotation-based-kubernetes-and-openshift-manifests-for-java-applications-with-ap4k/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Writing our manifest files for Kubernetes / Openshift often forces us to edit xml, json and yml files by hand.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;A new library, ap4k allows to specify metadata for these manifest files directly in our Java code using annotations.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In the following short example I am going to demonstrate how to generate manifest files using Maven and ap4k.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;imageblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;img src=&#34;ap4k-tutorial-logo-1024x774.png&#34; alt=&#34;ap4k Tutorial&#34; width=&#34;614&#34; height=&#34;464&#34;/&gt;
&lt;/div&gt;
&lt;div class=&#34;title&#34;&gt;Figure 1. ap4k Tutorial&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_dependencies&#34;&gt;Dependencies&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Using &lt;a href=&#34;http://maven.apache.org/&#34;&gt;Maven&lt;/a&gt; we just need to add the following one dependency to our project’s &lt;em&gt;pom.xml&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
