DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
16.1K subscribers
1.33K photos
14 videos
501 files
1.28K links
https://projects.prodevopsguytech.com // https://blog.prodevopsguytech.com

• We post Daily Trending DevOps/Cloud content
• All DevOps related Code & Scripts uploaded
• DevOps/Cloud Job Related Posts
• Real-time Interview questions & preparation guides
Download Telegram
🔔 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 and why should you 𝗹𝗲𝗮𝗿𝗻 𝗶𝘁 𝗮𝘀 𝗠𝗟𝗢𝗽𝘀/𝗠𝗟/𝗗𝗮𝘁𝗮 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿?

➡️Today we look into the Kubernetes system from a bird's eye view.

➡️ 𝗦𝗼, 𝘄𝗵𝗮𝘁 𝗶𝘀 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 (𝗞𝟴𝘀)?

𝟭: It is a container orchestrator that performs the scheduling, running and recovery of your containerised applications in a horizontally scalable and self-healing way.

➡️Kubernetes architecture consists of two main logical groups:

𝟮: Control plane - this is where K8s system processes that are responsible for scheduling workloads defined by you and keeping the system healthy live.
𝟯: Worker nodes - this is where containers are scheduled and run.

➡️ 𝗛𝗼𝘄 𝗱𝗼𝗲𝘀 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 𝗵𝗲𝗹𝗽 𝘆𝗼𝘂?

𝟰: You can have thousands of Nodes (usually you only need tens of them) in your K8s cluster, each of them can host multiple containers. Nodes can be added or removed from the cluster as needed. This enables unrivaled horizontal scalability.
𝟱: Kubernetes provides an easy to use and understand declarative interface to deploy applications. Your application deployment definition can be described in yaml, submitted to the cluster and the system will take care that the desired state of the application is always up to date.
𝟲: Users are empowered to create and own their application architecture in boundaries pre-defined by Cluster Administrators.

In most cases you can deploy multiple types of ML Applications into a single cluster, you don’t need to care about which server to deploy to - K8s will take care of it.
You can request different amounts of dedicated machine resources per application.
If your application goes down - K8s will make sure that a desired number of replicas is always alive.
You can roll out new versions of the running application using multiple strategies - K8s will safely do it for you.
You can expose your ML Services for other Product Apps to use with few intuitive resource definitions.

❗️Having said this, while it is a bliss to use, usually the operation of Kubernetes clusters is what is feared. It is a complex system.
❗️Master Plane is an overhead, you need it even if you want to deploy a single small application.


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1709014059543.gif
5.6 MB
🐧 𝗟𝗶𝗻𝘂𝘅 𝗕𝗼𝗼𝘁 𝗣𝗿𝗼𝗰𝗲𝘀𝘀 𝗶𝗻 𝘁𝗵𝗲 𝘀𝗶𝗺𝗽𝗹𝗲𝘀𝘁 𝘄𝗮𝘆 🚀

Here are the 8 steps to understand the Linux boot process in the easiest manner.


😎 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
How to Get Into DevOps?

There isn't a one-size-fits-all path to DevOps.

If you come from a background in development, QA, performance, or support, you should focus on learning about the Cloud, infrastructure automation, container orchestration, and CI/CD.

Most importantly, you must work on real-world use cases.

If you are a fresher, you must concentrate on IT fundamentals, programming, OS concepts, Cloud, and Containers.

Getting a job in the DevOps domain as a newcomer can be challenging. Internships are a good starting point.

This is because most companies (primarily service-based) seek experienced individuals who can immediately contribute to projects.

As the owner of a consulting business, I've noticed that clients always prefer hiring experienced professionals.

Dedicate yourself to learning and avoid shortcuts.

With hard work, luck will naturally come your way. ☺️


🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 https://www.prodevopsguy.site/blogs/DevSecOps-GitLab_CI-CD-project


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🌐 Mastering Git commands is essential for efficient collaboration and version control in software development. 🛠

Whether you're a beginner or seasoned developer, understanding Git basics is a must!


🎄 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📣 Looking for AWS DevOps Engineer.

🌐 Location - Bengaluru
🔖 Experience - 4+ Years

✉️ Interested candidates share your updated resume on yash.lohiya@connexials.com


