Kubernetes Kubernetes Architecture by Editorial Staff March 4, 2023 written by Editorial Staff March 4, 2023 Kubernetes Objects: Namespaces: Namespaces is logically dividing our cluster to deploy resources. Namespaces provide a way to keep your objects organized within the cluster. Every object belongs to a namespace. Namespaces are a way to separate and organize objects in a cluster. When no namespace is specified, the cluster will assume the default namespace Default Namespace: For objects with no namespace mentioned Kube-system: For objects created by the kubernetes system. Each Kubernetes resource can only be in one namespace. Working with Kubectl: What is a Kubectl ? Kubectl is a command line tool that allows you to interact with Kubernetes. Kubectl uses the Kubernetes API to communicate with the cluster. Imperative. Declarative The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. Monolithic Applications: Few years back we used to see the majority of the apps getting 404 errors, because if some components are not working, everything also breaks. Because it’s behaving like a single unit, a complete monolithic application. When we say it’s a monolithic application, it’s a bulky application, in which the frontend, backend middleware and everything will be present in a single/complete unit. If we want to deploy, we need to deploy the whole component, we can’t deploy individual components. Micro services Overview: Micro services are a method, which we design. Micro services is a way of architecting, and micro services will be running in containers, and those containers are created by docker, and those containers are orchestrated/managed by a orchestration tool called Kubernetes. Split the application into a set of smaller, interconnected services. ETCD: ETCD is a backend data store for the Kubernetes cluster. . ETCD is a distributed, reliable key-value store that is Simple, Secure and Fast. It provides high availability storage for all data relating to the state of the cluster. Consistent and highly-available key value store used as Kubernetes’ backing store for all cluster data. The etc datastore, stores information regarding the cluster such as nodes, pods, config, secrets, accounts, roles, binding etc. Every information we see when we execute kubectl get command is from etcd server. Every change you make to the cluster, such as adding additional nodes, deploying pods, or replicas sets are updated in the etcd server. Only once it is updated in the etcd server the changes are considered to be completed. Kube controller manager: 0 comment 0 FacebookTwitterPinterestEmail Editorial Staff previous post Kubernetes Architecture next post Kubernetes Architecture You may also like Kubernetes Architecture March 4, 2023 Kubernetes Architecture March 4, 2023 Kubernetes Architecture March 4, 2023 Kubernetes Architecture March 4, 2023 Kubernetes Architecture March 4, 2023 KBS_1 December 29, 2022 Kubernetes December 19, 2022 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.