<?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 OnurYılmaz on Medium]]></title>
        <description><![CDATA[Stories by OnurYılmaz on Medium]]></description>
        <link>https://medium.com/@onuryilmaz?source=rss-a8f48230e651------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mH7zgRS-AcLerMQXpHRS_Q.jpeg</url>
            <title>Stories by OnurYılmaz on Medium</title>
            <link>https://medium.com/@onuryilmaz?source=rss-a8f48230e651------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 15:32:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@onuryilmaz/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[Kubernetes Concepts]]></title>
            <link>https://medium.com/@onuryilmaz/kubernetes-concepts-3d135bbf902c?source=rss-a8f48230e651------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d135bbf902c</guid>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[OnurYılmaz]]></dc:creator>
            <pubDate>Tue, 30 May 2017 19:48:41 GMT</pubDate>
            <atom:updated>2017-05-30T19:48:41.919Z</atom:updated>
            <content:encoded><![CDATA[<h3>Master</h3><ul><li>The Master is responsible for managing the cluster. The master coordinates all activities in your cluster, such as scheduling applications, maintaining applications’ desired state, scaling applications, and rolling out new updates.</li><li>master is a collection of three processes that run on a single node in your cluster.</li><li>kube-apiserver.</li><li>kube-controller-manager</li><li>kube-scheduler.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*czU9Bdq-gXbcFEAe.png" /></figure><h3>Node</h3><ul><li>A node is a VM or a physical computer that serves as a worker machine in a Kubernetes cluster. Each node has a Kubelet, which is an agent for managing the node and communicating with the Kubernetes master.</li><li>Each individual node runs two processes:</li><li>kubelet : which communicates with the master.</li><li>kube-proxy : a network proxy which reflects kubernetes networking service on each node.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/0*pd8StZgpo_iLR9S7.png" /></figure><h3>Pod</h3><ul><li>A Pod is the basic building block of Kubernetes–the smallest and simplest unit in the Kubernetes object model that you create or deploy.</li><li>Like in Docker, container is the smallest unit, in k8s Pod is the smallest unit.</li><li>Pod is a wrapper around container in k8s.</li><li>You can run single container or multi-container inside a Pod</li><li>Example: if you have static web-app running inside a container in docker environment, in k8s that single container will run inside Pod.</li><li>Let’s take a case where your application is made of multiple container ( client, server ) client in one container and server in different container than these two container can run inside your Pod and can communicate with each other.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/0*dkaPog3iLkfaPeky.png" /></figure><pre>kubectl create -f pod.yml</pre><h3>Replica Controller</h3><ul><li>Also knows as rc/rcs</li><li>A ReplicationController ensures that a specified number of pod “replicas” are running at any one time.</li><li>In the example here replicaController.yml, We tell rc what is the Pod label and how many Pods we want with that label.</li><li>If there are sufficient Pods present that it will not create any Pod but if the desired number of Pods are not available than it will create more Pods. — If pod doesn’t exist it will create as per the spec in yml or json file</li></ul><pre>kubectl create -f replicaController.yml</pre><h3>Deployment</h3><ul><li>A Deployment provides declarative updates for Pods and ReplicaSets (the next-generation ReplicationController).</li><li>Replica Controller is old way to manage the desired state of the pod.</li><li>With Deployment you can manage the desired state of the pod, deployment is not supported in apiVersion: v1 but use apiVersion: apps/v1beta1 for deployment.</li><li>Deployment is more about rolling updates and rollback.</li></ul><pre>kubectl create -f deploy.yml --validate=false</pre><h3>Rolling out updates with deployment</h3><pre>kubectl apply -f deploy.yml --record</pre><h3>Service</h3><p>Service gets single IP,DNS,Port in kubernetes that never changes, supporting pods to a service keeps changing (goes-down and comes-up with new ip).</p><ul><li>A Kubernetes Service is an abstraction which defines a logical set of Pods and a policy by which to access them from outside world.</li><li>Let say there is a pod running your web application, to expose this web application you need services.</li><li>It gives you a way to access your Pods, load balancing among your Pods.</li><li>It hides how it manages the Pods internally.</li></ul><pre>kubectl expose  deployment/hello-world --name=hello-world --target-port=80 --type=NodePort</pre><h3>Declarative way</h3><pre>kubectl create -f Service.yml</pre><p>kubectl describe service static-site-svc</p><h3>Summary</h3><ul><li>Pods are the basic unit which actually have your application up and running.</li><li>Deployments are more about updating the app and managing the app (like : how many replica you want and what Pod with label to choose for running the application)</li><li>Service is all about exposing your application to outside world.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d135bbf902c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparison of Go Vendoring Tools]]></title>
            <link>https://medium.com/@onuryilmaz/comparison-of-go-vendoring-tools-acf019ea476f?source=rss-a8f48230e651------2</link>
            <guid isPermaLink="false">https://medium.com/p/acf019ea476f</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[experience]]></category>
            <dc:creator><![CDATA[OnurYılmaz]]></dc:creator>
            <pubDate>Mon, 21 Dec 2015 16:31:06 GMT</pubDate>
            <atom:updated>2015-12-21T16:31:06.714Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QrP3uWcGAZfNWFDCwZOdmQ.jpeg" /></figure><p>Vendoring for Go language is best presented in <a href="https://golang.org/cmd/go/">Go 1.5 documentation</a>:</p><blockquote>Go 1.5 includes experimental support for using local copies of external dependencies to satisfy imports of those dependencies, often referred to as vendoring. Setting the environment variable GO15VENDOREXPERIMENT=1 enables that experimental support.</blockquote><blockquote>When the vendor experiment is enabled, code below a directory named “vendor” is importable only by code in the directory tree rooted at the parent of “vendor”, and only using an import path that omits the prefix up to and including the vendor element.</blockquote><p><em>You can read further in </em><a href="https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/view"><em>Go 1.5 Vendor Experiment design document</em></a><em>.</em></p><p>There is a list of tools supporting this feature in <a href="https://github.com/golang/go/wiki/PackageManagementTools">Package Management Tools wiki page</a>. I have tested these in a corporate environment (Github Enterpise, firewalls, proxies etc.) for two projects with internal and external dependencies. Starting with the most popular tool, I have used each tool for “saving dependencies” and “updating dependencies”. I have listed the important points and problems occurred with their related Github issues.</p><p>Let’s get started:</p><h4><strong>g</strong><a href="https://github.com/tools/godep"><strong>odep</strong></a></h4><p>2919 stars, 257 forks</p><ul><li><strong>Saving Dependencies: </strong>“<em>godep save” u</em>ses the source files in GOPATH and copies them to vendor folder.</li><li><strong>Updating Dependencies: </strong>“godep restore” updates the source files under GOPATH directly.</li><li><strong>Problems: </strong>Could not handle recursive vendored projects as mentioned in this issue: <a href="https://github.com/tools/godep/issues/370">godep/issues/370</a></li></ul><h4>g<a href="https://github.com/Masterminds/glide">lide</a></h4><p>770 stars, 39 forks</p><ul><li><strong>Saving Dependencies: </strong>“<em>glide init”</em> &amp; “<em>glide install”</em>: Checks the source codes and creates YAML files with locked versions (<em>glide.lock</em> files)</li><li><strong>Updating Dependencies: </strong>“<em>glide up” i</em>s mentioned as updating dependencies recursively.</li><li><strong>Problems: </strong>YAML files (configuration files) could not be constructed properly for my case as mentioned in this issue: <a href="https://github.com/Masterminds/glide/issues/163">glide/issues/163</a></li></ul><h4>g<a href="https://github.com/kardianos/govendor">ovendor</a></h4><p>174 stars, 16 forks</p><ul><li><strong>Saving Dependencies:<em> </em></strong><em>“govendor init” c</em>hecks the source code and creates configuration file.</li><li><strong>Updating Dependencies: </strong>“<em>govendor add” &amp; “govendor update” </em>gets source code from GOPATH and copies under vendor or updates.</li><li><strong>Good Points: </strong>It shows the scope and status of dependencies such as “external”, “vendor”, “local” etc. and it has commands to manage dependencies with their scopes.</li></ul><h4><a href="https://github.com/FiloSottile/gvt">gvt</a></h4><p>148 stars, 12 forks</p><ul><li><strong>Saving Dependencies: </strong>No command for saving the dependencies is found.</li><li><strong>Updating Dependencies: </strong><em>“gvt fetch”</em> gets the dependencies from external repositories. <em>“gvt update”</em> gets the dependencies from local repositories.</li><li><strong>Problems: </strong>It is not working with enterprise Git repositories, therefore not completely tested.</li><li><strong>Good Points: </strong>It is well-documented and intuitive to use, I will use if there is no Enterprise Github related issues. It also fetches dependencies from external resources, which is good for updating dependencies.</li></ul><p>To conclude, I will be using <strong>govendor </strong>for corporate projects since it worked as expected without any problems but I will try <strong>gvt </strong>in my personal projects.</p><p>Feel free to add your comments about these or any other additional vendoring tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acf019ea476f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Karikatür Bul!]]></title>
            <link>https://medium.com/@onuryilmaz/karikat%C3%BCr-bul-aa1a958c9a09?source=rss-a8f48230e651------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa1a958c9a09</guid>
            <category><![CDATA[comics]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[türkçe]]></category>
            <dc:creator><![CDATA[OnurYılmaz]]></dc:creator>
            <pubDate>Mon, 20 Apr 2015 16:43:23 GMT</pubDate>
            <atom:updated>2015-04-20T16:45:07.149Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ZLrlu8Tr41sq6MFHInjjA.jpeg" /></figure><h4>Ortaya Çıkış</h4><p>Türkçe karikatürler için arama motoru eksiğini gidermek amacıyla 2010 yılı Haziran ayında başladığım altyapı çalışmalarını Temmuz ayında bitirdim ve <strong>karikaturbul.net</strong> sitesinde yayına başladım. Sosyal ağlar ve karikatür sitelerinde yer alan karikatürlerden başladığım indeksleme çalışmaları sonucunda 2 Ağustos günü 1487 karikatüre ulaştım ve EkşiSözlük’te <a href="http://www.eksisozluk.com/show.asp?id=19882306">başlık</a> açarak duyuru yaptım.</p><p>İlk günden itibaren tüm indekslenen karikatürleri; dialoglar, karakterler, çizerler, dekor, kıyafetler, renk, karikatürün geçtiği ortam ve espriler aracılığıyla ulaşılabilir hale getirdim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*LuzbtuuMNr_94KLG.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*OG8Cs_1V_IjoJgHq.jpg" /></figure><h4>Büyüme ve Gelişme</h4><p>İlk 100 günün sonunda 21 bin ziyaretçi ve 40 bin arama sonucuna ulaşan Karikatür Bul’a ait diğer 100 gün bilgilerini aşağıdaki infografikte bulabilirsiniz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/0*R7qxB7VrQw0OqzPe.jpg" /></figure><ul><li>Öncelikle “Rastgele” sayfası açıldı ve kullanıcılara iyi vakit geçirmeleri için arama yapmaksızın karikatür okuma şansı verildi.</li><li>2011 yılında en çok ziyaret edilen karikatür sitelerinden olan yigitozgur.net ile ortak bir çalışma yapıldı ve sitelerinde yer alan 1000′den fazla karikatür için arama hizmeti geliştirildi.</li><li>Sitede yer alan karikatürler internette yer alan diğer kaynaklardan indekslendiği için kaynakların kullanıcılara gösterilmesi sağlandı.</li><li>Kullanıcıların beğendikleri ve tekrar ziyaret etmek istedikleri karikatürleri kaydedebilmeleri için “Bookmark” sistemi geliştirildi ve kullanıma sunuldu.</li><li>Amatör çizerlerin arama indeksine dahil olması ile zenginleşmenin getireceği fayda düşünülerek “Sizden Bizden Çizerler” isminde bir çalışma başlatıldı.</li></ul><h4>Sosyal Medya’da Karikatur Bul!</h4><ul><li>Kurulduğu günden itibaren sosyal medyayı etkin olarak kullanan Karikatur Bul, <a href="http://condicon.com/">Condicon Agency</a>’nin profesyonel desteğini alarak sosyal medyadaki etkinliğini ileriye taşıdı.</li><li>Proje bittiğinde yaklaşık 500 beğeneni olan bir Facebook sayfasına ve 7.000 takipçisi olan bir Twitter hesabına sahipti.</li><li>Ekşi Sözlük başta olmak üzere internet sözlüklerini de kullanan Karikatür Bul, düzenli güncellenen bir blog sayfasına da sahipti.</li></ul><h4>Projenin Sonlanması</h4><p>29 Şubat 2012 günü Penguen dergisinden telif hakları ihlali hakkında yapılan ihtar sonucunda proje durduruldu. Sitede yer alan karikatürlerin kaldırılmasını isteyen Penguen yönetimine, karikatürlerin sitede yer almadığı, internette yer aldığı için indekslendiği belirtilmiş olsa da kanunen yasak olan bir içeriğe yönlendirme yaptığı düşünülerek proje tamamen durduruldu.</p><h4>Sonuç</h4><p>Projenin yaşam süresi olan 593 gün boyunca tam kapsamıyla bir projeyi yönetmeyi, altyapıyla ilgili sorunları çözmeyi, kullanıcı memnuniyetini ve kullanıcıyı sisteme dahil etme çalışmalarını öğrendim. Ayrıca internet girişimlerinin gereksinimleri, para kazanma yöntemleri, gelir-gider dengeleri hakkında tecrübe sahibi oldum.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa1a958c9a09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yeni Başlayanlar için Activiti]]></title>
            <link>https://medium.com/@onuryilmaz/yeni-ba%C5%9Flayanlar-i%C3%A7in-activiti-c45b86845c7f?source=rss-a8f48230e651------2</link>
            <guid isPermaLink="false">https://medium.com/p/c45b86845c7f</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[bpm-industry]]></category>
            <category><![CDATA[türkçe]]></category>
            <dc:creator><![CDATA[OnurYılmaz]]></dc:creator>
            <pubDate>Mon, 20 Apr 2015 15:45:53 GMT</pubDate>
            <atom:updated>2015-04-20T16:45:37.248Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kGzvFuVsUQNlCJRcKuMATA.jpeg" /></figure><h4>Activiti Nedir?</h4><p><a href="http://www.activiti.org/">Activiti</a>, iş süreçlerini yönetebileceğiniz bir “iş akış motoru” ve yönetim araçlarını içeren bir platformdur. Java ile açık kaynak kodlu geliştirilen Activiti ile <a href="http://www.omg.org/spec/BPMN/2.0/">BPMN 2.0</a> standardına uygun iş süreçlerinizi yönetebilirsiniz.</p><p>Mart 2010&#39;da <a href="http://en.wikipedia.org/wiki/JBPM">jBPM</a>’den ayrılan Tom Baeyens ve Joram Barrez, <a href="http://en.wikipedia.org/wiki/Alfresco_(software)">Alfresco</a> şirketinde Activiti için çalışmaya başladılar. Activiti, yaratıcılarının jBPM’den sahip oldukları deneyim temelli olsa da kodları tamamen baştan yazıldı. jBPM’in 1. versiyonundan 4. versiyonuna kadar elde ettikleri tecrübenin devamını göstermek için Activiti’nin ilk versiyonunu 5.0 olarak yayınladılar.</p><p>Activiti’nin modülleri şöyle listelenebilir:</p><ul><li>Modeler, web tabanlı grafik iş süreci yönetme arayüzü</li><li>Designer, iş süreci yaratmak için Eclipse eklentisi</li><li>Engine, temel iş süreci işlemcisi</li><li>Explorer, süreçleri yüklemek, başlatmak ve devamlılığını takip etmek için kullanılan bir web aracı</li></ul><h4>İş Süreçleri Yönetimi (Business Process Management) Nedir?</h4><p>İş Süreçleri Yönetimi (Business Process Management), merkezi bir yaklaşım aracılığıyla iş süreçleri temelinde kalite ve verimliliğin arttırılmasını hedefler. Bu kapsamda, süreçlerin ve hedeflerinin belirlenmesi, gerçekleşme seviyelerinin düzenli olarak raporlanması ve planlar ile kıyaslanması ile proaktif iyileştirmeler yapılmasını sağlar.</p><h4>Activiti Kurulumu</h4><p>Öncelikle Activiti’yi kullanabilmek için bir Java Runtime’a ve web container’a ihtiyacınız var. Activiti, <a href="http://tomcat.apache.org/">Apache Tomcat</a> ya da bu yazı içerisinde kullanıldığı gibi <a href="https://www.jboss.org/">Jboss </a>ile sorunsuz çalışıyor. Activiti Explorer’a ait WAR dosyasını <a href="http://www.activiti.org/download.html">Activiti web sitesinden</a> indirdikten sonra şu basamakları sırayla takip ettiğinizde varsayılan kurulumu hızlıca tamamlayabilirsiniz:</p><ul><li>İndirdiğiniz “activiti-explorer.war” dosyasını Tomcat için “webapps”, Jboss için “deployments” klasörünün altına kopyalayın.</li><li>Sunucuyu başlatın ve <a href="http://localhost:8080/activiti-explorer">http://localhost:8080/activiti-explorer</a> adresini tarayıcı ile açın.</li><li>Kullanıcı adı ve şifre olarak “kermit” / “kermit” ile giriş yapabilirsiniz.</li></ul><p>Yukarıdaki işlemleri tamamladığınızda, Activiti Explorer varsayılan kullanıcı ve örneklerle hafızada (in-memory) H2 veritabanı ile kullanıma hazır. Activiti Explorer ile yeni süreç başlatabilir, varolan görevleri kullanıcılara atayabilir, görevleri tamamlayabilir ve yönetim ekranlarını kullanabilirsiniz. Kısaca süreç motorunu kullanabileceğiniz ve yönetebileceğiniz kapsamlı bir paneliniz artık emrinizde!</p><p>Giriş yaptığınızda görevlerinizin (Tasks) listelendiği sayfa ile karşılaşıyorsunuz. Görevleri süreçler içerisinde size atanmış işler olarak düşünebilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*82W3Qub8aT41w5fN.jpg" /></figure><p>Süreçler sekmesinde (Processes) sizin başlattığınız süreçler, yüklenen modeller ve modellediklerinizi listeleyebiliyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GLR7xgHSdC5M168r.jpg" /></figure><p>Raporlar sekmesinde (Reports) süreçlere ait daha önce çalıştırılan ya da kaydedilen raporlara ulaşabiliyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QNzbkPKkMbIVwBgf.jpg" /></figure><p>Yönetim sekmesinde (Manage) ise veritabanı ve kullanıcılarla ilgili yönetim ekranlarına ulaşabilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mGst_AX_rPsFx0HK.jpg" /></figure><p>Modelleme aracı ile sadece web tarayıcınızı kullanarak BPMN 2.0 standardına uygun iş süreçleri modelleyebiliyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8Ib-Vmg_BT9ngQM3.jpg" /></figure><h4>Sonuç</h4><p>Bu yazıda Activiti’yi tanıtmak amacıyla Activiti Explorer’ın nasıl başlatılacağını ve yeteneklerini anlatmaya çalıştım. Activiti’nin tüm yeteneklerini incelemek için kendi sitesinde yer alan dökümanları incelemenizde fayda var. Ayrıca Activiti süreç motorunu Java API ya da REST API ile kendi sisteminiz içerisinde de kullanabilirsiniz. Tasarladığınız süreçler ile yapabileceklerinizin ise limiti yok, örneğin Java ile geliştirdiğiniz uygulamanızın tüm basamaklarını Activiti süreçleri ile modelleyebilir ve süreç motoru ile yönetebilirsiniz.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c45b86845c7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>