🎄 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1712476913889.gif
171.8 KB
📣 Streamlining CI/CD Workflow with GitHub, Jenkins, SonarQube, Docker, Argo-CD and GitOps. ⚙️

𝟏 . 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧.
----------------------------------------------------------------------------------
📌 Git Repo consists of source code for the Spring Boot application. Any commit/changes that happen here will be triggered to Jenkins through Webhook.

📌 As we are using Java application, we use Maven to build the application. If it is a success, it will move to the next stage i.e. code analysis. If it fails, then Jenkins will send an alert to the user through email or Slack notification.

📌 Code Analysis is done through SonarQube. It will check for code vulnerabilities and if it does have one, will send an alert to the user through email or Slack notification. If it does not, then it will move to the next step: Docker.

📌 Here, Docker is used for building the docker image. This image will be saved in Docker hub. If it is a success, it will move to the next step: Continuous Deployment. If it fails, then Jenkins will send an alert to the user and the pipeline ends there.

𝟐. 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭
----------------------------------------------------------------------------------
📌 The CD will get to know that the image is updated in the Docker Hub through Shell script/ArgoCD Image Updater. As a new image is updated, the new version is updated in the manifests folder's deployment.yaml file.

📌 GitOps tools are basically Kubernetes controllers, which are sitting inside the Kubernetes cluster. Argo CD will try to maintain a state between the Git repository and the Kubernetes cluster. Whenever there is a change, ArgoCD will pick those changes and deploy the application in the Kubernetes cluster.

🔗 BLOG URL HERE

🔗 GITHUB URL HERE


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
What can be better than ansible for automation? 👾

➡️Ansible tower is an opensource product of red hat it is a powerful automation tool that takes automation to the next level.

Ansible Tower enhances the best qualities of ansible and provides additional capabilities making it for suited for enterprise workloads.

➡️Here are a few advantages:
➡️ It provides a user-friendly GUI for managing and monitoring automation workflows, making it easier for teams to visualize and interact with their automation tasks.
➡️ Ansible Tower can manage large-scale deployments and complex infrastructures more efficiently than plain Ansible.
➡️ Ansible Tower enables the scheduling of playbook runs and automation jobs, allowing organisations to automate routine tasks, perform maintenance activities.
➡️ Ansible Tower provides advanced inventory management features, allowing enterprises to organize and dynamically update their infrastructure inventory or use external sources.
➡️ The granular RBAC capabilities allows administrators to define and enforce permissions for different users and team.


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🔣 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 𝗖𝗼𝗺𝗺𝗼𝗻 𝗘𝗿𝗿𝗼𝗿𝘀 🔣

1️⃣.𝙄𝙢𝙖𝙜𝙚𝘽𝙖𝙘𝙠𝙋𝙪𝙡𝙡𝙊𝙛𝙛 :-
We face this issue when the image is not present in registry or the given image tag is wrong.
Make sure you provide correct registry url, image name and image tag.

We might face authentication failures, when image is being stored in a private registry, make sure to create secret with private registry credentials and add created secret in Kubernetes Deployment File to pull docker image.

2️⃣.𝘾𝙧𝙖𝙨𝙝𝙇𝙤𝙤𝙥𝘽𝙖𝙘𝙠𝙊𝙛𝙛 :-
We face this issue when the process deployed inside container not running then the POD will be moved to CrashLoopBackOff.
POD might be running out of CPU or memory, POD should get enough resources allocated that’s cpu and memory for an application to be up and running, to fix that check in Resources Requests and Resources Limits.

3️⃣.𝙊𝙊𝙈 𝙆𝙞𝙡𝙡𝙚𝙙 - 𝙊𝙪𝙩 𝙊𝙛 𝙈𝙚𝙢𝙤𝙧𝙮 :-
We face this issue when PODs tries to utilise more memory than the limits we have set.
We can resolve it by setting appropriate resource request and resource limit.

4️⃣.𝙋𝙊𝘿 𝙎𝙩𝙖𝙩𝙪𝙨 – 𝙋𝙚𝙣𝙙𝙞𝙣𝙜 :-
When nodes might not be ready and required resources like CPU and Memory may not be available in nodes for the PODs to be up and running.

