Home Kubernetes Kubernetes Architecture

Kubernetes Architecture

by Editorial Staff

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.

  1. Imperative.
  2. 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:

You may also like

Leave a Comment

Contact US

Phone Number

+91 XXXXX XXXXX

Location

2nd floor, # 85, SGR Dental College Rd, Marathahalli, Bengaluru, Karnataka 560037

Email Address

contact@dbacentre.com

    dbacentre.com is a website that publishes practical and helpful out-of-the-box articles for aspirants like you and me. In addition, we seek to present exceptional, remarkable tutorials and tips that modern cloud professionals will appreciate.

     

    Subscribe now

    Edtior's Picks

    by mukilan
    Sql
    by mukilan

    ©2023 Mr DBA CENTRE. All Right Reserved. Designed and Developed by Begintech.in