<?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 Mustafa YILDIRIM on Medium]]></title>
        <description><![CDATA[Stories by Mustafa YILDIRIM on Medium]]></description>
        <link>https://medium.com/@sudoshutdown?source=rss-b48a81ebb74e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*N5-j_AKdosW1y8WKIjF_aA.jpeg</url>
            <title>Stories by Mustafa YILDIRIM on Medium</title>
            <link>https://medium.com/@sudoshutdown?source=rss-b48a81ebb74e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:35:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sudoshutdown/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[Locust Stories 3 Micronaut Episode, Performance Battles Continue]]></title>
            <link>https://medium.com/@sudoshutdown/locust-stories-3-micronaut-episode-performance-battles-continue-cdda44d56d10?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdda44d56d10</guid>
            <category><![CDATA[graalvm]]></category>
            <category><![CDATA[micronaut]]></category>
            <category><![CDATA[locust]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[load-testing]]></category>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Mon, 31 Jul 2023 21:07:09 GMT</pubDate>
            <atom:updated>2023-07-31T21:07:09.237Z</atom:updated>
            <content:encoded><![CDATA[<h3>Locust Stories 3 Micronaut Episode, The Battle Ends in a Draw</h3><p>Previously here <a href="https://medium.com/@sudoshutdown/locust-stories-2-netty-episode-performance-battles-continue-6c638016391e">https://medium.com/@sudoshutdown/locust-stories-2-netty-episode-performance-battles-continue-6c638016391e</a> netty performance is analyzed for a simple REST endpoint. In the third installment of “Locust Stories,” we continue our performance analysis by pitting Netty against the Micronaut framework. Our focus is on examining the performance characteristics of Micronaut when handling HTTP requests compared to Netty. To ensure a fair comparison, we created simple RESTful API endpoints using both frameworks. By employing the Locust load testing tool, we simulated various user scenarios and request loads, providing us with insightful results to understand each framework’s strengths and weaknesses. Follow our performance journey on GitHub [<a href="https://github.com/my1795/micronaut-locust">https://github.com/my1795/micronaut-locust</a>] to explore the source code and configurations used in our experiments. Stay tuned for more exciting stories from the world of distributed systems in the next episode!</p><h3>Pre Test Phase</h3><p>Pre test phase includes docker build of the application. The default method of the default docker image build of the micronaut guide did not work on apple m1. The problem was produced binary was not compatible with default docker image inside micronaut’s gradle plugin. Gradle task <strong>dockerfileNative </strong>is<strong> </strong>configured to overcome this issue. With help of gradle’s easy reconfigurable structure problem is solved.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/631c493538d4515d1b486daad5bf41e0/href">https://medium.com/media/631c493538d4515d1b486daad5bf41e0/href</a></iframe><h4>Side Effects of The Solution</h4><ul><li>This caused larger docker image</li><li>Not recommended image of micronaut’s native image</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AY2V9LPrfmgYG8QgfJd8uQ.png" /><figcaption>Higher İmage Size</figcaption></figure><h4>Performance Tuning Attempts</h4><p>The configuration reference is visited there <a href="https://docs.micronaut.io/latest/guide/configurationreference.html">https://docs.micronaut.io/latest/guide/configurationreference.html</a> in order to tune the application to reach higher throughput. However, I got worst result but not better. I am 90 % sure that, there is a better combination to reach higher throughput. Unless you are not expert of the framework , your capabilities are limit. With saying that, I would expect, there must be some increase for some of config parameters. Anyways, the configuration was untouched due to the factors.</p><h4>Some Facts</h4><ul><li>Micronaut uses netty under the hood for event loops. Remember our netty test <a href="https://medium.com/@sudoshutdown/locust-stories-2-netty-episode-performance-battles-continue-6c638016391e">https://medium.com/@sudoshutdown/locust-stories-2-netty-episode-performance-battles-continue-6c638016391e</a></li><li>It supports reactive pattern like Quarkus</li><li>It has a cli like quarkus</li></ul><h3>Test Phase</h3><p>Docker image of the app is generated and docker compose stack is run up as <a href="https://github.com/my1795/micronaut-locust/blob/master/README.md">README</a> of the project guides.</p><h4>Checks</h4><p>Locust main page is visited at <a href="http://localhost:8089/">http://localhost:8089</a>. The host is set up considering name of the container in docker compose file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XpoIBvAXunC9EZIuSGtjog.png" /><figcaption>Test Setup</figcaption></figure><p>Initial resource usages of the container is checked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dleb98rWXROlpgXJottwow.png" /><figcaption>Resource Usages</figcaption></figure><h4>Trigger</h4><p>Hit the start swarming button for the test</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eq94lJzBejO0jmuDRuMNhw.png" /><figcaption>Swarm it!</figcaption></figure><h4>During Test</h4><p>The memory usage of the app was around 50mbs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCrYAQVH_GZisUhgULedlQ.png" /></figure><h3>Post Test Phase</h3><h4>Data Collection</h4><p>Data is gathered to analyze for test ran 3 minutes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVMg5w_rSiHhQPe4_1HdRw.png" /><figcaption>after test resource usage</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E-fjsEPhlh7xiszKYXShcQ.png" /></figure><h4>Data Analyze</h4><p>RPS</p><ul><li>RPS did not change much at rate of 9K or almost 10k.</li><li>There is a slight decrease at the end of the test. Probable cause is CPU heat by the test, it may affect the speed of processes with delay.</li><li>9k is almost the same with <a href="https://medium.com/@sudoshutdown/locust-stories-2-netty-episode-performance-battles-continue-6c638016391e">netty test</a>. The results are sensible according to this parameter</li></ul><p>Response Times</p><ul><li>A little increase of response times in late phase of the test.</li><li>However, the increase rate is not compatible with decrease rate of RPS</li><li>This might be related based on OS tcp acknowledgements speed and congestions.</li></ul><h3>Reference</h3><ul><li><a href="https://micronaut.io/">https://micronaut.io</a></li><li><a href="https://docs.micronaut.io/latest/guide/configurationreference.html">https://docs.micronaut.io/latest/guide/configurationreference.html</a></li><li><a href="https://www.baeldung.com/micronaut#:~:text=However%2C%20when%20a%20non%2Dblocking,the%20whole%20request%20non%2Dblocking">https://www.baeldung.com/micronaut#:~:text=However%2C%20when%20a%20non%2Dblocking,the%20whole%20request%20non%2Dblocking</a></li><li><a href="https://github.com/my1795/micronaut-locust">https://github.com/my1795/micronaut-locust</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdda44d56d10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Locust Stories 2 Netty Episode, Performance Battles Continue]]></title>
            <link>https://medium.com/@sudoshutdown/locust-stories-2-netty-episode-performance-battles-continue-6c638016391e?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c638016391e</guid>
            <category><![CDATA[cpu]]></category>
            <category><![CDATA[graalvm]]></category>
            <category><![CDATA[netty]]></category>
            <category><![CDATA[locust]]></category>
            <category><![CDATA[performance-testing]]></category>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Thu, 27 Jul 2023 20:17:02 GMT</pubDate>
            <atom:updated>2023-07-27T20:17:02.972Z</atom:updated>
            <content:encoded><![CDATA[<p>Previously here <a href="https://medium.com/@sudoshutdown/supercharge-your-performance-exploring-graalvm-quarkus-and-locust-for-lightning-fast-dcea7b2d3a34">https://medium.com/@sudoshutdown/supercharge-your-performance-exploring-graalvm-quarkus-and-locust-for-lightning-fast-dcea7b2d3a34</a> , native quarkus application performance is tested with cluster. The same test can be run against other frameworks too. Netty is one of the famous web application framework with motto “Netty is <em>an asynchronous event-driven network application framework</em> <br>for rapid development of maintainable high performance protocol servers &amp; clients.”. The claim is really powerful . The same application here <a href="https://github.com/my1795/quarkus-locust">https://github.com/my1795/quarkus-locust</a> is used for netty too . We will test that claim by sending same requests with same throughput. Of course, we can increase the throughput if netty wants to eat more requests.</p><h3>Locusts Invading My Server</h3><p>before the test run you can clearly see that memory usage is way lower than Quarkus. This may be caused from netty is lightweight structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oro4mEojKZ0QKZBPq1stiQ.png" /></figure><p>The tests are started with the same way in previous test here <a href="https://medium.com/@sudoshutdown/supercharge-your-performance-exploring-graalvm-quarkus-and-locust-for-lightning-fast-dcea7b2d3a34">https://medium.com/@sudoshutdown/supercharge-your-performance-exploring-graalvm-quarkus-and-locust-for-lightning-fast-dcea7b2d3a34</a></p><p>512 Users are simulated with 32 user ramp up intervals. This caused lots of memory usage. Quarkus is powerful over netty when it comes to memory usage during application load.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_eY2ycUNlFpT7lhSYHqT9Q.png" /><figcaption>150MB of memory is too bad</figcaption></figure><p>I am not a netty expert , this much Memory consumption is surprising for me. There may be several reasons for this result</p><ul><li>Our netty application is not tuned for memory and throughput</li><li>Quarkus is just better than netty on memory RSS</li><li>Native image build is not optimized for netty application</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*W6S1l1VK_jZkNLccYQjsAQ.png" /><figcaption>9000 RPS</figcaption></figure><p>Netty roughly handles 9000 RPS. Quarkus was handling 6.5k RPS at average. This shows that Netty is more performant than Quarkus with smaller setup endpoints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*pbyf0c8F1LH4uXCx1CdLfg.png" /></figure><p>Although these tests were conducted to compare Netty and Quarkus, it’s important to note that a definitive conclusion about which one is superior in performance cannot be drawn. However, the results did demonstrate that with minimal tuning and setup, Netty exhibited higher throughput than Quarkus. It’s essential to acknowledge that other factors were not taken into consideration during these tests. Real-life scenarios involve various performance tuning and business decisions tailored to specific cases. In some situations, both Quarkus and Netty might be used together in the same service, or separately in different services, depending on business and performance requirements.</p><p>If your primary concern is achieving high throughput, Netty is a compelling choice worth considering at first glance.</p><h3>Message to Audience</h3><p>In these demonstrations, there might be several errors that need to be addressed. Your feedback is highly valuable to me. If you come across any counterexamples, contradictory demonstrations, or missing data, please do not hesitate to inform me. Additionally, I welcome discussions on how to enhance this series by incorporating the use of Locust, a load testing tool. It’s essential to carefully consider potential issues with the Locust client as well to ensure the accuracy and reliability of the results.</p><h3>Reference</h3><ul><li><a href="https://github.com/my1795/netty-locust">https://github.com/my1795/netty-locust</a></li><li><a href="https://netty.io/">https://netty.io</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c638016391e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Supercharge Your Performance: Exploring GraalVM, Quarkus, and Locust for Lightning-Fast…]]></title>
            <link>https://medium.com/@sudoshutdown/supercharge-your-performance-exploring-graalvm-quarkus-and-locust-for-lightning-fast-dcea7b2d3a34?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcea7b2d3a34</guid>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[locust]]></category>
            <category><![CDATA[quarkus]]></category>
            <category><![CDATA[load-testing]]></category>
            <category><![CDATA[graalvm]]></category>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Sat, 22 Jul 2023 13:04:49 GMT</pubDate>
            <atom:updated>2023-07-22T13:04:49.185Z</atom:updated>
            <content:encoded><![CDATA[<h3>Supercharge Your Performance: Exploring GraalVM, Quarkus, and Locust for Lightning-Fast Applications</h3><h3>Targeting Performant applications for JVM world</h3><p>Any people in JVM world complains about performance problem of java applications sometimes. As a spring developer, I complained about that a lot for spring on top of jvm. The cloud era make people ask the question “If we deploy the application in a container why do we have to tolerate JVM’s multi-platform side effects”. As I thought on this, some others thought that way before than me. They aimed to create native executable Java applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*LDEomLvpp_8WBOV42z0s4Q.jpeg" /><figcaption>JVM and Multiplatform Side effect</figcaption></figure><p>Having native executable java application reduces CPU workload an memory footprint. This is what we need in cloud era where there are tremendous numbers of instances of an application and valuable resources those can cause surprising bills. <a href="https://www.graalvm.org/">GraalVM</a> is a great JVM variation for native java applications. It can produce a single executable binary like go applications can produce. This means smaller start up times , less memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*m-yHNS_fB1KivLkpQq6BVg.png" /></figure><h3>Benefits of Reactive Paradigm with Quarkus on GraalVM</h3><p>My underlying aim is to gain highest throughput for an RESTful Endpoint since it has been used widely in most production environment. Imagine a scenario where your business successful and success is gained by traditional JVM tech stacks. However, there is high pressure due to work load on your application. That situation leads us to find more performant solutions. While I was seeking the solution I have found that locust(Load Test Tool)+quarkus(main app framework)+graalvm is my perfect combination to simulate a high throughput endpoint.</p><p><em>targets</em>:</p><ul><li>High Throughput REST endpoint</li><li>Fast application start ups</li><li>Small memory footprint</li><li>Less CPU overhead</li></ul><p>GraalVM has no alternative in my case since I put the target for JVM world. However there were alternatives on top of JVM.</p><p>There are several frameworks for the ecosystem like Spring boot (Webflux), Quarkus, Helidon, Micronaut. I considered Spring Webflux and Quarkus mainly. The others didn&#39;t seem to me mature in terms of my familiarity, community support but they might be really powerful. The choice was quarkus over spring webflux for for several reasons</p><ul><li>Quarkus is more optimized for native execution</li><li>Spring Native is not mature yet(Especially for apple <a href="https://github.com/paketo-buildpacks/native-image/issues/176">silicon</a>)</li><li>Quarkus does not have background drag as spring ecosystem</li></ul><p><strong>Warning</strong> : These are observed for a small size application. There may be such scenarios maintainability is chosen over performance. However if there is a new product I would prefer <a href="https://quarkus.io/"><strong>quarkus</strong></a> over spring webflux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*APcrwcXTLYsnr884LbO1wQ.png" /><figcaption>Quarkus official claim</figcaption></figure><p>The case I have used here <a href="https://github.com/my1795/quarkus-locust">https://github.com/my1795/quarkus-locust</a> does not use CRUD capabilities but a simple REST endpoint does multiplication</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb538bd65c31dca03d7df806a454d085/href">https://medium.com/media/eb538bd65c31dca03d7df806a454d085/href</a></iframe><p>The application stats on the local machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iDmslqUlf1zsMvQmE9-qYg.png" /><figcaption>started in 0.070s</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkW0cRKSmQb2UL81lIDQjQ.png" /><figcaption>11MB memory foot print</figcaption></figure><p>Having less memory print is more crucial than start up times since I have got lots of pain due to memory insufficiency or memory overhead in idle applications.</p><h3>Verification of Performant Application</h3><h4>Load Test Tools</h4><p>I have tried to look at many load test tools on the market for local load tests. There might be good and comprehensive solutions with cloud based testing tools. The minimal setup requires a simple and powerful tool especially there is a single endpoint to test.,</p><p>Load Test Options:</p><ul><li>Locust 😻</li><li>JMETER 😵‍💫</li><li>Gatling 😵‍💫</li></ul><p>JMETER :</p><ul><li>Heavy for concurrent requests based on its architecture(Uses threads per user model)</li><li>Over complicated for simple scenarios</li></ul><p>Gatling:</p><p>I had hope to use gatling for my simulation until I have found locust</p><ul><li>No easy configuration documentation to use cluster mode on local environments</li><li>Tuning is needed for large loads <a href="https://community.gatling.io/t/max-file-descriptors-setting/8100">https://community.gatling.io/t/max-file-descriptors-setting/8100</a> , please look at my issue there</li><li>Pre knowledge is more required</li></ul><p><a href="https://locust.io/">Locust</a>:</p><ul><li>Easy to use, just use it like your bicycle</li><li>Good starter documentation both on host and cluster use cases</li><li>Good local cluster support</li><li>Nice GUI</li></ul><h3>Locusts Invading My Server</h3><p>By this section <a href="https://github.com/my1795/quarkus-locust#load-test-with-locus-on-a-quarkus-app">https://github.com/my1795/quarkus-locust#load-test-with-locus-on-a-quarkus-app</a> , the needed docker image can be build to have native quarkus app that has multiplication endpoint.</p><pre>docker compose -f src/main/docker-compose/locust-compose.yml up  --scale worker=8 <br><br></pre><p>Will start locus in cluster mode and Web UI can be accessed at <a href="http://localhost:8089/">http://localhost:8089</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDhAH1QTBAx8xOVkDh7vng.png" /><figcaption>Locust landing page</figcaption></figure><p>The locust test script:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a6a91a93ad5b20dcd1c68b8aa5ce5230/href">https://medium.com/media/a6a91a93ad5b20dcd1c68b8aa5ce5230/href</a></iframe><p>Running The Sample Load test:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*e92aa3sPYF55YRDvPz46sQ.gif" /></figure><p>App Load During Test :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fsVRhoRuBYeBoObaroMe0Q.png" /><figcaption>28MB memory usage is cool</figcaption></figure><p>Fans are running but not so fast</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pV06iRLsmU2oVeFd1OPVyQ.png" /></figure><p>I have made run test with Gatling but there was no cluster, it hit 1500~RPS at most. However Locust hit 6500~RPS at average and I saw 8000+RPS when there was no other load my computer. Therefore, having locust for simple cases is just great.</p><p>Quarkus:</p><p>It can be a life saver when you have combination of business logic and CPU intensive tasks(Billing services maybe).</p><h3>Reference</h3><ul><li><a href="https://softwaremill.com/overview-of-next-generation-java-frameworks/">https://softwaremill.com/overview-of-next-generation-java-frameworks/</a></li><li><a href="https://quarkus.io/">https://quarkus.io</a></li><li><a href="https://github.com/my1795/quarkus-locust/tree/main">https://github.com/my1795/quarkus-locust/</a></li><li><a href="https://community.gatling.io/t/max-file-descriptors-setting/8100">https://community.gatling.io/t/max-file-descriptors-setting/8100</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcea7b2d3a34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ides Of March ve Seçimler]]></title>
            <link>https://medium.com/@sudoshutdown/the-ides-of-march-ve-se%C3%A7imler-916149ece591?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/916149ece591</guid>
            <category><![CDATA[sinema]]></category>
            <category><![CDATA[ryan-gosling]]></category>
            <category><![CDATA[politika]]></category>
            <category><![CDATA[george-clooney]]></category>
            <category><![CDATA[gerilim]]></category>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Sun, 29 Jan 2023 17:55:22 GMT</pubDate>
            <atom:updated>2023-01-29T17:55:22.028Z</atom:updated>
            <content:encoded><![CDATA[<p>Bu yazıda film anlatılmayacak, o yüzden boşuna film incelemesi sanıp da atlamayın. <strong>Spoiler olabilir yani</strong>. Filmden hareketle düşüncelerimi ve bana yaptığı çağrışımları aktaracağım. Seçimler demişken de başlıktaki seçim hani şu sandıkların kurulduğu seçim değil zihnimizden filtrelenen bilgilerle beslenip ortaya çıkan <strong>kararlar. </strong>Daha genel bir şey yani. Arada sırada filme gönderme yapacağım için şurdan bakabilirsiniz filme <a href="https://www.imdb.com/title/tt1124035/">https://www.imdb.com/title/tt1124035/</a> . Herkesin çıkarımı farklı benim çıkarımlarımdan biri ise daha önce çok duyduğum <strong>“hayat planlar yaparken başına gelendir” </strong>oldu. İlk bakışta çok beylik bir laf gibi gelmesine rağmen zamanla sevdim, yaşayarak gördüğüm bir laf bu laf</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F18730441&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fyaz-bunu-g%25C3%25BCzel-laf-arog-gora-cem-y%25C4%25B1lmaz-s%25C3%25B6zler-gif-18730441&amp;image=https%3A%2F%2Fmedia.tenor.com%2FoQb1xHkQx_EAAAAC%2Fyaz-bunu-g%25C3%25BCzel-laf-arog.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/41a2319767ab5e94f880f47d2739877f/href">https://medium.com/media/41a2319767ab5e94f880f47d2739877f/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FdOZFGwYrzmaYM%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FdOZFGwYrzmaYM%2Fgiphy.gif%3Fcid%3Decf05e47plufdofr9mpd7ogp3nefua2noim9zc61mqt80bv0%26rid%3Dgiphy.gif%26ct%3Dg&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FdOZFGwYrzmaYM%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="177" frameborder="0" scrolling="no"><a href="https://medium.com/media/e728867039da441cec386a27d286ba66/href">https://medium.com/media/e728867039da441cec386a27d286ba66/href</a></iframe><h3>Kaos</h3><p>Evren kaotik, bir makinenin ya da bir yazılımın belli koşullar altında nasıl çalışacağını bilebiliyoruz ama iş daha büyük ölçekte geleceği tahmin etmeye gelince birçok perspektiften farklı modeller oluşturabilsek de geleceği göremiyoruz. Küresel ısınmanın durumu ne ? Yapay zeka genel bir yapay zekaya evrilecek mi ? Bu kadar uzağa da gitmeye gerek yok aslında. İnsanlık yağmurun nasıl oluştuğunu bilmiyor mu ? elimizde yeterince ölçüm cihazı da var öyleyse neden hala taşkın tahminleri fake çıkıyor ? Eyyyy İBB eyyyy AFAD bana neden kesinmiş gibi taşkın mesajı yolluyorsun o zaman ? Herhalde onlar da “<strong>I’ll do or say anything if I believe in it </strong>“ diyorlar herhalde. Evrendeki kaosa karşı alıyoruz kararlarımızı, bunun farkında olmak lazım. Ölçümlerimiz buna göre , bazen dar çerçevelerde çok hassas çıkan ölçümler bizi diğer kararları alırken göz önüne aldığımız veriler konusunda yanıltmamalı. <a href="https://en.wikipedia.org/wiki/Chaos_theory">Lorenz</a> diyorki “<strong>When the present determines the future, but the approximate present does not approximately determine the future.</strong>” Elimizde şu anın her şeyini bilebilecek kapasite olamayacağına göre öngörüleremiz hiçbir zaman yüzde 100 doğru olamayacak , oraya yaklaştırılabilmek elimizde tabiiki. EE bu kadar şeyle filmin ne alakası var kardeşim ? dur bi dinle… filmde bir sürü aktör var ve herkesin elinde her bilgi yok ve dönüm noktalarına gelince bu kişiler ve alacakaları kararlar fırtınanın ortasında dümen yapan kaptancasına etkileyecek kendilerini ve diğerlerini.</p><blockquote>Stephen Meyers vali Morris in kampanya yöneticisi. Vali başkan adayı olmak isterken o da bu kampanyayı sahiplenen bir imaj — I’m married to the campaign, governor —Meyers- . çizerken sonraki şartlarda yollar başka türlü çizilecek.</blockquote><p>Meyers in bilmediği o kadar çok şey var ki bilinmez denklemde kampanyaya olan inancı kendini gerçekleştiren kehanet düzeyinde. Başka türlü de kaosa yön vermek mümkün değil çünkü.</p><h3>Seçimler mi kararlar mı ?</h3><p>Seçimle kararın farkı neydi ya ? Ben pek düşünmemişim de şimdi google lamadan düşünün bakalım, chatGPT de yasak bro. Seçmek,karar, karar vermek, karar almak… hmm ilk fark şu galiba seçim de seçenek var kararda seçenek gündemde değil. Güzel de filmle alakası ne ? E işte orda adaylar var yani seçenekler birileri de seçiyor ya diyorsun dimi. Baştan söyledim ama bu seçim o aday seçim değil. Bahsettiğim seçim daha genel bir durum, kahve seçmek , mobilya seçmek gibi bir şey . Şimdi düşündüm de insanlar seçimleri üzerine çok detaylı analiz yapmıyor sanki. Seçimlerde sçenekler önünüze gelmiştir çünkü. Zihni zorlayan durum yok gibidir. Oysa karar durumları, karar anları öyle değildir. Karar almak,vermek… adına ne derseniz deyin kendi seçeneklerini oluşturmak demek, olmayan alternatifleri ortaya çıkartmak demek. Haliyle zihni daha da zorlayan bir aktivite. Biri diğerinden üstün olmayan ama farklarının da ayırdının zor olduğu, çoğu zaman farkını bile düşünmediğimiz iki farklı eylem. Meyers in önüne hep seçenekler geldi başlarda, kaosta seçenekler arasında seçim yaparsanız kaosun parçası olursunuz. Kimi zaman dalganın üzerindeki sörfçüler gibi seçimlerle hayata yön vermek de bir ustalık ki bu ustalık yeri gelince yerini başka aksiyonlara bırakmlalı. Meyers de onu yapmadı mı ? Valiyle güzel giderken işler seçenekleri değerlendirdi, aksi durumda da valiye karşı seçeneklerini ortaya koydu, kimse ona seçenekleri sunmadı. Bunun yapmak için karar almak gerekiyor tabii ki. Kaosta yaşıyor olabiliriz ama kaosa yön vermek elimizde akıntıya karşı kürek çekmeden. Filmi izleyenler de Meyers in nerede kaos a yön verdiğini söylesin. Vali Morris filmde seçenekleri değerlendiren bir rolde göründü gözüme. başka bir gözden karar alan , alternatif üreten biri gibi de görünebilir. Yoruma açık.</p><h3>Rota Yeniden Oluşturuluyor</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FW30772nPOiBMYaEnzS%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FW30772nPOiBMYaEnzS%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FW30772nPOiBMYaEnzS%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="348" frameborder="0" scrolling="no"><a href="https://medium.com/media/73cf7ceb027ccf5a267148dc76f36a30/href">https://medium.com/media/73cf7ceb027ccf5a267148dc76f36a30/href</a></iframe><p>Rotada güzel ilerleyenleri konuştuk, hafif sarsılıp devam edenleri konuştuk. Hafif sarsılmayıp oyun dışı kalanlar da oluyor. Spoiler verince taşlarlar, bence kaliteli film spoiler ile de izlenir de neyse. İşaretlerden diğer bazı karakterlerin filmin kapsamında oyun dışı kaldığını görebiliriz. Bu biraz “<strong>zero sum game</strong>” zaten bir partinin bir başkan adayı olacak , bir tane başkan olacak değil mi ? Bu sırada bazıları rotadan çıkacak, işte onların da rotası yeniden hesaplanacak. Filmlerde kaybedenlerin hikayesi genelde yer almasa da onlar için de bir gelecek kuruluyor. Lorenz in bakış açısıyla onlar için mevcut geleceği tayin ediyor.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FJPVQ2mAs3C7i4RPabi%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FJPVQ2mAs3C7i4RPabi%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FJPVQ2mAs3C7i4RPabi%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/71a64abeb8ef377145bbd0bc22041210/href">https://medium.com/media/71a64abeb8ef377145bbd0bc22041210/href</a></iframe><p>Filmi izleyecekler Paul için rota yeniden oluşturulacak, o kadarını söyleyeyim size.</p><h3>Siyaset</h3><p>Siyaset her yerde, inanın bana biz de siyasetçiyiz. Hitap ettiğimiz birileri var, onları ikna etmeye çalışırız, bu işte, sokakta, okulda ya da aklınızda gelebilecek başka yerlerde olur. Şirketlerin siyaseti olur, ailelerin, partilerin, ülkelerin, hatta dünyanın bile bir siyaseti var. Uluslararası uzay istasyonu dünya siyaseti ile işbirliği içinde yürütülüyor. Bu sorgulamaları sonra yaparız da filmde bildiğimiz siyaset var. Bilinen siyaseti daha geniş değerlendirdiğim halini arka planda aklımda tutarak değerlendireceğim filmdeki siyaseti. Siyaset bize hep kirli gelir değil mi ? Kirli işler, entrikalar, yalan dolan, ne kadar negatif ahlaktan yoksun şey varsa doldururlar içine. Lan bi dk, bunlar bizim içimizden çıkıyor ama , uzaydan gelmedi ki bu siyasetçiler. Senden farkı var sıradan işinde gücünde makbul vatandaş, siyasetçilerin kararları çok kişiyi etkiliyor, rekabet daha yüksek, kâr daha yüksek; haliyle daha kaotik bir ortamda işler yürüyor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=916149ece591" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Who am I? An engineer, a developer, or a programmer?]]></title>
            <link>https://medium.com/@sudoshutdown/who-am-i-an-engineer-a-developer-or-a-programmer-e278106ef38d?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e278106ef38d</guid>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Wed, 27 Apr 2022 18:31:10 GMT</pubDate>
            <atom:updated>2022-04-27T18:43:16.199Z</atom:updated>
            <content:encoded><![CDATA[<p>I would like to declare that the question came into my mind not suddenly but became concrete suddenly. All I am doing is related to software and solution and wait it touches to human life. It touches clients, operators other specialists. Then, the time came to ask that question; who am I? what do I do? Do I know what I am doing?</p><p><strong>Well, I did not do a literature search for this article, I will send you my messages directly without any filter between my mind and finger.</strong></p><p>We are taught in a structural format. All the “things” came to us in a packaged format. We just did what they wanted. They taught us and give us instructions. We are dependent on prior information, not knowledge. Knowledge is gained but the information is given.</p><p>Long story short, I became an individual in the software industry. Again, this is not a clear definition of me. I loved software and computers. They take orders and execute them. They do not understand us but we can understand them. Do we build them? If we build them, we should tell them what to do. Our interaction is not only with decisive machines we also deal with things called people or clients or developers or however you call them. Our interaction with other humans is not decisive but most people also do not know what they do. Do they take orders and execute them or do they make decisions? I believe we make decisions nevertheless, I perceive some people just do what wanted is.</p><p>I do not know who I am but I definitely know that I am walking on a path. The path has turnings that represent decisions.</p><p>Anyways, let’s dive into the question. I think every person has some parts that point to being an engineer, a developer, and a programmer in the software industry. Some people realize it but some others don’t. There is no clear distinction between white and black.</p><p>As an engineer, I spend time on problems and solutions. Problems come first and solutions come later. Solutions feed problems. This is an inevitable vicious cycle. People tend to think that they solved it but they do not realize that they opened the door for bigger problems. As an engineer, I am a hamster in a hamster circle.</p><p>As a developer, I develop my product or artifact to seek better not efficiency. I am hungry for better but I do not know how to do it better. A developer feels better and satisfied when his or her artifact makes him or her happy.</p><p>As a programmer, I do not design the bigger picture what I consider is constructing the states and providing a consistency between them.</p><p><strong>There is a difference between knowing the path and walking the path</strong>.</p><p>who am I ? who are you?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e278106ef38d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use Fabric8 maven docker plugin (Introduction)]]></title>
            <link>https://medium.com/orion-innovation-techclub/how-to-use-fabric8-maven-docker-plugin-introduction-b934b9a70261?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b934b9a70261</guid>
            <category><![CDATA[fabric8]]></category>
            <category><![CDATA[techclub-tr]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[spring-boot]]></category>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Thu, 24 Feb 2022 22:07:30 GMT</pubDate>
            <atom:updated>2022-03-14T10:56:51.711Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RZ1sM6ARvV60awaBRQjcEQ.png" /><figcaption>plugin GitHub repository</figcaption></figure><p>source code: <a href="https://github.com/my1795/fabric8-docker-plugin-demo">https://github.com/my1795/fabric8-docker-plugin-demo</a></p><p>fabric8 documentation: <a href="https://dmp.fabric8.io/">https://dmp.fabric8.io/</a></p><p>more examples: <a href="https://github.com/fabric8io/docker-maven-plugin/tree/master/samples">https://github.com/fabric8io/docker-maven-plugin/tree/master/samples</a></p><p>fabricio8 maven docker plugin helps us to easily manage docker images for maven-based applications. In this case, a spring boot application with a simple RESTful endpoint will be demonstrated. The main focus is not the application itself, the focus is how it will be containerized with a few steps rather than diving in build in docker commands.</p><p>The application has an endpoint that serves on <a href="http://localhost:8080.">http://localhost:8080.</a> The aim is to ship the application to a docker image and utilize dockers build, start, push commands in a configured manner.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f471e8aa48d1c988b4a98ade0a086b89/href">https://medium.com/media/f471e8aa48d1c988b4a98ade0a086b89/href</a></iframe><p>Normally a sample DOCKERFILE would look like this :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe0ea4a92f974c79313b37eb549558cf/href">https://medium.com/media/fe0ea4a92f974c79313b37eb549558cf/href</a></iframe><p>This was a sample Dockerfile not for our demo!</p><p>These similar steps are not needed to be written with the maven plugin.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fd3mlE7uhX8KFgEmY%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fd3mlE7uhX8KFgEmY%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExYXphNzhjMXNtOGdheWZuZ2RwenIwa3ZyYzJxOXR3cDRvd2F6d2cxbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2Fd3mlE7uhX8KFgEmY%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/de4f41134477bc8196d4522bc44a3969/href">https://medium.com/media/de4f41134477bc8196d4522bc44a3969/href</a></iframe><p>The best code is no code but it cannot be done in real life. It can be less with the plugin. The overhead can be got rid of for simple tasks.</p><h3>The Plugin in Action</h3><p>Let&#39;s first run the application first without containerizing it. To do that , clone the repository and change the directory to <strong>fabric-docker.</strong></p><p>Run mvn install command to get jar artifact :</p><p><strong>D:\Users\musyil.MERA\IdeaProjects\fabric-docker&gt; mvn install</strong></p><p>Check the artifact under target directory :</p><p><strong>cd target</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6x1Bafr1fVKu_xLnaqHdwg.png" /><figcaption>fabricdemo-0.0.2.jar</figcaption></figure><p>fabricdemo-0.0.2.jar contains executable spring boot application</p><p>Let&#39;s run the application by <strong>java -jar fabricdemo-0.0.2.jar</strong></p><p>our application is listening port 8080 on localhost</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BmGqYeD_5oen2_1Ge-3KUA.png" /><figcaption>application start-up</figcaption></figure><p>Navigate to <a href="http://localhost:8080/">http://localhost:8080</a> on your browser and see the result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*4K3O9X96dYn7h9u5WkYgDA.png" /><figcaption>A hello message from the application</figcaption></figure><p>The show must go on!</p><p>Please stop the application and focus on how we build a docker image for the application</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FYeVVWP2Dg8rMk%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FYeVVWP2Dg8rMk%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FYeVVWP2Dg8rMk%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/3eddd6602a1868c9117d48ab39911d6f/href">https://medium.com/media/3eddd6602a1868c9117d48ab39911d6f/href</a></iframe><p>We are aware that the application can start locally. It is time to containerize it and ship it to a docker image.</p><p>Please visit pom.xml and see the related part of the docker plugin configuration</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/710229ba56c9c40bf4a733b16fb44d5e/href">https://medium.com/media/710229ba56c9c40bf4a733b16fb44d5e/href</a></iframe><p><strong>mvn docker:build </strong>will build the image by the configuration. the <strong>openjdk:17-alpine</strong> image will be used as the base image. <strong>assembly </strong>tag copies jar artifact inside of the base image under maven directory of image. <strong>entryPoint </strong>tag as the name implies runs when the container starts to run the spring boot app as it is done before on the host machine.</p><pre>mvn docker:build<br>        [INFO] Scanning for projects...<br>        [INFO]<br>        [INFO] -----------------------&lt; com.mustafa:fabricdemo &gt;-----------------------<br>[INFO] Building sample-image 0.0.2<br>[INFO] --------------------------------[ jar ]---------------------------------<br>[INFO]<br>[INFO] --- docker-maven-plugin:0.39.0:build (default-cli) @ fabricdemo ---<br>[INFO] Copying files to D:\Users\musyil.MERA\IdeaProjects\fabric-docker\target\docker\my1795\docker-demo\0.0.2\build\maven<br>[INFO] Building tar: D:\Users\musyil.MERA\IdeaProjects\fabric-docker\target\docker\my1795\docker-demo\0.0.2\tmp\docker-build.tar<br>[INFO] DOCKER&gt; [my1795/docker-demo:0.0.2] &quot;maven-demo&quot;: Created docker-build.tar in 885 milliseconds<br>[INFO] DOCKER&gt; [my1795/docker-demo:0.0.2] &quot;maven-demo&quot;: Built image sha256:a0736<br>[WARNING] DOCKER&gt; my1795/docker-demo:0.0.2: Unable to remove image [sha256:e068f] : {&quot;message&quot;:&quot;conflict: unable to delete e068f35b6dd7 (cannot be forced) - image is being used by running container e057dd9734a1&quot;} (Conflict: 409) (dangling image) [{&quot;message&quot;:&quot;conflict: unable to delete e068f35b6dd7 (cannot be forced) - image is being used by running container e057dd9734a1&quot;} (Conflict: 409)]<br>[INFO] ------------------------------------------------------------------------<br>[INFO] BUILD SUCCESS<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time:  4.243 s<br>[INFO] Finished at: 2022-02-22T00:23:13+03:00<br>[INFO] ------------------------------------------------------------------------</pre><p>Success! image is built. let&#39;s check it</p><pre>PS D:\Users\musyil.MERA\IdeaProjects\fabric-docker&gt; docker images<br>REPOSITORY                                                                         TAG                                                                IMAGE ID       CREATED         SIZE<br>my1795/docker-demo                                                                 0.0.2                                                              a073650a00e6   2 minutes ago   343MB</pre><h3>Pushing Built Image To A Docker Registry</h3><p>If pom.xml is revisited it will be realized that there is a tag pushRegistry to push built image via docker: push goal.</p><p>However, there must be a private registry to push. Therefore, a docker-compose.yml is provided to run a sample docker image registry.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/73578ad430d8f853547231812e79a19b/href">https://medium.com/media/73578ad430d8f853547231812e79a19b/href</a></iframe><p>In order to run those services run:</p><pre>docker-compose -p myregistry -f docker-compose.yaml up -d</pre><p>Our registry and web GUI for the registry is up now</p><pre>PS D:\Users\musyil.MERA\IdeaProjects\fabric-docker&gt; docker ps<br>CONTAINER ID   IMAGE                              COMMAND                  CREATED          STATUS          PORTS                    NAMES<br>a26b10b0fb0b   hyper/docker-registry-web:v0.1.2   &quot;start.sh&quot;               17 seconds ago   Up 14 seconds   0.0.0.0:8085-&gt;8080/tcp   myregistry-registr-web-1<br>3d0e0aef3638   registry:2                         &quot;/entrypoint.sh /etc…&quot;   17 seconds ago   Up 15 seconds   0.0.0.0:5000-&gt;5000/tcp   myregistry-registry-1<br>17e78e40229d   my1795/docker-demo:0.0.2           &quot;/bin/sh -c &#39;java -j…&quot;   10 hours ago     Up 10 hours     0.0.0.0:8080-&gt;8080/tcp   docker-demo</pre><p><a href="http://localhost:8085/">http://localhost:8085/</a> can be visited to view what private registry has.</p><p>The registry must be empty. After running docker:push goal of the docker plugin, the image must be apparent in the registry.</p><pre>PS D:\Users\musyil.MERA\IdeaProjects\fabric-docker&gt; mvn docker:push<br>        [INFO] Scanning for projects...<br>        [INFO]<br>        [INFO] -----------------------&lt; com.mustafa:fabricdemo &gt;-----------------------<br>[INFO] Building sample-image 0.0.2<br>[INFO] --------------------------------[ jar ]---------------------------------<br>[INFO]<br>[INFO] --- docker-maven-plugin:0.39.0:push (default-cli) @ fabricdemo ---<br>[INFO] DOCKER&gt; The push refers to repository [localhost:5000/my1795/docker-demo]<br>d28a618d4cb1: Pushed<br>34f7184834b2: Pushed<br>5836ece05bfd: Pushed<br>72e830a4dff5: Pushed<br>[INFO] DOCKER&gt; 0.0.2: digest: sha256:c83444980ee1b0322ddbbebe403a1bd44b9d2c272ec881a02eb84d8ec9cf3912 size: 1163<br>[INFO] DOCKER&gt; Pushed my1795/docker-demo:0.0.2 in 25 seconds<br>[INFO] ------------------------------------------------------------------------<br>[INFO] BUILD SUCCESS<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time:  30.396 s<br>[INFO] Finished at: 2022-02-22T10:48:18+03:00<br>[INFO] ------------------------------------------------------------------------<br>PS D:\Users\musyil.MERA\IdeaProjects\fabric-docker&gt;</pre><p>Now please visit registry web GUI at <a href="http://localhost:8085/">http://localhost:8085/</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F1QBiqMz3xUPtzKEg9z%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F1QBiqMz3xUPtzKEg9z%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F1QBiqMz3xUPtzKEg9z%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="230" frameborder="0" scrolling="no"><a href="https://medium.com/media/773405a9d48ab325fcba1331cfdc7461/href">https://medium.com/media/773405a9d48ab325fcba1331cfdc7461/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F20k1punZ5bpmM%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F20k1punZ5bpmM%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F20k1punZ5bpmM%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="350" frameborder="0" scrolling="no"><a href="https://medium.com/media/51c7b15c77dc991fb3054612f631bec3/href">https://medium.com/media/51c7b15c77dc991fb3054612f631bec3/href</a></iframe><p>To be continued…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b934b9a70261" width="1" height="1" alt=""><hr><p><a href="https://medium.com/orion-innovation-techclub/how-to-use-fabric8-maven-docker-plugin-introduction-b934b9a70261">How to use Fabric8 maven docker plugin (Introduction)</a> was originally published in <a href="https://medium.com/orion-innovation-techclub">Orion Innovation techClub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lens: My Choose For K8s IDE.]]></title>
            <link>https://medium.com/orion-innovation-techclub/lens-my-choose-for-k8s-ide-d42a7cf89bb?source=rss-b48a81ebb74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d42a7cf89bb</guid>
            <category><![CDATA[lenses]]></category>
            <category><![CDATA[techclub-tr]]></category>
            <category><![CDATA[kubeless]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Mustafa YILDIRIM]]></dc:creator>
            <pubDate>Thu, 24 Feb 2022 11:08:01 GMT</pubDate>
            <atom:updated>2022-02-24T11:08:01.448Z</atom:updated>
            <content:encoded><![CDATA[<p>Let&#39;s remember the days we started to learn Kubernetes. We started to learn to type it by “kubectl …” locally. Those days were good days for seeing the magic and feel excitement for every new command. We all followed “the white rabbit”</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FeHM0lziAAypr2bRPjg%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FeHM0lziAAypr2bRPjg%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FeHM0lziAAypr2bRPjg%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="87" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa4c70c22867ec63eace6218785bcd56/href">https://medium.com/media/aa4c70c22867ec63eace6218785bcd56/href</a></iframe><p>After a while, it was needed to be managed quickly without fundamental commands and it was needed to be seen the bigger picture to locate ourselves in k8s resources and tools. I have found something called <a href="https://k8slens.dev/">“Lens”</a> which is called “Kubernetes IDE”. It enabled monitoring, resource manipulation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KYUqBpub4q8H6fSvrgUvLw.png" /><figcaption><a href="https://www.behance.net/gallery/78318737/isometric-illustration-for-web/modules/454572509">Credit Link</a> (k8s has lots of resources to manage)</figcaption></figure><h3>Prerequisites</h3><p><a href="https://k8slens.dev/index.html">Download here</a></p><p>A Kubernetes cluster is required locally or remotely.</p><p>Docker-desktop Kubernetes cluster will be detected automatically under ~/.kube. If you want to add more cluster, kube config can be added under .kube directory</p><h3>First Touch to Lens</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F26BRzQS5HXcEWM7du%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F26BRzQS5HXcEWM7du%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F26BRzQS5HXcEWM7du%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="178" frameborder="0" scrolling="no"><a href="https://medium.com/media/14ce0050859bc04e934bcaf22157095a/href">https://medium.com/media/14ce0050859bc04e934bcaf22157095a/href</a></iframe><p>There is one important reason why Lens is cool, it shows almost all components of Kubernetes at few glances. This is something you will not be able to do with commands. This is very cool for newbies. If a demo is requested or else if there is a tutorial choosing Lens will let you discover more things that you actually want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fe1DWfW5lYT2wqv36BgVOw.png" /><figcaption>Cluster panel. (docker-desktop is connected)</figcaption></figure><p>Let&#39;s see what the docker-desktop cluster has for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5j4QM9Vpy6IV5N3EcumnKA.gif" /><figcaption>Kubelens main panel.</figcaption></figure><p>This is how you manage and monitor resources from kubelens. The left pane shows us what kind of resources there are to be viewed and changed. For instance, I was not familiar too much with Kubernetes config resources from the beginning. Then, this GUI helps me to visualize what we have with Kubernetes.</p><p>Let’s say as a newbie I do not know how to get secrets in k8s or I am lost somewhere about secrets. I can navigate to the secrets section and view all secrets by namespace and names of secrets.</p><p>I saw a secret named <strong>alertmanager-main </strong>which is in monitoring namespaces. I can fetch that resource with command “kubectl get secret -n monitoring alertmanager-main -o yaml” :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cbc32a711e70d2c0749d82c5e99731a5/href">https://medium.com/media/cbc32a711e70d2c0749d82c5e99731a5/href</a></iframe><p>There is one more way to “Discover” it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egp_1nb2wRfUQJ94ZfiPMQ.gif" /><figcaption>viewing secret</figcaption></figure><h3>Extensions of Kubelens</h3><p>There can be extensions to be added kubelens under menu File -&gt; Extensions. A tarball can be loaded from the device or a link. There is not a rich community for extensions. Although the community is not large I have seen some interesting extensions like <a href="https://github.com/nevalla/lens-resource-map-extension"><strong>@nevalla/kube-resource-map</strong></a><strong> . </strong>The extension visualizes k8s resources as a graph. Please check out <a href="https://github.com/lensapp/lens-extensions/blob/main/README.md">https://github.com/lensapp/lens-extensions/blob/main/README.md</a> for more extensions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i5E2obuzIohxGOJIgom1sw.gif" /><figcaption>kube-resource-map extension</figcaption></figure><h3>HELM Support</h3><p>One of the coolest features of a lens is a helm chart. Under App- Charts section helm charts can be viewed.</p><blockquote>Used Helm repositories are possible to configure in the <a href="https://docs.k8slens.dev/getting-started/preferences">Preferences</a>. Lens app will fetch available Helm repositories from the <a href="https://artifacthub.io/">Artifact HUB</a> and automatically add bitnami repository by default if no other repositories are already configured. If any other repositories are needed to add, those can be added manually via command line. <strong>Note!</strong> Configured Helm repositories are added globally to user&#39;s computer, so other processes can see those as well. [1]</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FmSXSC0vivvygw%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FmSXSC0vivvygw%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FmSXSC0vivvygw%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="187" frameborder="0" scrolling="no"><a href="https://medium.com/media/b1979ec5c563ebe72add2acc51dd0474/href">https://medium.com/media/b1979ec5c563ebe72add2acc51dd0474/href</a></iframe><p><strong>References</strong></p><p>[1] <a href="https://docs.k8slens.dev/main/helm/?h=helm#managing-helm-repositories">https://docs.k8slens.dev/main/helm/?h=helm#managing-helm-repositories</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d42a7cf89bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/orion-innovation-techclub/lens-my-choose-for-k8s-ide-d42a7cf89bb">Lens: My Choose For K8s IDE.</a> was originally published in <a href="https://medium.com/orion-innovation-techclub">Orion Innovation techClub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>