5️⃣.𝙋𝙊𝘿 𝙎𝙩𝙖𝙩𝙪𝙨 – 𝙒𝙖𝙞𝙩𝙞𝙣𝙜 :-
POD will be scheduled to a node but POD won’t be running in scheduled node.
We can fix this by providing correct image name, image tag and authentication to registry.

6️⃣.𝙋𝙊𝘿 𝙬𝙞𝙡𝙡 𝙗𝙚 𝙪𝙥 𝙖𝙣𝙙 𝙧𝙪𝙣𝙣𝙞𝙣𝙜 𝙖𝙣𝙙 𝙖𝙥𝙥𝙡𝙞𝙘𝙖𝙩𝙞𝙤𝙣 𝙞𝙨 𝙣𝙤𝙩 𝙖𝙘𝙘𝙚𝙨𝙨𝙞𝙗𝙡𝙚.
We can fix this by creating appropriate service.
If service is already created and application is still not accessible, make sure application and service are deployed in same namespace.

7️⃣.𝙋𝙊𝘿 𝙎𝙩𝙖𝙩𝙪𝙨 – 𝙀𝙫𝙞𝙘𝙩𝙚𝙙 :-
We can resolve this by setting appropriate resource requests and resource limits for the PODs and having enough resources in worker nodes.


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥 Here is a list of some Resume Ready DevOps projects.

1⃣ 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 𝗖𝗜𝗖𝗗 𝘄𝗶𝘁𝗵 𝗚𝗶𝘁𝗛𝘂𝗯 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻
🔗 https://lnkd.in/gbDBEASe

🔢 𝗗𝗲𝗽𝗹𝗼𝘆 𝗝𝗮𝘃𝗮 𝗮𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝘄𝗶𝘁𝗵 𝗖𝗼𝗺𝗽𝗹𝗲𝘁𝗲 𝗖𝗜/𝗖𝗗 𝗽𝗶𝗽𝗲𝗹𝗶𝗻𝗲 𝗝𝗲𝗻𝗸𝗶𝗻𝘀
🔗 https://lnkd.in/gSJaF4VN

🔢 𝗗𝗲𝘃𝗢𝗽𝘀 𝗖𝗜𝗖𝗗 𝗣𝗶𝗽𝗲𝗹𝗶𝗻𝗲 𝗦𝗲𝘁𝘂𝗽 𝗧𝗵𝗿𝗼𝘂𝗴𝗵 { 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 | 𝗡𝗲𝘅𝘂𝘀 | 𝗦𝗼𝗻𝗮𝗿𝗾𝘂𝗯𝗲 | 𝗧𝗼𝗺𝗰𝗮𝘁 | 𝗠𝗮𝘃𝗲𝗻 }
🔗 https://lnkd.in/gvDYKMxV

🔢 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 𝗖𝗜𝗖𝗗 𝘄𝗶𝘁𝗵 𝗚𝗶𝘁𝗛𝘂𝗯 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻
🔗 https://lnkd.in/g-eaM_EA

🔢 𝗖𝗼𝗻𝘁𝗶𝗻𝘂𝗼𝘂𝘀 𝗗𝗲𝗹𝗶𝘃𝗲𝗿𝘆 𝗣𝗶𝗽𝗲𝗹𝗶𝗻𝗲 𝗳𝗼𝗿 𝗔𝗺𝗮𝘇𝗼𝗻 𝗘𝗖𝗦 𝗨𝘀𝗶𝗻𝗴 𝗝𝗲𝗻𝗸𝗶𝗻𝘀, 𝗚𝗶𝘁𝗛𝘂𝗯, 𝗮𝗻𝗱 𝗔𝗺𝗮𝘇𝗼𝗻 𝗘𝗖𝗥
🔗 https://lnkd.in/gN7WXAnX

🔢 𝗣𝗿𝗼𝘃𝗶𝘀𝗶𝗼𝗻𝗶𝗻𝗴 𝟮-𝘁𝗶𝗲𝗿𝘀 𝗮𝗻𝗱 𝟯-𝘁𝗶𝗲𝗿𝘀 𝗔𝗪𝗦 𝗩𝗣𝗖 𝗶𝗻𝗳𝗿𝗮𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲 𝘂𝘀𝗶𝗻𝗴 𝗧𝗲𝗿𝗿𝗮𝗳𝗼𝗿𝗺
🔗 https://lnkd.in/g2Y_Nk6N

