Universal gRPC client demonstration [Evans]

In this post, I am going to write demo for a tool which I have just met, it is called Evans. It is basically universal gRPC client. What it means ? Basically when you have gRPC server and would like to test gRPC calls without creating client, you can test server side calls with Evans. It is known that gRPC is very common communication method between microservices, it can be used for internal and external communication....

August 8, 2020 · 6 min · mrturkmen

NGINX Ingress Controller with HAProxy for k8s cluster

In recent post, which is Setup Highly Available Kubernetes Cluster with HAProxy , a highly available Kubernetes cluster is created. However, once I started to dig in and deploy some stuff to cluster, I realized that I am not able to connect any deployed application or services. For instance, when an web application is deployed using HAProxy load balancer (endpoint), and check from kubectl (on client side), its status is running....

July 10, 2020 · 9 min · mrturkmen

Setup Highly Available Kubernetes Cluster with HAProxy

The main purpose of this blog post a simple walkthrough of setting up Kubernetes cluster with external HAProxy which will be the endpoint where our kubectl client communicates over. Node specifications for this setup is given as shown in the table below. Keep in mind that all of them has access to each other with password and without password. The environment which Kubernetes cluster will stay is running on OpenStack. It means that once a configuration (ssh keys, hosts, and etc) is done for example master 1 then all other nodes could be initialized through snapshot of master 1....

July 5, 2020 · 9 min · mrturkmen

Kendimize özel VPN kurulumu

VPN Kuralım Bugün sizlere kendinize ait VPN sistemi nasıl kurulur, onu anlatmak istiyorum, daha önce İngilizce olarak, yayınladım fakat Türkçe bir kaynağın da faydalı olabileceğini düşündüm. Burada anlatılanlar, ubuntu ailesine (16.04,18.04) ait sunucular üzerinde test edilmiştir. İlk olarak bulut hizmeti sağlayan bir şirketten bu DigitalOcean, Google Cloud, Microsoft Azure veya Amazon olabilir, sunucu kiralıyorsunuz, en ucuzu ve makul olanı DigitalOcean tarafından sunulan aylık 5 dolar olan sunucu diyebilirim. Sunucuyu kiraladıktan ve ssh bağlantısını sağladıktan sonra VPN kurulumuna geçebiliriz....

July 1, 2020 · 5 min · mrturkmen

Go notes (Concurrency)

Concurrency in Go Concurrency in Go, makes Go programming language very unique and attractive compared to other languages, in this section I am going to share the notes which I took when I was watching coursera video series. If you did not already check previous post on Go, it could be helpful to check it out first. Go Notes (OOP) Specialization serie is Programming with Google Go Keep in mind that the notes are taken from several resources mainly from the course, however post may include other resources as well, I have referenced them when required, if nothing is referenced then it means, notes are taken from the course....

June 13, 2020 · 11 min · mrturkmen

Go notes (OOP topics)

In this post, I would like to share the notes that I took when I was completing following Go series education on Coursera. I can recommend it for anyone who would like to get rapid introduction to Go programming. Programming with Google Go I should admit that although it looks fancy, nothing can be compared to actual development and contribution to open source projects. The course itself is quite interesting and contains very handy exercises regarding to Go development mentality....

June 8, 2020 · 8 min · mrturkmen

Free VPN [WireGuard] Setup

Why VPN? It is crucial to do not expose your personal details or not being attacked by someone when you are connected to public endpoints such as coffee, airport, hotel and guest WIFI points. Furthermore, sometimes, people require to have organizatinal VPN access if organization itself does not provide one. For instance when students in universities have taken into consideration, it is quite important to reach resources that university is providing, it could be IEEE library access or enclosed resource which is only exclusive to internal network of the organization....

June 6, 2020 · 8 min · mrturkmen

no space left on this device

Summary In this post, one of the well known (-open to discuss :)-) error of “No space left on device” which is caused due to Docker will be solved with different approaches. Note: “No space left on device” error can be caused due to any other reason than docker itself. Hence, it would be nice to make sure that the error is caused due to docker volumes. You can check whether it is caused due to docker volumes or not by following steps over here...

May 18, 2020 · 6 min · mrturkmen

elasticsearch/performans

Giriş Elasticsearch üzerinde büyük boyuttaki verileri hızlı bir şekilde işlemek çaba gerektiren işlerden biridir. Bu yazıda bir çalışma esnasında yapılan elasticsearch performans iyileştirmelerini ve nasıl yapıldığını anlatmaya çalışacağım. Bu iyileştirme işlemlerinin nasıl yapıldığına geçmeden once elasticsearch mimarisinde bulunan bazı bileşenlerden bahsetmekte yarar var. Cluster : Elasticsearch bir veya birden fazla bilgisayarda entegre şekilde çalışabilir ve bu elasticsearch ün çalıştığı makinelere NODE denir. Cluster (Küme) ise bu node’ların oluşturduğu gruba verilen yapıya denir....

February 17, 2019 · 6 min · mrturkmen

vim

Özet Terminal üzerinden kullanılan en meşhur yazı düzenleme programı VIM hakkında komutlar ve bazı kullanışlı linux komutları Script nasıl yazılır. Dosya oluşturulur ve dosyanın başına terminalin yolu eklenir #!/bin/bash terminal komutlarını bu yolun altına yazınız. daha sonra dosyanın iznini ayarlayınız. chmod +x dosya_ismi terminal scriptini şu şekilde çalıştırılabilirsiniz. ./dosya_ismi örnek bash scripti !/bin/bash echo "Adınzı giriniz: " read isim echo "Sifrenizi giriniz" read sifre if [[ ( $isim == "admin" && $sifre == "random" ) ]]; then echo "Başarılı" else echo "Başarısız" fi VIM Birden fazla dosya üzerinde çalışmak $ vim *....

January 11, 2019 · 7 min · mrturkmen