<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Denis Biondic on Medium]]></title>
        <description><![CDATA[Stories by Denis Biondic on Medium]]></description>
        <link>https://medium.com/@coffeeapplied?source=rss-ade21c7b9946------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SoN-qvQqQjxmMsMHoA8hsw.jpeg</url>
            <title>Stories by Denis Biondic on Medium</title>
            <link>https://medium.com/@coffeeapplied?source=rss-ade21c7b9946------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:15:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@coffeeapplied/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Securing AKS in peered virtual networks using only network security groups (NSGs)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/coffeeapplied/securing-aks-in-peered-virtual-networks-using-only-network-security-groups-nsgs-c43d6a215f32?source=rss-ade21c7b9946------2"><img src="https://cdn-images-1.medium.com/max/600/1*1i0uoojpkmqwC3ftOM0n_w.png" width="600"></a></p><p class="medium-feed-snippet">If you have an Azure Kubernetes Cluster deployed in a virtual network, you most probably have the network peered to other networks.</p><p class="medium-feed-link"><a href="https://medium.com/coffeeapplied/securing-aks-in-peered-virtual-networks-using-only-network-security-groups-nsgs-c43d6a215f32?source=rss-ade21c7b9946------2">Continue reading on CoffeeApplied Blog | Denis Biondic »</a></p></div>]]></description>
            <link>https://medium.com/coffeeapplied/securing-aks-in-peered-virtual-networks-using-only-network-security-groups-nsgs-c43d6a215f32?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/c43d6a215f32</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Sun, 18 Sep 2022 13:43:34 GMT</pubDate>
            <atom:updated>2022-09-18T13:43:34.807Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Debugging Kubernetes RBAC]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Here is an example of a simple RBAC setup, in which we try to limit access to only configmaps which have the name of my-configmap.</p><p class="medium-feed-link"><a href="https://medium.com/coffeeapplied/debugging-kubernetes-rbac-8ccd1f780d23?source=rss-ade21c7b9946------2">Continue reading on CoffeeApplied Blog | Denis Biondic »</a></p></div>]]></description>
            <link>https://medium.com/coffeeapplied/debugging-kubernetes-rbac-8ccd1f780d23?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ccd1f780d23</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[other]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Sat, 19 Oct 2019 13:45:00 GMT</pubDate>
            <atom:updated>2019-10-19T14:38:53.242Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Using Azure Monitor Logs with Azure Kubernetes Service (AKS)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/coffeeapplied/using-azure-monitor-logs-with-azure-kubernetes-service-aks-c0b0625295d1?source=rss-ade21c7b9946------2"><img src="https://cdn-images-1.medium.com/max/1350/1*ZGA9YPjXDWukHAXhO2QDUQ.png" width="1350"></a></p><p class="medium-feed-snippet">Terminology Clarifications</p><p class="medium-feed-link"><a href="https://medium.com/coffeeapplied/using-azure-monitor-logs-with-azure-kubernetes-service-aks-c0b0625295d1?source=rss-ade21c7b9946------2">Continue reading on CoffeeApplied Blog | Denis Biondic »</a></p></div>]]></description>
            <link>https://medium.com/coffeeapplied/using-azure-monitor-logs-with-azure-kubernetes-service-aks-c0b0625295d1?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0b0625295d1</guid>
            <category><![CDATA[azure-kubernetes-service]]></category>
            <category><![CDATA[azure-monitoring]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[logging]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Sun, 21 Apr 2019 19:54:41 GMT</pubDate>
            <atom:updated>2019-04-21T19:54:41.113Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Azure and the concept of Service Principals creating other Service Principals]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/coffeeapplied/azure-and-the-concept-of-service-principals-creating-other-service-principals-21186fc0af07?source=rss-ade21c7b9946------2"><img src="https://cdn-images-1.medium.com/max/881/1*C9eZIC54zX7yTSm0whUoLg.png" width="881"></a></p><p class="medium-feed-snippet">Key concept in automating stuff on Azure is who or what is going to execute that beautifully written automation script. As long as you are&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/coffeeapplied/azure-and-the-concept-of-service-principals-creating-other-service-principals-21186fc0af07?source=rss-ade21c7b9946------2">Continue reading on CoffeeApplied Blog | Denis Biondic »</a></p></div>]]></description>
            <link>https://medium.com/coffeeapplied/azure-and-the-concept-of-service-principals-creating-other-service-principals-21186fc0af07?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/21186fc0af07</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[azure-active-directory]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Mon, 04 Feb 2019 22:55:58 GMT</pubDate>
            <atom:updated>2019-02-04T22:55:58.910Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[7 Principles of Infrastructure as Code (on Azure and beyond)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/coffeeapplied/7-principles-of-infrastructure-as-code-on-azure-and-beyond-51842e13b00?source=rss-ade21c7b9946------2"><img src="https://cdn-images-1.medium.com/max/600/0*TaMNXuYhSvXq4SsZ.png" width="600"></a></p><p class="medium-feed-snippet">When it comes to cloud automation, there is a lot of choice out there. I want to show some practices that worked well for us over last few&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/coffeeapplied/7-principles-of-infrastructure-as-code-on-azure-and-beyond-51842e13b00?source=rss-ade21c7b9946------2">Continue reading on CoffeeApplied Blog | Denis Biondic »</a></p></div>]]></description>
            <link>https://medium.com/coffeeapplied/7-principles-of-infrastructure-as-code-on-azure-and-beyond-51842e13b00?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/51842e13b00</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Fri, 25 Jan 2019 22:31:08 GMT</pubDate>
            <atom:updated>2022-05-19T10:09:31.925Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Azure AKS dial tcp i/o timeout errors and help from Microsoft]]></title>
            <link>https://medium.com/coffeeapplied/azure-aks-dial-tcp-i-o-timeout-errors-and-help-from-microsoft-3f18a4a9ebcf?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f18a4a9ebcf</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[other]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[microsoft-support]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Sat, 12 Jan 2019 09:21:17 GMT</pubDate>
            <atom:updated>2019-01-12T09:21:17.973Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*qOze0NxfLagYpw-G" /></figure><p>There are many documented i/o timeout errors when visiting GitHub Azure Kubernetes Service repository, and some are resolved while others are still open.</p><p>The root cause of the problem is when, for whatever reason, the master plane ceases to communicate with worker nodes. Sometimes, this is because the tunnelfront (or some other system pod) fails, or you could introduce this problem yourself, as we’ve learned lately.</p><p>If you introduce a <strong>NSG rule to deny all outbound traffic</strong>, this is the exact effect you will get. The AKS nodes cannot have full outbound traffic denied.</p><p>A better approach, if deny traffic is really required, is to do it on the pod level (e.g. with Istio).</p><p>As a last point, I have to commend the Microsoft Support with help around this issue. I am for sure one of <a href="https://github.com/Azure/AKS/issues/727#issuecomment-441368492">those that complain</a>, and in this case they deserve the praise 100% (btw, ticket was resolved through Azure Support Standard plan with 1h response time!).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f18a4a9ebcf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coffeeapplied/azure-aks-dial-tcp-i-o-timeout-errors-and-help-from-microsoft-3f18a4a9ebcf">Azure AKS dial tcp i/o timeout errors and help from Microsoft</a> was originally published in <a href="https://medium.com/coffeeapplied">CoffeeApplied Blog | Denis Biondic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache Spark and Scala — ClassNotFoundExceptions and ÜberJARs]]></title>
            <link>https://medium.com/coffeeapplied/apache-spark-and-scala-classnotfoundexceptions-and-%C3%BCberjars-c336e90b5d91?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/c336e90b5d91</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[other]]></category>
            <category><![CDATA[scala]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Sun, 04 Nov 2018 21:38:35 GMT</pubDate>
            <atom:updated>2018-11-04T21:38:35.331Z</atom:updated>
            <content:encoded><![CDATA[<h3>Apache Spark and Scala — ClassNotFoundExceptions and ÜberJARs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*05XNKY3sEVICvPyc02gcDA.png" /></figure><p>After you figure out <a href="https://blog.coffeeapplied.com/in-compatibility-of-apache-spark-scala-and-jdk-bf5ce438aa46">which libraries and language versions work together</a>, you will submit your JAR to spark-submit, and encounter the next issue — missing JAR dependencies. The issue most often manifests with ClassNotFoundExceptions, but the solution is rather easy, and applicable to all Spark Scala projects. You need to pull all the dependencies in a single JAR, and there is a nice tool to do it as well <a href="https://index.scala-lang.org/sbt/sbt-assembly/sbt-assembly/0.14.5">sbt-assembly</a>. Simply add the specified assembly.sbt file in the Project directory, and instead of sbt package use sbt assembly.</p><p>However, you will most likely encounter the <a href="https://stackoverflow.com/questions/25144484/sbt-assembly-deduplication-found-error">next issue</a>: java.lang.RuntimeException: deduplicate: different file contents found. Again, solution is easy, simply <a href="https://stackoverflow.com/a/39058507/155666">use the code from SO</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c336e90b5d91" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coffeeapplied/apache-spark-and-scala-classnotfoundexceptions-and-%C3%BCberjars-c336e90b5d91">Apache Spark and Scala — ClassNotFoundExceptions and ÜberJARs</a> was originally published in <a href="https://medium.com/coffeeapplied">CoffeeApplied Blog | Denis Biondic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[(In)compatibility of Apache Spark, Scala and JDK]]></title>
            <link>https://medium.com/coffeeapplied/in-compatibility-of-apache-spark-scala-and-jdk-bf5ce438aa46?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf5ce438aa46</guid>
            <category><![CDATA[other]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[scala]]></category>
            <category><![CDATA[apache-spark]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Sun, 04 Nov 2018 21:33:47 GMT</pubDate>
            <atom:updated>2018-11-04T21:33:47.236Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*05XNKY3sEVICvPyc02gcDA.png" /></figure><p>This is a story about Spark and library conflicts, ClassNotFoundException(s), Abstract Method Errors and other issues.</p><p>At the moment of this writing (November 2018) Spark is currently at version 2.3.2, Scala is at 2.12.7, and JDK (Java) is @ 11. Software should be easy, so simply taking the latest version of each should work, right? WRONG.</p><p>First thing to know, is that <a href="https://spark.apache.org/docs/2.3.2/">Spark 2.3.2 requires Scala 2.11</a>. Scala with SBT is fortunately easy, and all you need to do is have the <a href="https://www.scala-sbt.org/download.html">latest SBT</a> (1.2.6), and it will be able to resolve all Scala versions which you specify in build files, for example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/65caaa492086e70754f8dc37512cd705/href">https://medium.com/media/65caaa492086e70754f8dc37512cd705/href</a></iframe><p>However, you will soon find out that since you are using Scala 2.11, you need to stick to JDK8, because per <a href="https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html">docs</a>: “ 2.11.12, JDK 9+ support is incomplete”.</p><p>To summarize, so far we have:</p><pre>+-----------+------------+-------------+<br>|   Spark   |    JDK     |    Scala    |<br>+-----------+------------+-------------+<br>|   2.3.2   |     8      |   2.11.12   |<br>+-----------+------------+-------------+</pre><p>The fun continues when you start using some of the Spark libraries. In most cases, support for Spark 2.3 will be there, but occasionally you might use libraries which are not updated with newest Spark version, e.g. <a href="https://mvnrepository.com/artifact/org.apache.bahir/spark-streaming-twitter">https://mvnrepository.com/artifact/org.apache.bahir/spark-streaming-twitter</a>. <br>The bad news is that Java is very happy to compile to code together, altough there is not chance in hell it will work without errors, so you get exceptions such as java.lang.AbstractMethodError. A nice post about some details around these issues can be found <a href="https://community.hortonworks.com/articles/197922/spark-23-structured-streaming-integration-with-apa.html">here</a>. <br>The good news is that in this case you need to “downgrade” to Spark 2.2, and for that to work, you need to repeat the exercise from above to find out compatible versions of Spark, JDK and Scala.</p><p>Although the solutions above are very version specific, it could still help in the future to know which moving parts you need to check.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf5ce438aa46" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coffeeapplied/in-compatibility-of-apache-spark-scala-and-jdk-bf5ce438aa46">(In)compatibility of Apache Spark, Scala and JDK</a> was originally published in <a href="https://medium.com/coffeeapplied">CoffeeApplied Blog | Denis Biondic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prometheus Operator — Service Monitor auto discovery across all namespaces]]></title>
            <link>https://medium.com/coffeeapplied/prometheus-operator-service-monitor-auto-discovery-across-all-namespaces-4385b972b3e6?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/4385b972b3e6</guid>
            <category><![CDATA[prometheus]]></category>
            <category><![CDATA[other]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Tue, 23 Oct 2018 10:20:43 GMT</pubDate>
            <atom:updated>2018-10-23T10:20:43.768Z</atom:updated>
            <content:encoded><![CDATA[<h3>Prometheus Operator — Service Monitor auto discovery across all namespaces</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*zwH6_X8uWpXAzLt4FLdyOw.png" /></figure><p>A quick tip which took me quite some time to figure out, is how to configure the Prometheus CRD (monitoring.coreos.com/v1) so that it picks up all the Service Monitor definitions in all cluster namespaces.</p><p>Most of the examples mention only serviceMonitorSelector, but this only affects selection inside the same namespace where the Prometheus is deployed.</p><p>The solution is simply to use serviceMonitorNamespaceSelector as well:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1dc456e784e3252edc8807a766d5e908/href">https://medium.com/media/1dc456e784e3252edc8807a766d5e908/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4385b972b3e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coffeeapplied/prometheus-operator-service-monitor-auto-discovery-across-all-namespaces-4385b972b3e6">Prometheus Operator — Service Monitor auto discovery across all namespaces</a> was originally published in <a href="https://medium.com/coffeeapplied">CoffeeApplied Blog | Denis Biondic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building UIs in DevOps / microservices environment part 3— headless microservices, bounded contexts…]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/coffeeapplied/building-uis-in-devops-microservices-environment-part-3-headless-microservices-bounded-contexts-1ade60f2350b?source=rss-ade21c7b9946------2"><img src="https://cdn-images-1.medium.com/max/638/0*MwP1UmWNx5Tu5C4L." width="638"></a></p><p class="medium-feed-snippet">This article is the third in three-part series:</p><p class="medium-feed-link"><a href="https://medium.com/coffeeapplied/building-uis-in-devops-microservices-environment-part-3-headless-microservices-bounded-contexts-1ade60f2350b?source=rss-ade21c7b9946------2">Continue reading on CoffeeApplied Blog | Denis Biondic »</a></p></div>]]></description>
            <link>https://medium.com/coffeeapplied/building-uis-in-devops-microservices-environment-part-3-headless-microservices-bounded-contexts-1ade60f2350b?source=rss-ade21c7b9946------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ade60f2350b</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[domain-driven-design]]></category>
            <category><![CDATA[micro-frontends]]></category>
            <dc:creator><![CDATA[Denis Biondic]]></dc:creator>
            <pubDate>Mon, 18 Sep 2017 05:16:17 GMT</pubDate>
            <atom:updated>2017-09-18T05:16:17.987Z</atom:updated>
        </item>
    </channel>
</rss>