🔢 𝗕𝗲𝘀𝘁 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 𝗣𝗶𝗽𝗲𝗹𝗶𝗻𝗲 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗙𝗼𝗿 𝗕𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀
🔗 https://lnkd.in/gF93WwrB

🔢 𝗘𝗻𝗱 𝘁𝗼 𝗘𝗻𝗱 𝗖𝗜/𝗖𝗗 𝗽𝗶𝗽𝗲𝗹𝗶𝗻𝗲 𝘂𝘀𝗶𝗻𝗴 𝗚𝗶𝘁𝗛𝘂𝗯 𝗔𝗰𝘁𝗶𝗼𝗻𝘀 𝗳𝗼𝗿 𝗔𝗻𝗱𝗿𝗼𝗶𝗱 𝗔𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻
🔗 https://lnkd.in/gB-Vvi7r

🔢 𝗖𝗿𝗲𝗮𝘁𝗲, 𝗽𝘂𝗯𝗹𝗶𝘀𝗵, 𝗮𝗻𝗱 𝘀𝘁𝗼𝗿𝗲 𝗡𝗴𝗶𝗻𝘅 𝗗𝗼𝗰𝗸𝗲𝗿 𝗶𝗺𝗮𝗴𝗲 𝗶𝗻 𝗔𝗪𝗦 𝗦𝟯 𝘂𝘀𝗶𝗻𝗴 𝗗𝗼𝗰𝗸𝗲𝗿 𝗮𝗻𝗱 𝗕𝗮𝘀𝗵
🔗 https://lnkd.in/g4iUncv9


🎄 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🎙 Kubernetes is an open-source 𝗰𝗼𝗻𝘁𝗮𝗶𝗻𝗲𝗿 𝗼𝗿𝗰𝗵𝗲𝘀𝘁𝗿𝗮𝘁𝗶𝗼𝗻 system for automating software deployment, scaling, and management.

➡️ Features:
Load balancing
Self-healing
High availability / Ensure no downtime / Maintain fault tolerance
Performance enhancement
Auto-scaling

Several key components of Kubernetes are important to understand:

𝗣𝗼𝗱 ➡️ Represents one or more containers running in a cluster.
𝗦𝗲𝗿𝘃𝗶𝗰𝗲 ➡️ An abstract way to access pod/application.
𝗡𝗮𝗺𝗲𝘀𝗽𝗮𝗰𝗲 ➡️ Used to remove name collision within a cluster. It supports multiple virtual clusters on the same physical cluster.
𝗡𝗼𝗱𝗲 ➡️ Kubernetes worker machine.
𝗖𝗹𝘂𝘀𝘁𝗲𝗿 ➡️ Consisting of a group of nodes running containerized applications on Kubernetes.
𝗥𝗲𝗽𝗹𝗶𝗰𝗮𝗦𝗲𝘁 ➡️ Several replicas of running pods. It helps in achieving high availability and scalability.
𝗟𝗮𝗯𝗲𝗹 ➡️ Giving a name to Kubernetes objects so that they can be identified across the system.
𝗞𝘂𝗯𝗲𝗹𝗲𝘁 ➡️ Agent that runs on each node and checks if the containers are running in the pods.
𝗞𝘂𝗯𝗲𝗰𝘁𝗹 ➡️ Command-line utility to interact with the Kubernetes API server.
𝗞𝘂𝗯𝗲-𝗽𝗿𝗼𝘅𝘆 ➡️ Network proxy which contains all the network rules on each node in the cluster.


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
⭐️ "He's the Best Kubernetes Admin"⭐️

Ever noticed how our tech heroes often go unsung? Picture this: He's the best Kubernetes admin out there – orchestrating containers like a maestro, ensuring seamless scalability, and keeping the digital cogs turning smoothly. But mention his Kubernetes prowess outside our tech bubble, and it’s like announcing you collect rare stamps at a rock concert. 🎸📜

