Me: “Son, can you plz install for me the K8S Cluster 😆 ??”
Son: ”On Prod Env ! 😲”
Me : “Yes Plz !! It’s easy than you think 😉”
Installing a K8S Cluster from scratch was challenging work to do 😫, the k8s official documentation is too big and the pieces of information are dispatched in different sections 😅, so for someone who wants to learn this technology from scratch, it takes much time to search, understand, install and configure.
I started this story with an imaginary conversation with my 3-year-old son to prove that it is too easy…
As a Software Architect or a FullStack-Developer (someone with a developer background), I always had this fear of the syntax of Terraform configurations (HashiCorp Configuration Language: HCL).
Every time I read an example of a file with this syntax I couldn’t understand anything and I didn't know why.
However, I figured out why: “it was because my brain was formatted or programmed about how to design software, how to make an algorithm to solve a problem, etc … And nothing else”, so I tried to understand the Terraform config file with this mindset and I complicated my understanding of a…
Making serverless architectures tied to microservices architectures on the AWS cloud is a fun job and it allows us to learn new things every day
But mostly, we need Abstract Patterns that already exist to implement them and adapt them according to our use case to avoid spending a lot of time designing something that already exists.
My goal in this Story is to introduce you to one of my favorite Patterns that securely marry serverless and micro-services architecture 😎.
This Pattern will help you to save lots of time when designing and thinking about a project that requires authentication…
This article is the continuation of the previous one
In a real Prod Environment, the exposed services must use LoadBalancer or IngressController or both to communicate with the outside.
However for the bonus examples i’ll make it simple by exposing our services via NodePorts
The Goals is always to be familiarized with this techno 😉
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml
# created a service account
kubectl create serviceaccount dashboard-admin-sa# Bind the dashboard admin service account to the cluster-admin role
kubectl create clusterrolebinding dashboard-admin-sa --clusterrole=cluster-admin --serviceaccount=default:dashboard-admin-sa
kubectl edit svc kubernetes-dashboard -n kubernetes-dashboard
# in the file change type to be NodePort
I remember my first bill with AWS was $5 in 2016 knowing I had a year of the free tier 😠, I was shocked because I was sure that I only used the included services in the free offer.
However, when I studied my billing I discovered that I chose developers Support and is not included in the free tier 😛.