Showing posts with label Kubernetes. Show all posts
Showing posts with label Kubernetes. Show all posts
What is Docker Swarm || Docker Swarm Vs Kubernetes

What is Docker Swarm || Docker Swarm Vs Kubernetes


What is Docker Swarm || Docker Swarm Vs Kubernetes


Docker Swarm


What is a Docker Swarm?

Docker Swarm is a clustering and booking tool for Docker containers. With Swarm, IT specialists and engineers can set up and deal with a group of Docker nodes as a solitary virtual framework. When a gathering of machines have been bunched together, you can even now run the Docker orders that you're used to, however, they will presently be done by the machines in your group. The exercises of the cluster are constrained by a swarm chief, and machines that have joined the group are alluded to as nodes.
Kubernetes Security Basics

Kubernetes Security Basics


Kubernetes Security Basics


Kubernetes Security


Kubernetes containers and tools empower businesses to computerize numerous parts of application deployment, giving colossal business benefits. Be that as it may, these new deployments are similarly as powerless against assaults and exploits from programmers and insiders as conventional environments, making Kubernetes security a basic part for all arrangements. 
Kubernetes - Kubectl Commands

Kubernetes - Kubectl Commands

Kubernetes - Kubectl Commands


In my previous article, we already have learned what is Kubernetes, its architecture and what is the difference betweenDocker and Kubernetes.

In this article, we will looking into some of the frequently used Kubeclt commands that are used to manage and interact Kubernetes objects and clusters along with its purpose.





Below is the list of most frequently used Kubeclt commands.

Kubeclt Command

Purpose
kubectl api-versions

This command will print the supported versions of API on the cluster.

kubectl apply –f <filename>

This command will configure a resource by file or stdin

kubectl attach <pod> –c <container>

This command will attach things to the running container.
kubectl cluster-info

This command will display the cluster Information.

kubectl cluster-info dump

This command will dump relevant information regarding cluster for debugging and diagnosis.

kubectl config <SUBCOMMAD>

This command will Modifies the kubeconfig file.

kubectl config current-context

This will display displays the current context.

kubectl config delete-cluster <Cluster Name>

This will delete the specified cluster from kubeconfig
kubectl config delete-context <Context Name>

This command will delete a specified context from kubeconfig.

kubectl config get-cluster

This command will display cluster defined in the kubeconfig.

kubectl config get-context <Context Name>

This command will Describe one or many contexts.
kubectl config set-credentials cluster-admin --username = ankur --
password = SesrweU9l75qciy

This command will Set the user entry in kubeconfig
kubectl config set PROPERTY_NAME PROPERTY_VALUE

This command will set an individual value in kubeconfig file.

kubectl config use-context <Context Name>

This command will set the current context in kubectl file.

kubectl cp <Files from source> <Files to Destinatiion>

This command will copy files and directories to and from containers.

kubectl create –f <File Name>

This command will create the resources by filename.

kubectl replace -f FILENAME

This command will replace a resource by file name or stdin.

Kubectl rollout <Sub Command>

This command is capable of managing the rollout of deployment.

kubectl set image (-f FILENAME | TYPE NAME)

This command will update the image of a pod template.

kubectl top node [node Name]

This command will display CPU/Memory/Storage usage.









Kubernetes vs Docker. Who's the Bigger and Better?

Kubernetes vs Docker. Who's the Bigger and Better?



Kubernetes vs Docker. Who's the Bigger and Better?

Kubernetes vs Docker

"Kubernetes versus Docker" is an expression that you overhear nowadays as Kubernetes turns out to be prominent as a container orchestration key. Yet, "Kubernetes versus Docker" is also a confusing expression. At the point when you separate it, these words do not mean what individuals expect, since Docker and Kubernetes are not direct competitors. Docker refers to containerization platform while Kubernetes a container orchestrator meant for container platforms. Let's discuss and break them down for clarity:
What is Kubernetes?

What is Kubernetes?


What is Kubernetes?

Introduction to Kubernetes


In 2017, Kubernetes (k8s) overcome the container orchestration space. For a long time, Kubernetes' opponents, for example, Docker Swarm and Mesos have been presenting their own container orchestration implements. Now the two of them helped Kubernetes inside their environments. The biggest cloud suppliers, for example, AWS, Microsoft Azure and Oracle Cloud declared Kubernetes reconciliations into their individual cloud stages. Thus, every developer would profit by learning the nuts and bolts of Kubernetes. That is actually what we will do in this article.