𝗧𝘆𝗽𝗲𝘀 𝗼𝗳 𝗜𝗻𝗴𝗿𝗲𝘀𝘀
Creating From Yaml File
𝗮𝗽𝗶𝗩𝗲𝗿𝘀𝗶𝗼𝗻: 𝘃𝟭
𝗸𝗶𝗻𝗱: 𝗦𝗲𝗰𝗿𝗲𝘁
𝗺𝗲𝘁𝗮𝗱𝗮𝘁𝗮:
𝗻𝗮𝗺𝗲: 𝘀𝗲𝗰𝗿𝗲𝘁-𝗱𝗼𝗰𝗸𝗲𝗿𝗰𝗳𝗴
𝘁𝘆𝗽𝗲: 𝗸𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀.𝗶𝗼/𝗱𝗼𝗰𝗸𝗲𝗿𝗰𝗳𝗴
𝗱𝗮𝘁𝗮:
𝗽𝗮𝘀𝘀𝘄𝗼𝗿𝗱: <𝗨𝘀𝗲𝗿 𝗣𝗮𝘀𝘀𝘄𝗼𝗿𝗱>
𝘂𝘀𝗲𝗿𝗻𝗮𝗺𝗲: <𝗨𝘀𝗲𝗿 𝗡𝗮𝗺𝗲>
Creating the Secret
𝗸𝘂𝗯𝗲𝗰𝘁𝗹 𝗰𝗿𝗲𝗮𝘁𝗲 –𝗳 𝗦𝗲𝗰𝗿𝗲𝘁.𝘆𝗮𝗺𝗹
𝗧𝘆𝗽𝗲𝘀 𝗼𝗳 𝗦𝗲𝗰𝗿𝗲𝘁
Opaque
https://lnkd.in/gXcUF7cD
kubernetes.io/dockercfg
https://lnkd.in/gmF_-H56
kubernetes.io/tls
Please open Telegram to view this post
VIEW IN TELEGRAM
Are you ready to elevate your development process to new heights?
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Thanks for Sharing valuable information.
#freelearning #freeknowledge #devops #devopscommunity
Please open Telegram to view this post
VIEW IN TELEGRAM
𝗕𝗲𝘀𝘁 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲𝘀 𝗳𝗼𝗿 𝗗𝗼𝗰𝗸𝗲𝗿
Please open Telegram to view this post
VIEW IN TELEGRAM
𝐃𝐞𝐯𝐎𝐩𝐬 𝐚𝐧𝐝 𝐏𝐥𝐚𝐭𝐟𝐨𝐫𝐦 𝐄𝐧𝐠𝐢𝐧𝐞𝐞𝐫𝐢𝐧𝐠 𝐚𝐫𝐞 𝐭𝐰𝐨 𝐨𝐟 𝐭𝐡𝐞 𝐦𝐨𝐬𝐭 𝐢𝐦𝐩𝐨𝐫𝐭𝐚𝐧𝐭 𝐫𝐨𝐥𝐞𝐬 𝐢𝐧 𝐭𝐡𝐞 𝐭𝐞𝐜𝐡 𝐢𝐧𝐝𝐮𝐬𝐭𝐫𝐲 𝐭𝐨𝐝𝐚𝐲.
But what's the difference between the two?🤔
DevOps is a set of practices that combines software development (Dev) and IT operations (Ops) to shorten the systems development life cycle and provide continuous delivery with high software quality.⚙️
Platform Engineering is a discipline that focuses on building, managing, and maintaining the platforms that developers use to build and deploy applications.⬆️
In short, DevOps is all about the process of building and delivering software, while Platform Engineering is about the tools and infrastructure that make that process possible.⚒
𝐖𝐡𝐢𝐜𝐡 𝐨𝐧𝐞 𝐢𝐬 𝐫𝐢𝐠𝐡𝐭 𝐟𝐨𝐫 𝐲𝐨𝐮?🤔
If you're interested in the process of building and delivering software, then DevOps is a great career path. If you're more interested in the tools and infrastructure that make that process possible, then Platform Engineering is a good choice
❤️ Follow for more: @prodevopsguy
But what's the difference between the two?
DevOps is a set of practices that combines software development (Dev) and IT operations (Ops) to shorten the systems development life cycle and provide continuous delivery with high software quality.
Platform Engineering is a discipline that focuses on building, managing, and maintaining the platforms that developers use to build and deploy applications.
In short, DevOps is all about the process of building and delivering software, while Platform Engineering is about the tools and infrastructure that make that process possible.
𝐖𝐡𝐢𝐜𝐡 𝐨𝐧𝐞 𝐢𝐬 𝐫𝐢𝐠𝐡𝐭 𝐟𝐨𝐫 𝐲𝐨𝐮?
If you're interested in the process of building and delivering software, then DevOps is a great career path. If you're more interested in the tools and infrastructure that make that process possible, then Platform Engineering is a good choice
Please open Telegram to view this post
VIEW IN TELEGRAM
https://lnkd.in/dD9Z_5qA
https://lnkd.in/dEmZ8zhY
https://lnkd.in/dwfmwmA9
https://lnkd.in/d7gzxH5z
https://lnkd.in/dr4pjCV3
https://lnkd.in/dzTQE4b7
https://lnkd.in/dKrD_up7
https://lnkd.in/dJVqMt3Y
https://lnkd.in/d7VVbbNJ
https://lnkd.in/dEp3KrTJ
https://lnkd.in/d6aM7Ek7
https://lnkd.in/duksFRgG
https://lnkd.in/ddpKXxqt
https://lnkd.in/duMVr4bn
https://lnkd.in/dnUQ_uGe
https://lnkd.in/dgNHs7WD
https://lnkd.in/dPddbJTf
https://lnkd.in/dnjHdxPR
https://lnkd.in/dMHv9T8U
https://lnkd.in/dcynPYYH
https://lnkd.in/dz7d5qEc
https://lnkd.in/dmi-TMv9
https://lnkd.in/dx-iqVNe
https://lnkd.in/ds7nUhbx
https://lnkd.in/gGgW7Ns9
https://lnkd.in/dNqrXjmV
https://lnkd.in/dNqrXjmV
https://lnkd.in/duGZwHYX
https://lnkd.in/de84ESNv
https://lnkd.in/ds_8WB7G
https://lnkd.in/dvpzNT5M
https://lnkd.in/dRs3YFu3
https://lnkd.in/d8nkTj3n
https://lnkd.in/d-EhshQz
https://lnkd.in/dYjay9ia
https://lnkd.in/dFtNz_9D
https://lnkd.in/dcYq8nE2
https://lnkd.in/dGKkrXrA
https://lnkd.in/dNugwtVW
https://lnkd.in/dhknHJXp
https://lnkd.in/dpXhmVqs
https://lnkd.in/dStQbpRX
https://lnkd.in/ddAV7_-p
https://lnkd.in/dRwfE7A4
HAPPY LEARNING
Please open Telegram to view this post
VIEW IN TELEGRAM
Kubernetes, the leading container orchestration platform, provides a powerful mechanism for monitoring and managing the health of your pods and containers through the use of probes.
𝐖𝐡𝐚𝐭 𝐚𝐫𝐞 𝐏𝐫𝐨𝐛𝐞𝐬?
Probes are executable programs that Kubernetes utilizes to assess the health of pods and containers. They serve as essential tools for determining whether a pod or container is ready to receive traffic or needs to be restarted or terminated.
There are two main types of probes: liveness probes and readiness probes.
𝐋𝐢𝐯𝐞𝐧𝐞𝐬𝐬 𝐏𝐫𝐨𝐛𝐞𝐬:
➡️ Determine if a container is alive and functioning properly.
➡️ Failure triggers container restart, assuming a crash or critical error.
➡️ Ideal for ensuring continuous availability of long-running processes like database servers or application backends.
𝐑𝐞𝐚𝐝𝐢𝐧𝐞𝐬𝐬 𝐏𝐫𝐨𝐛𝐞𝐬:
➡️ Assess whether a container is ready to receive traffic.
➡️ Failure prevents the pod from receiving traffic, ensuring only healthy containers handle external requests.
➡️ Useful for containers needing initialization or configuration before handling incoming traffic, such as web servers or application frontends.
𝐓𝐲𝐩𝐞𝐬 𝐨𝐟 𝐏𝐫𝐨𝐛𝐞𝐬:
✅ Exec Probes: Execute a command or script within the container to determine its health.
✅ HTTP Probes: Send HTTP requests to the container's exposed ports to check responsiveness.
✅ TCP Probes: Attempt to establish a TCP connection to the container's exposed ports to verify availability.
Kubernetes versatility supports various probe types tailored to specific use cases and application requirements. It is crucial for maintaining a responsive containerized environment.
❤️ Follow for more: @prodevopsguy
𝐖𝐡𝐚𝐭 𝐚𝐫𝐞 𝐏𝐫𝐨𝐛𝐞𝐬?
Probes are executable programs that Kubernetes utilizes to assess the health of pods and containers. They serve as essential tools for determining whether a pod or container is ready to receive traffic or needs to be restarted or terminated.
There are two main types of probes: liveness probes and readiness probes.
𝐋𝐢𝐯𝐞𝐧𝐞𝐬𝐬 𝐏𝐫𝐨𝐛𝐞𝐬:
𝐑𝐞𝐚𝐝𝐢𝐧𝐞𝐬𝐬 𝐏𝐫𝐨𝐛𝐞𝐬:
𝐓𝐲𝐩𝐞𝐬 𝐨𝐟 𝐏𝐫𝐨𝐛𝐞𝐬:
Kubernetes versatility supports various probe types tailored to specific use cases and application requirements. It is crucial for maintaining a responsive containerized environment.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1. Kubernetes Hands-on Lab #1 – Setting up 5-Node K8s Cluster
2. Kubernetes Hands-on Lab #2 – Running Our First Nginx Cluster
3. Kubernetes Hands-on Lab #3 –
https://lnkd.in/gSc2KDAb
Please open Telegram to view this post
VIEW IN TELEGRAM
How to Learn Kubernetes 🚀
🔴 In this Kubernetes learning roadmap,
I have added prerequisites and complete Kubernetes learning path covering basic to advanced Kubernetes concepts.
Learning Kubernetes can seem overwhelming. It’s a complex container orchestration system, that has a steep learning curve.
But with the right roadmap and understanding of the foundational concepts, it’s something that any developer or ops person can learn.
🔗 𝗞𝟴𝘀 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗥𝗼𝗮𝗱𝗺𝗮𝗽: https://github.com/NotHarshhaa/kubernetes-learning-path
❤️ Follow for more: @prodevopsguy
I have added prerequisites and complete Kubernetes learning path covering basic to advanced Kubernetes concepts.
Learning Kubernetes can seem overwhelming. It’s a complex container orchestration system, that has a steep learning curve.
But with the right roadmap and understanding of the foundational concepts, it’s something that any developer or ops person can learn.
Please open Telegram to view this post
VIEW IN TELEGRAM
If you want to become a Certified Kubernetes Administrator, or you want to become an EXPERT in Kubernetes, learn Kubernetes from scratch and understand everything, this repo is a good choice.
Table of Contexts:
Please open Telegram to view this post
VIEW IN TELEGRAM
https://lnkd.in/gQq_EERV
https://lnkd.in/g7RBTgKW
https://lnkd.in/g2F5UFHg
https://lnkd.in/giM_2_Qj
https://lnkd.in/g687nbeH
https://lnkd.in/gUqrz8X3
https://lnkd.in/gbPWeUuR
https://lnkd.in/ggdVTA2C
https://lnkd.in/gnr_BvKH
https://lnkd.in/gN64Xv49
https://lnkd.in/g9fVgwCp
https://lnkd.in/gwHscntY
https://lnkd.in/gMMpuhZM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
docker run command do not conflict with existing ports in use on your host system.docker system prune command.docker logs <container_name> to check the container logs for error messages that can help diagnose the problem.-v flag in docker run or docker-compose.--cpu and --memory flags when running containers.Please open Telegram to view this post
VIEW IN TELEGRAM
1. Docker Daemon (dockerd):
- 𝗥𝗼𝗹𝗲: Manages Docker containers on a system.
- 𝗥𝗲𝘀𝗽𝗼𝗻𝘀𝗶𝗯𝗶𝗹𝗶𝘁𝗶𝗲𝘀: Building, running, and managing containers.
2. Docker Client (docker):
- 𝗥𝗼𝗹𝗲: Interface through which users interact with Docker.
- 𝗖𝗼𝗺𝗺𝗮𝗻𝗱𝘀: build, pull, run, etc.
3. Docker Images:
- 𝗗𝗲𝗳𝗶𝗻𝗶𝘁𝗶𝗼𝗻: Read-only templates used to create containers.
- 𝗥𝗼𝗹𝗲: Serve as the basis for creating containers.
- 𝗥𝗲𝗴𝗶𝘀𝘁𝗿𝘆/𝗛𝘂𝗯: A storage and distribution system for Docker images.
4. Docker Containers:
- 𝗗𝗲𝗳𝗶𝗻𝗶𝘁𝗶𝗼𝗻: Runnable instances of Docker images.
- 𝗥𝗼𝗹𝗲: Encapsulate the application and its environment.
5. Docker Registry:
- 𝗥𝗼𝗹𝗲: Store Docker images.
- 𝗣𝘂𝗯𝗹𝗶𝗰 𝗥𝗲𝗴𝗶𝘀𝘁𝗿𝘆: Docker Hub.
- 𝗣𝗿𝗶𝘃𝗮𝘁𝗲 𝗥𝗲𝗴𝗶𝘀𝘁𝗿𝘆: Can be hosted by users.
1. 𝗪𝗿𝗶𝘁𝗲 𝗖𝗼𝗱𝗲:
- Developers write code locally.
2. 𝗕𝘂𝗶𝗹𝗱 𝗗𝗼𝗰𝗸𝗲𝗿 𝗜𝗺𝗮𝗴𝗲:
- 𝗗𝗼𝗰𝗸𝗲𝗿𝗳𝗶𝗹𝗲: A script with instructions to create a Docker image.
- 𝗖𝗼𝗺𝗺𝗮𝗻𝗱: docker build -t my-image .
3. 𝗧𝗲𝘀𝘁 𝗟𝗼𝗰𝗮𝗹𝗹𝘆:
- Run the application inside a Docker container locally.
- 𝗖𝗼𝗺𝗺𝗮𝗻𝗱: docker run my-image
4. 𝗣𝘂𝘀𝗵 𝗜𝗺𝗮𝗴𝗲 𝘁𝗼 𝗥𝗲𝗴𝗶𝘀𝘁𝗿𝘆:
- Push the Docker image to a registry (Docker Hub, AWS ECR, etc.).
- 𝗖𝗼𝗺𝗺𝗮𝗻𝗱: docker push my-image
5. 𝗗𝗲𝗽𝗹𝗼𝘆 𝗼𝗻 𝗮 𝗦𝗲𝗿𝘃𝗲𝗿/𝗖𝗹𝘂𝘀𝘁𝗲𝗿:
- Pull the Docker image from the registry.
- 𝗖𝗼𝗺𝗺𝗮𝗻𝗱: docker pull my-image
- Run the container on a server or a cluster (like Kubernetes).
- 𝗖𝗼𝗺𝗺𝗮𝗻𝗱: docker run my-image
6. 𝗖𝗼𝗻𝘁𝗶𝗻𝘂𝗼𝘂𝘀 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻 (𝗖𝗜):
- Integrate code changes and build the Docker image.
- Push the built image to a registry.
7. 𝗖𝗼𝗻𝘁𝗶𝗻𝘂𝗼𝘂𝘀 𝗗𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁 (𝗖𝗗):
- Deploy the Docker image from the registry to production environments.
8. 𝗦𝗰𝗮𝗹𝗶𝗻𝗴:
- Increase or decrease the number of running containers based on demand.
9. 𝗠𝗼𝗻𝗶𝘁𝗼𝗿𝗶𝗻𝗴 & 𝗟𝗼𝗴𝗴𝗶𝗻𝗴:
- Track the performance and logs of running containers.
10. 𝗨𝗽𝗱𝗮𝘁𝗲 & 𝗥𝗼𝗹𝗹𝗯𝗮𝗰𝗸:
- Deploy updates by pushing new Docker images to the registry and updating running containers.
- Rollback to a previous version if needed by running containers from an older Docker image.
11. 𝗡𝗲𝘁𝘄𝗼𝗿𝗸𝗶𝗻𝗴:
- Manage communication between containers and the outside world.
12. 𝗦𝘁𝗼𝗿𝗮𝗴𝗲:
- Manage data and persist state using volumes.
Please open Telegram to view this post
VIEW IN TELEGRAM