TOP Ansible Commands

TOP Ansible Commands

TOP Ansible Commands

Ansible is an automation tool created for the sole purpose of handling redundant that would otherwise slow down your development cycle. The automation tool is used in IT services such as application deployment, management, provisioning, and inter-service orchestration. In times of quickly scaling IT industries and their ever-increasing complexity of work, Ansible is like Moses created to shepherd the hapless sheep of through the valley of IT development.
What is Ansible?

What is Ansible?

What is Ansible?

With the exponential growth of IT industries around the globe, it’s becoming increasingly difficult to manually keep track of all development tasks. Automation adds efficiency to your company allowing your developers to concentrate their efforts where it matters the most.
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

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

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.

AWS VS Azure VS Google - Cloud Comparison

AWS VS Azure VS Google - Cloud Comparison

AWS VS AZURE VS Google Cloud Platform

AWS VS AZURE VS Google Cloud Platform

Being the contemporary cloud giants of the 21st century, AWS, AZURE, and GCP have a lot to offer. While AWS has years of experience backing it up, GCP seems to be the prodigy of cloud-based programming, providing limited but premium services. AZURE is smacked right in the middle, boasting remarkable performance second only to AWS.