Open pooja-bhavani opened 1 month ago
The changes in Solution.md
provide an overview of Grafana Cloud and its alerting capabilities. The document introduces Grafana Cloud as a managed observability platform and details the functionality of Grafana Alerting, including the creation of alert rules, notification channels, and maintenance options. It also includes a step-by-step guide for setting up Grafana Cloud, integrating Prometheus, and configuring alerting rules with visual aids.
File | Change Summary |
---|---|
2024/day77/Solution.md | Introduced overview of Grafana Cloud and alerting capabilities, including setup and configuration instructions. |
In the cloud where Grafana plays,
Alerts and metrics light our ways.
With rules and channels, we take our stand,
Proactive monitoring, oh so grand!
So hop along, let data flow,
In Grafana's world, we surely glow! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Create a directory day-19 in that again create directory docker-compose
After that use this command to compose up ⬇️ if you execute that command it will ask to create a volume and create it the after do compose up.
Use the docker-compose scale command to increase or decrease the number of replicas for a specific service. You can also add replicas in deployment file for auto-scaling. when we are using docker-compose scale we need to down our container and use this command to scale our container.Which means we to kill and remove our containers.
Now use this command to scale our file.
Use the docker-compose ps command to view the status of all containers, and docker-compose logs to view the logs of a specific service.
Use the docker-compose down command to stop and remove all containers, networks, and volumes associated with the application
Task-2 Learn how to use Docker Volumes and Named Volumes to share files and directories between multiple containers. Create a new volume
Create two or more containers that read and write data to the same volume using the docker run --mount command. Create two or more containers that need to read and write data. Use the below command to specify the same volume configuration for each container.
Verify that the data is the same in all containers by using the docker exec command to run commands inside each container. Verify data consistency by executing commands inside each container using docker exec.
I have created a new file called 'volume-test.txt' while connected to nginx_container_1. Let's connect to nginx_container_2 and verify the text file is there.
In this example, we have used the container ID and the container name with the docker exec command to verify the content of the volume
Use the docker volume ls command to list all volumes and docker volume rm command to remove the volume when you're done. Utilize docker volume ls to list all volumes and docker volume rm to remove the volume once you have finished using it.
When we want to remove a volume our container should stop and remove, then we can remove the volumes. Stopping the containers:
Removing the volumes:
Summary by CodeRabbit
New Features
Documentation