It's a funny (and sometimes frustrating) truth in tech. The complexities that fascinate us – like the intricate dance of a well-managed Kubernetes cluster – are often Greek to the rest of the world. They don't see the wizardry behind keeping systems robust and responsive. That is, until there's a glitch!
#KubernetesAdmin #UnsungHeroes


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🟣Terraform less used CLI commands


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🚨 Everyone says, 'The best way to learn AWS is to build in the cloud.'

BUT...

'How? Where can I get a sample project?' This is the most common question I hear from aspiring and existing cloud engineers.

➡️ Here are 10 handpicked projects you can build for FREE:

➡️ Build a Serverless Web Application: https://lnkd.in/gCgdvmYK

➡️ Create Continuous Delivery Pipeline: https://lnkd.in/gSw_zaVM

➡️ Create and Connect to a MySQL Database with Amazon RDS: https://lnkd.in/gksv8u92

➡️ Amazon EC2 Backup and Restore Using AWS Backup: https://lnkd.in/gxXBasme

➡️ Batch Upload Files to Amazon S3 Using the AWS CLI: https://lnkd.in/gegNihnk

➡️ Deploy a Web App on AWS Amplify: https://lnkd.in/gPdaC65x

➡️ Remotely Run Commands on an EC2 Instance with AWS Systems Manager: https://lnkd.in/gGvd4SZ7

➡️ Detect, Analyze, and Compare Faces with Amazon Recognition: https://lnkd.in/g478VkKm

➡️ Create an Audio Transcript with Amazon Transcribe: https://lnkd.in/gukPRryX

➡️ Analyze insights in text with Amazon Comprehend: https://lnkd.in/gw-miUPm

SHARE if this was helpful to you - to benefit others ♻️


🛒 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔘 DevOps Interview Q&A (Linux) 🐧

𝟏. 𝐈𝐟 𝐲𝐨𝐮 𝐰𝐚𝐧𝐭 𝐭𝐨 𝐫𝐮𝐧 𝐚 𝐭𝐚𝐬𝐤/𝐬𝐜𝐫𝐢𝐩𝐭 𝐢𝐧 𝐛𝐚𝐜𝐤𝐠𝐫𝐨𝐮𝐧𝐝 𝐞𝐯𝐞𝐧 𝐢𝐟 𝐲𝐨𝐮 𝐜𝐥𝐨𝐬𝐞 𝐲𝐨𝐮𝐫 𝐭𝐞𝐫𝐦𝐢𝐧𝐚𝐥, 𝐰𝐡𝐚𝐭 𝐢𝐬 𝐭𝐡𝐞 𝐰𝐚𝐲?
Ans: Using nohup command

𝟐. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲𝐬 𝐢𝐧𝐟𝐨𝐫𝐦𝐚𝐭𝐢𝐨𝐧 𝐚𝐛𝐨𝐮𝐭 𝐤𝐞𝐫𝐧𝐞𝐥-𝐫𝐞𝐥𝐚𝐭𝐞𝐝 𝐦𝐞𝐬𝐬𝐚𝐠𝐞𝐬 𝐚𝐥𝐨𝐧𝐠 𝐰𝐢𝐭𝐡 𝐡𝐚𝐫𝐝𝐰𝐚𝐫𝐞 𝐚𝐧𝐝 𝐬𝐲𝐬𝐭𝐞𝐦 𝐬𝐭𝐚𝐫𝐭𝐮𝐩 𝐦𝐞𝐬𝐬𝐚𝐠𝐞𝐬 𝐬𝐭𝐨𝐫𝐞𝐝 𝐢𝐧 𝐤𝐞𝐫𝐧𝐞𝐥 𝐫𝐢𝐧𝐠 𝐛𝐮𝐟𝐟𝐞𝐫?
Ans: dmesg command

𝟑. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐜𝐚𝐧 𝐲𝐨𝐮 𝐮𝐬𝐞 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐚 𝐥𝐢𝐬𝐭 𝐨𝐟 𝐜𝐮𝐫𝐫𝐞𝐧𝐭𝐥𝐲 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐞𝐝 𝐏𝐡𝐲𝐬𝐢𝐜𝐚𝐥 𝐕𝐨𝐥𝐮𝐦𝐞𝐬?
Ans: lvs command

