<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Orcastration on Medium]]></title>
        <description><![CDATA[Stories by Orcastration on Medium]]></description>
        <link>https://medium.com/@orcastration2022?source=rss-252d684def53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9f88kNCh-hSW1xl3EZ6YKg.png</url>
            <title>Stories by Orcastration on Medium</title>
            <link>https://medium.com/@orcastration2022?source=rss-252d684def53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:04:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@orcastration2022/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Orcastration: Visualize Your Docker Swarm with Powerful Metrics]]></title>
            <link>https://medium.com/@orcastration2022/orcastration-visualize-your-docker-swarm-with-powerful-metrics-c188373ed58d?source=rss-252d684def53------2</link>
            <guid isPermaLink="false">https://medium.com/p/c188373ed58d</guid>
            <category><![CDATA[docker-swarm-cluster]]></category>
            <category><![CDATA[docker-swarm]]></category>
            <category><![CDATA[docker-swarm-manager]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Orcastration]]></dc:creator>
            <pubDate>Thu, 26 Jan 2023 16:00:25 GMT</pubDate>
            <atom:updated>2023-01-26T16:00:25.434Z</atom:updated>
            <content:encoded><![CDATA[<p>Authors: Andrew Hogan, Danny Zheng, Juliana Morrelli, Max Heubel, Meimei Xiong</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*9f88kNCh-hSW1xl3EZ6YKg.png" /></figure><h3>What is a Docker Swarm?</h3><p>Docker Swarm is a container orchestration tool that allows for the management and deployment of multiple Docker containers as a single service. It creates and manages a cluster of Docker nodes, which are instances of the Docker engine running in swarm mode and participating in the swarm cluster. There are two types of nodes in Docker Swarm:</p><ul><li>Manager node: maintains cluster management tasks.</li><li>Worker node: receives and executes tasks from the manager node.</li></ul><p>In Docker Swarm, containers are launched using services. Services consist of multiple containers running images and support the scaling of applications. Services can be deployed and accessed by any node of the same cluster and tasks are instantiated from these services and monitored by swarm managers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mq-j4zeRREjUxSaX" /><figcaption>Docker Swarm Workflow</figcaption></figure><h3>Problem</h3><p>Picture this: you’ve just successfully set up a Docker Swarm and want to be able to track your containers’ data metrics. You quickly realize that all the available options require a compromise between ease-of-use and quality of information. Docker has no simple, out-of-the-box monitoring system that integrates seamlessly with Docker Swarm. In order to view the container metrics of your Docker Swarm containers, you would traditionally have to execute the following Docker terminal commands:</p><p>Let’s take a look at the nodes in our Docker Swarm:</p><pre>docker node ls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qYyDB5tCtYI1zW2J" /></figure><p>Let’s see the tasks in our Docker Swarm:</p><pre>docker node ps 01hce8ymcxnkc10hhsgqusb0t</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Gl7oP-FUT4FAFbmZ" /></figure><p>Let’s check the stats of our containers:</p><pre>docker stats --no-stream</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0uHBRC42EuM4Gyw8" /></figure><p>Let’s inspect the health status and logs of a container:</p><pre>docker inspect 33ba5f5a7eb3 --format=”{{json .State.Health}}”</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*giF2xq6b4s8OaYdv" /></figure><p>Running a separate terminal command to check the health status of each of your containers is tedious and time consuming.</p><p>Traditionally, you would have to execute all of these Docker commands to get the information you need to properly monitor Docker Swarm containers. How annoying is that?</p><p>There are some other solutions on the market that could potentially solve this problem (like using Prometheus with Grafana). However, these tend to have steeper learning curves which becomes time consuming and inevitably slows down the entire development process.</p><h3><strong>Solution</strong></h3><p>Instead of executing Docker commands in your terminal and having to parse through it for the information you need, you can now use Orcastration. This simple tool allows you to easily visualize the nodes in your Docker Swarm cluster, along with the metrics and health status’ of your running tasks and containers!</p><p>Orcastration utilizes Docker terminal commands to retrieve container performance information directly from the daemon. Developers using Orcastration have the ability to view all managers and workers within their Docker Swarm in real-time along with dynamic container metrics such as CPU usage, Network I/O, and health information. Orcastration will filter the active containers running strictly in your Docker Swarm clusters rather than including every active container that is outside of the swarm (as illustrated above).</p><p>Real-time streaming of numerous nodes is achieved using an optimized backend process. First, a snapshot is taken of the active containers for each task within your swarm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z4T4kix7RgOed2Ih" /></figure><p>Whenever you need to start streaming, this snapshot is referenced and used to execute a command in the Docker CLI in order to stream the relevant data without over-fetching. The container statistics are streamed using the EventSource API. Separating these two processes turns an otherwise expensive operation into one that is more modularized and efficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DqJPagKSUb-1HQae" /></figure><p>With Docker Health Check set up in your Dockerfile or Compose file, you are able to monitor the health status and logs of your containers with a click of a button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tJqAGc3eO4WxJ7Ic" /></figure><p>By monitoring the health and status of containers you can quickly identify and address issues before they cause disruptions or downtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4pkgfKYc_4PcaeTe" /></figure><p>Say goodbye to tedious and confusing Docker terminal commands and say hello to Orcastration.</p><p>Head over to our <a href="https://github.com/oslabs-beta/Orcastration"><strong>GitHub</strong></a> right now to get started!</p><h3>Support Our Product:</h3><p>Orcastration is an powerful and lightweight open-source solution created in collaboration with Open Source Labs (<a href="https://opensourcelabs.io/">OSLabs</a>). We are a team of dedicated software engineers who are passionate about creating developer tools for the open-source community.</p><p>If you would like to contribute to Orcastration, please submit a pull-request on our <a href="https://github.com/oslabs-beta/Orcastration">GitHub</a>.</p><p>Support us by doing the following:</p><p>📨📨Visiting our <a href="https://orcastration.dev/">website</a> to learn more!📨📨</p><p>⭐️⭐️Star, Watch and Fork our repo on <a href="https://github.com/oslabs-beta/Orcastration">GitHub</a>!⭐️⭐️</p><p>👏👏Clap &amp; share this article and leave us comments!👏👏</p><h3>🔗🔗Follow us on LinkedIn and GitHub!🔗🔗</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/32/0*_LGDmeQw6AxHnidp.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*TWB7uekDIQsLRMzp.png" /></figure><h4>Andrew Hogan @ <a href="https://www.linkedin.com/in/andrewlallyhogan">LinkedIn</a> | <a href="https://github.com/andrewlallyhogan">GitHub</a></h4><h4>Danny Zheng @ <a href="http://www.linkedin.com/in/dannyzheng159">LinkedIn</a> | <a href="https://github.com/dannyzheng159">GitHub</a></h4><h4>Juliana Morrelli @ <a href="https://www.linkedin.com/in/juliana-morrelli-71b407218/">LinkedIn</a> | <a href="https://github.com/juliana228">GitHub</a></h4><h4>Max Heubel @ <a href="http://www.linkedin.com/in/max-heubel">LinkedIn</a> | <a href="https://github.com/maxheubel">GitHub</a></h4><h4>Meimei Xiong @ <a href="https://www.linkedin.com/in/meimei-x-20085111/">LinkedIn</a> | <a href="https://github.com/meimeix01">GitHub</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c188373ed58d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>