Taral (@codeNbit) profile picture
Present
Joined December 2015
Photo by Taral (@codeNbit)Photo by Taral (@codeNbit)Photo by Taral (@codeNbit)
What is k8s (Kubernetes)? k8s is a container orchestration system. It is used for container deployment and management. Its design is greatly impacted by Google’s internal system Borg. A k8s cluster consists of a set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node. The worker node(s) host the Pods that are the components of the application workload. The control plane manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability. 🔹 Control Plane Components 1. API Server The API server talks to all the components in the k8s cluster. All the operations on pods are executed by talking to the API server. 2. Scheduler The scheduler watches the workloads on pods and assigns loads on newly created pods. 3. Controller Manager The controller manager runs the controllers, including Node Controller, Job Controller, EndpointSlice Controller, and ServiceAccount Controller. 4. etcd etcd is a key-value store used as Kubernetes' backing store for all cluster data. 🔹 Nodes 1. Pods A pod is a group of containers and is the smallest unit that k8s administers. Pods have a single IP address applied to every container within the pod. 2. Kubelet An agent that runs on each node in the cluster. It ensures containers are running in a Pod. 3. Kube Proxy kube-proxy is a network proxy that runs on each node in your cluster. It routes traffic coming into a node from the service. It forwards requests for work to the correct containers. -- Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
19
250
1
1,205
188,727
This is incredible🤯 You can chat with your data locally without using ChatGPT 😲 Run queries on your documents without worrying about privacy I am building a UI for PrivateGPT Built using @langchain and @huggingface and inspired from @ivanmartit 🔥 More details below ↓
71
77
2
242
43,484
Are you still spending hours a week copy/pasting ChatGPT prompts? Steal this simple setup to insert 4000 character prompts in 1 second:
21
72
4
514
211,213
21 lessons learned in 2021:
389
5,662
695
21,156
💅 7 Web Design Principles you should know as a Frontend developer. 🧵 Thread 👇
59
921
24
4,223
💡 How I enjoy doing Code Reviews 💡 1. Read the description of the merge request. 2. Read the Ticket in order to understand the requirements, and try keeping in mind if tests need to be extended/added somehow. 3. Review the diffs. 4. Checkout the branch and test locally.
1
1
14
That feeling when you first discovered `document.designMode`
367
10,210
1,557
32,634
This graphic explaining different array methods in #javascript 🤩 Highly unfortunate the author is unknown 😔
67
1,289
77
6,382
Taral retweeted
Demystifying NFTs: (A thread)
318
3,306
528
13,765
There are a lot of tools you can learn for front end development. And you might wonder what problems each one solves and why you should learn them. To help you sort through them, this article covers JS tools you should know and why they're important. freecodecamp.org/news/front-…
1
90
361
AIS tracking of Ever Given running aground @steffanwatkins
85
1,795
294
4,120
The Z-index is a powerful yet confusing concept of CSS Let's make it easy in this quick thread👇 🧵
38
180
7
855
The happier you get, the more of a private person you become.
29
364
32
3,126
Taral retweeted
Get what you want. Don’t want what you can’t.
161
683
84
6,989
Some useful web developer tools 1. responsively.app See how your project looks on desktop, tablet, mobile devices 2. postwomen.io A free, fast and beautiful API request builder 3. docracy.com Free legal documents Show your love in the comments.
12
120
11
613
Taral retweeted
The Internet enables eight billion monopolies.
153
538
115
7,453
Every day you are alive is already a gift.
11
92
6
965
"Free education is abundant, all over the internet. It’s the desire to learn that’s scarce." - @naval
1
90
5
700
Taral retweeted
If you want to make the wrong decision, ask everyone.
293
4,988
587
26,755