𝟒. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲𝐬 𝐦𝐞𝐦𝐨𝐫𝐲 𝐮𝐬𝐚𝐠𝐞, 𝐢𝐧𝐜𝐥𝐮𝐝𝐢𝐧𝐠 𝐭𝐡𝐞 𝐚𝐦𝐨𝐮𝐧𝐭
𝐨𝐟 𝐬𝐰𝐚𝐩 𝐬𝐩𝐚𝐜𝐞 𝐛𝐞𝐢𝐧𝐠 𝐮𝐬𝐞𝐝?
Ans: free command

𝟓. 𝐓𝐡𝐞 /𝐡𝐨𝐦𝐞 𝐩𝐚𝐫𝐭𝐢𝐭𝐢𝐨𝐧 𝐢𝐬 𝐫𝐮𝐧𝐧𝐢𝐧𝐠 𝐨𝐮𝐭 𝐨𝐟 𝐝𝐢𝐬𝐤 𝐬𝐩𝐚𝐜𝐞. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐜𝐚𝐧 𝐲𝐨𝐮 𝐮𝐬𝐞 𝐭𝐨 𝐝𝐞𝐭𝐞𝐫𝐦𝐢𝐧𝐞 𝐰𝐡𝐢𝐜𝐡 𝐮𝐬𝐞𝐫'𝐬 𝐡𝐨𝐦𝐞 𝐝𝐢𝐫𝐞𝐜𝐭𝐨𝐫𝐲 𝐢𝐬 𝐮𝐬𝐢𝐧𝐠 𝐭𝐡𝐞 𝐦𝐨𝐬𝐭 𝐬𝐩𝐚𝐜𝐞?
Ans: we can use du command

𝟔. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐲𝐨𝐮𝐫 𝐋𝐢𝐧𝐮𝐱 𝐅𝐢𝐥𝐞𝐒𝐲𝐬𝐭𝐞𝐦?
Ans: lsblk -f

𝟕. 𝐇𝐨𝐰 𝐭𝐨 𝐒𝐎𝐑𝐓 𝐭𝐡𝐞 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: sort -r file

𝟖. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐔𝐍𝐈𝐐𝐔𝐄 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: sort file | uniq

𝟗. 𝐇𝐨𝐰 𝐭𝐨 𝐬𝐞𝐚𝐫𝐜𝐡 𝐦𝐮𝐥𝐭𝐢𝐩𝐥𝐞 𝐰𝐨𝐫𝐝𝐬 𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐦𝐚𝐭𝐜𝐡𝐢𝐧𝐠 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: egrep "word1|word2" file

𝟏𝟎. 𝐇𝐨𝐰 𝐭𝐨 𝐂𝐎𝐔𝐍𝐓 𝐧𝐨. 𝐨𝐟 𝐥𝐢𝐧𝐞𝐬 𝐢𝐧 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: wc -l file

𝟏𝟏. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐢𝐟 𝐭𝐰𝐨 𝐟𝐢𝐥𝐞𝐬 𝐚𝐫𝐞 𝐢𝐝𝐞𝐧𝐭𝐢𝐜𝐚𝐥 𝐨𝐫 𝐧𝐨𝐭 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: cmp fileA fileB

𝟏𝟐. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐨𝐦𝐩𝐚𝐫𝐞 𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐝𝐢𝐟𝐟𝐞𝐫𝐞𝐧𝐜𝐞 𝐛𝐞𝐭𝐰𝐞𝐞𝐧 𝐟𝐢𝐥𝐞𝐬 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: diff -u fileA fileB

𝟏𝟑. 𝐇𝐨𝐰 𝐭𝐨 𝐫𝐞𝐜𝐨𝐫𝐝 𝐲𝐨𝐮𝐫 𝐚𝐜𝐭𝐢𝐯𝐢𝐭𝐲 𝐨𝐧 𝐭𝐞𝐫𝐦𝐢𝐧𝐚𝐥 𝐢𝐧 𝐚 𝐟𝐢𝐥𝐞?
Ans: script

𝟏𝟒. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐬𝐭𝐚𝐫𝐭𝐢𝐧𝐠 𝐭𝐰𝐨 𝐜𝐡𝐚𝐫𝐚𝐜𝐭𝐞𝐫𝐬 𝐨𝐟 𝐚𝐥𝐥 𝐥𝐢𝐧𝐞?
Ans: cut -c1-2 file.txt

