A container runtime in Kubernetes is the software component responsible for managing the lifecycle of individual containers within a pod. It's the engine that executes the commands and manages the processes within the container environment.
- containerd
- CRI-O
- Docker Engine
- Mirantis Container Runtime
Please open Telegram to view this post
VIEW IN TELEGRAM
1707395410428.gif
1.3 MB
Jenkins is a popular automation server that can be used to automate the CI/CD pipeline. In this post we will learn how to use Jenkins to automate the following steps:
Please open Telegram to view this post
VIEW IN TELEGRAM
We add daily Tools Setup, Installations, Guides with each and every commands with clear explanation
More added daily so fork the repository for updates
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
There are two types of node affinity:
Please open Telegram to view this post
VIEW IN TELEGRAM
- AWS, Azure, Google Cloud, Oracle Cloud, Alibaba Cloud
- Cloud servers
- Databases
- Message queues and streaming platforms
- Load balancing, DNS routing software
- Security
- Monitoring
Please open Telegram to view this post
VIEW IN TELEGRAM
https://blog.prodevopsguy.xyz/the-ultimate-devops-bootcamp-2024-pack-by-prodevopsguy
⚠️ Note: Anyone Interested, can open the Blog 🌐 , share it to your friends and colleagues.
🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
1709611305572.gif
8.2 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
Follow
Please open Telegram to view this post
VIEW IN TELEGRAM
- Optimizes the overall size of the Docker image
- Removes the burden of creating multiple Dockerfiles for different stages
- Easy to debug a particular build stage
- Able to use the previous stage as a new stage in the new environment
- Ability to use the cached image to make the overall process quicker
- Reduces the risk of vulnerabilities found as the image size becomes smaller with multi-stage builds
Please open Telegram to view this post
VIEW IN TELEGRAM
1708757232781.gif
285.8 KB
The below illustration shows some common container commands and their syntax 👇
1.
docker run -it --name nginx nginx
2.
docker start nginx
3.
docker restart nginx
4.
docker pause nginx
5.
docker unpause nginx
6.
docker stop nginx
7.
docker kill nginx
8.
docker ps
9.
docker exec -it nginx /bin/bash
10.
docker attach nginx
11.
docker logs nginx
12.
docker rename old-name new-name
13.
docker inspect nginx
14.
docker cp nginx:/container-path/file.txt /local-path
15.
docker rm nginx
These container commands are essential for managing containerized applications, whether for development, testing, or production deployment, as they enable efficient control and manipulation of container instances.
Please open Telegram to view this post
VIEW IN TELEGRAM
From 'It works on my machine!' to 'It works on my container!' but hey at least it works!
✔️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
𝐁𝐢𝐠 𝐨𝐧 𝐝𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭?
𝐍𝐚𝐯𝐢𝐠𝐚𝐭𝐢𝐧𝐠 𝐜𝐨𝐦𝐩𝐥𝐢𝐚𝐧𝐜𝐞 𝐜𝐡𝐚𝐥𝐥𝐞𝐧𝐠𝐞𝐬?
𝐇𝐢𝐭 𝐚 𝐬𝐲𝐬𝐭𝐞𝐦 𝐟𝐚𝐢𝐥𝐮𝐫𝐞?
𝐇𝐢𝐝𝐝𝐞𝐧 𝐭𝐫𝐞𝐚𝐬𝐮𝐫𝐞𝐬 𝐚𝐡𝐞𝐚𝐝 - 𝐜𝐨𝐬𝐭 𝐬𝐚𝐯𝐢𝐧𝐠𝐬!
𝐀𝐧𝐨𝐦𝐚𝐥𝐢𝐞𝐬?
Approaching the finish line, security risks arise, yet DevSecOps mitigates them, instilling confidence. Ultimately, complete awareness of potential threats.
Please open Telegram to view this post
VIEW IN TELEGRAM
Docker Swarm and Kubernetes are popular container orchestration tools that efficiently manage, scale and deploy containers. Each has its strengths and weaknesses, and understanding these can help you choose the right tool for your specific needs. Differences and scenarios where one might be preferred over the other
Please open Telegram to view this post
VIEW IN TELEGRAM
1.
ansible-playbook: Executes Ansible playbooks.ex: ansible-playbook -i <inventory_file> <playbook.yml>
2.
ansible: Runs ad-hoc commands or tasks.ex: ansible all -m copy -a "src=/path/to/local/file dest=/path/to/remote/file"
ansible all -m yum -a "name=httpd state=latest"
3.
ansible-galaxy: Manages Ansible roles.ex: ansible-galaxy install <role_name>
4.
ansible-vault: Manages encrypted data within Ansible.ex: ansible-vault encrypt <file>
5.
ansible-galaxy init role_name: Initializes a new Ansible role scaffold.ex: ansible-galaxy init <role_name>
6.
ansible-inventory: Shows Ansible's inventory.ex: ansible-inventory --list -i /path/to/inventory/hosts
7.
ansible-config: Manages Ansible configuration.ex: ansible-config list, ansible-config view
8.
ansible-pull: Pulls playbooks from a version control system and executes them locally.ex: ansible-pull -U <repository_url> <playbook.yml>
9.
ansible-playbook --syntax-check: Checks playbook syntax without executing.ex: ansible-playbook --syntax-check <playbook.yml>
10.
ansible-playbook --list-hosts: Lists hosts defined in a playbook.ex: ansible-playbook --list-hosts playbook.yml
11.
ansible-playbook --tags: Runs specific tagged tasks within a playbook.ex: ansible-playbook --tags=tag1,tag2 playbook.yml
12.
ansible-playbook --limit: Limits playbook execution to specific hosts or groups.ex: ansible-playbook --limit=<host_pattern> <playbook.yml>
13.
ansible-vault edit: Edits an encrypted file.ex: ansible-vault edit secrets.yml
14.
ansible-doc: Displays documentation for Ansible modules.ex: ansible-doc <module_name>
15.
ansible-config view: Displays the current Ansible configuration.ex: ansible-config view
16.
ansible-config dump: Dumps the current Ansible configuration variables.ex: ansible-config dump
17.
ansible-config list: Lists configuration settings.ex: ansible-config list
18.
ansible-console: Starts an interactive console for executing Ansible tasks.ex: ansible-console
19.
ansible-lint: Lints Ansible playbooks for best practices and potential errors.ex: ansible-lint <playbook.yml>
20.
ansible-vault encrypt_string: Encrypts a string for use in a playbook.ex: ansible-vault encrypt_string <string>
21.
ansible-vault rekey: Rekeys an encrypted file with a new password.ex: ansible-vault rekey <file>
Please open Telegram to view this post
VIEW IN TELEGRAM
Instead of just looking at the available memory in the free -m output, some users might panic and quickly run the drop_cache command. I strongly advise against doing so.
echo 1 > /proc/sys/vm/drop_cacheecho 2 > /proc/sys/vm/drop_cacheecho 3 > /proc/sys/vm/drop_cachePlease open Telegram to view this post
VIEW IN TELEGRAM
Terraform is an infrastructure as a code tool that lets you build, change, and version infrastructure safely and efficiently.
Please open Telegram to view this post
VIEW IN TELEGRAM