First of all, RedHat is not my favorite company in the FOSS world. many love the strict security policies of RedHat but I am not that security freak guy. I am always setenforce 0 SELinux guy.as you know I’m currently living in Tehran, and many of the tech industry companies due...

my old friendWhy ?When you are living in Iran you most know the network technologies very well , as Iran and china internet censorship consider vast services include streaming and news and almost everything outside of country. another painfull story is sanctions , almost every service outside of Iran fear to service Iranian because...

for using kubernetes secrets instead of using configmaps you most create .env key values into a secret in Kubernetes, laravel support environment variable so you can easily import those secrets from .env file.kubectl create secret generic laravel-env — from-env-file=.env and in deployment template iscontainers:envFrom: - secretRef: name: laravel-env

https://learnk8s.io/blog/kubernetes-deploy-laravel-the-easy-way/laravel is popular and known for rapid development but deploying php frameworks and scale them in kubernetes is a little bit tricky.SessionsSince HTTP driven applications are stateless, sessions provide a way to store information about the user across requests, for example when you get login in a laravel website your session...

The rancher is a great setup with easy-to-config and magnificent UI and integration with cloud IaaS providers like AWS. I have been a fan of the project since the early state of Rancher in version 1 with cattle style deployment before kubernetes become standard for the community of container orchestration.Calico...

for the past week i was working on sending nginx custom json log to elasticsearch with replacing /hide sensitive data , one of the most painful problem with fluntd was problem in parsing json format , nginx was working correct as i expected but fluentd was not able to parsing some of...

Laravel 5.6 and Docker logsin my previous post i show how to send docker json log to elk by gelf log driver , but first of all we need send php error or message logs to stdout or stderror. by default official php image send logs to stdout but i use alpine...

Kubernetes autodeploy with Gitab CIThere are two ways for upgrade service in kubernetes , use directly api or kubectl , i perefer kubectl due readable yaml files .for rancher v2 api call should be like this example :https://medium.com/media/b9ac1b3bee61c217616aa4a7603daa72/hrefyou can create an script and run in your ci for upgrading your service but as i mention...