𝟏𝟓. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐚 𝐬𝐩𝐞𝐜𝐢𝐟𝐢𝐜 𝐥𝐢𝐧𝐞 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞?
Ans: sed -n '5p' file.txt

𝟏𝟔. 𝐇𝐨𝐰 𝐭𝐨 𝐫𝐞𝐩𝐥𝐚𝐜𝐞 𝐚 𝐬𝐩𝐞𝐜𝐢𝐟𝐢𝐜 𝐰𝐨𝐫𝐝 𝐰𝐢𝐭𝐡𝐢𝐧 𝐚 𝐟𝐢𝐥𝐞?
Ans: sed -n 's/from/to/g' file.txt

𝟏𝟕. 𝐇𝐨𝐰 𝐭𝐨 𝐞𝐱𝐭𝐞𝐧𝐝 𝐬𝐢𝐳𝐞 𝐨𝐟 𝐚 𝐟𝐢𝐥𝐞 𝐰𝐢𝐭𝐡𝐨𝐮𝐭 𝐚𝐝𝐝𝐢𝐧𝐠 𝐚𝐧𝐲 𝐝𝐚𝐭𝐚?
Ans: truncate -s 100M file.txt

𝟏𝟖. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐜𝐩𝐮/𝐜𝐨𝐫𝐞/𝐭𝐡𝐫𝐞𝐚𝐝 𝐢𝐧𝐟𝐨 𝐨𝐟 𝐲𝐨𝐮𝐫 𝐥𝐢𝐧𝐮𝐱 𝐬𝐞𝐫𝐯𝐞𝐫?
Ans: lscpu


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📣 How do you manage different versions of 𝗧𝗲𝗿𝗿𝗮𝗳𝗼𝗿𝗺? Manually? There is a better way! 😎

𝗧𝗳𝘀𝘄𝗶𝘁𝗰𝗵 is a useful tool for managing Terraform versions, particularly when working with multiple projects that require different versions due to syntax changes, provider updates, or other dependencies. Here are some reasons why tfswitch is beneficial:

👉 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗖𝗼𝗺𝗽𝗮𝘁𝗶𝗯𝗶𝗹𝗶𝘁𝘆: Different Terraform projects may require specific versions to ensure compatibility with the project's syntax, providers, or dependencies. Tfswitch enables you to switch effortlessly between these versions, ensuring that you are always using the correct Terraform version for a particular project.

👉 𝗔𝘃𝗼𝗶𝗱 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗖𝗼𝗻𝗳𝗹𝗶𝗰𝘁𝘀: When working on multiple projects simultaneously, conflicts may arise if each project relies on a different Terraform version. Tfswitch helps prevent version conflicts by allowing you to set the appropriate version for each project independently.

👉 𝗘𝗮𝘀𝘆 𝗨𝗽𝗴𝗿𝗮𝗱𝗲𝘀: Tfswitch simplifies the process of upgrading to newer Terraform versions. With a single command, you can switch to the latest release, ensuring that you benefit from the latest features, bug fixes, and improvements.

👉 𝗦𝗲𝗮𝗺𝗹𝗲𝘀𝘀 𝗪𝗼𝗿𝗸𝗳𝗹𝗼𝘄 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻: Tfswitch can be integrated into your shell profile, allowing for automatic version detection and alias support for frequently used versions. This streamlines the process of working with Terraform and reduces the need for manual version switching.

👉 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗟𝗼𝗰𝗸𝗶𝗻𝗴: Tfswitch allows you to lock a project to a specific Terraform version by creating a .tfswitchrc file in your project's root directory. This ensures consistency when collaborating on projects and helps avoid potential issues caused by version conflicts.

Tfswitch is available only for Linux and MacOS.



😎 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
⁉️ As a DevOps Engineer, 𝐓𝐞𝐬𝐭/ 𝐈𝐦𝐩𝐫𝐨𝐯𝐞 your Knowledge for 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰𝐬 by going through following sets of questions :

☄️ Top Common Practise Set 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬 𝐟𝐨𝐫 𝐭𝐡𝐞 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐩𝐫𝐞𝐩𝐚𝐫𝐚𝐭𝐢𝐨𝐧

1) Have you worked on Linux?
2) what are the linux flavors?
3) what is process management?
4) How to create a User? and How to give permissions to the user.
5) How do add a user to an Existing Group In Linux?
6) How to Change the owner permissions of the User or the file?
7) How to check the disk space in Linux?
8) How to check memory in Linux?
9) what does the top command Display?
10) what is the use of lsblk command in Linux?
11) How to do Disk partition in Ubuntu?
12) where is fstab in Linux?
13) what is the linux boot process?
14) what is a linux filesystem? and what is /etc and /bin?
15) what are Crontab and Cronjob?
16) what is virtualization?
17) what is SElinux?
18) How DNS works?
19) what is Apache?
20) What is PHPAdmin?
21) Do you know about firewalls?
22) what is an SSL certificate? How we can create the SSL certificate and where we will do the configurations in apache for the SSL certificate?
23) which is better apache or Nginx? for the higher load which webserver is best?
24) what is the path of apache configuration files?
25) what is Cloud Computing?
26) what is AWS?
27) what is EC2?
28) How we can configure the EC2 instance?
29) What is AMI?
30) How we can choose which instance type is required?
31) From where can we enable termination protection in EC2?
32) Suppose we have to install Ubuntu then where do we have to define OS while launching the EC2 instance?
33) what is .pem?
34) if we stop the ec2 instance then is the Private IP will change? or Not?
35) Can you explain about inbound rules of the default security group?
36) what is the Use of public and private IP?
37) what is a Security Group?
38) security Group is stateful How?
39) what is VPC?
40) what is CIDR?
41) what is Subnetting?
42) what is an internet gateway?
43) what is Nat and why do we use nat gateway?
44) what is Elastic IP?
45) Tell me about VPC peering.
46) what is S3?
47) what is Cloudtrail?
48) what is Cloudfront?
49) what is blue/green deployment?
50) what is Cloudformation and terraform?
51) what is Elastic beanstalk?
52) what is RDS? Is there a need to worry about backups?
53) what is Autoscaling and How many types of autoscaling policies?
54) what is Loadbalancer?
55) What is the difference between ALB and ELB?
56) what is PAAS?
57) Suppose you are working in a new company and you don’t know how to work on new projects for the new company then which approach you will follow?
58) what is ACM?
59) what is shell scripting? How do we use the script for Automation?
60) what is MySQL? How many ways we can use to take backup?


✔️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📢 StatefulSet in Kubernetes:

A StatefulSet in Kubernetes is a workload API object used to manage stateful applications. Unlike a Deployment, which is suitable for stateless applications, a StatefulSet is designed to manage stateful applications that require stable, unique identifiers and persistent storage.

Key features of StatefulSets include:

📢 Stable, unique network identifiers: Each Pod in a StatefulSet receives a stable hostname based on its ordinal index. This allows other Pods in the set to communicate with each other reliably.

📢 Ordered deployment and scaling: Pods in a StatefulSet are created and scaled in a predictable, ordered manner. This means that each Pod is deployed and scaled one at a time, ensuring that dependencies are respected.

📢 Persistent storage: StatefulSets support persistent storage. Each Pod in a StatefulSet can be associated with a PersistentVolumeClaim (PVC), allowing data to persist across Pod restarts or rescheduling.

📢 Rolling updates and graceful scaling: StatefulSets support rolling updates and scaling operations, allowing you to change the Pod template or the number of replicas while ensuring that each Pod is gracefully terminated and replaced according to the defined order.

📢 Headless service: StatefulSets typically require a headless service to control network identity resolution. This service does not load balance traffic, but instead provides DNS resolution for the individual Pods in the StatefulSet.

📢 StatefulSets are commonly used for applications such as databases (e.g., MySQL, PostgreSQL), messaging queues (e.g., Kafka, RabbitMQ), and other stateful workloads where maintaining identity, stable network addresses, and data persistence are critical.


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📌 https://harshhaa.hashnode.dev/series/aws-for-beginners

🔗 More DevOps Blogs : HERE

🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

Follow 🍩 Like 👍 Share 👍 Comment Your thoughts 💬

⭐️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy & @devopsdocs 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM