<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: Edwin Piastro</title>
    <description>The latest articles on Debug School by Edwin Piastro (@edwinpiastro_782).</description>
    <link>https://www.debug.school/edwinpiastro_782</link>
    <image>
      <url>https://www.debug.school/images/CPDdQlGexClW9WOTxwLbEDeLKxuBxqind7bvkmstzXo/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly90aGVw/cmFjdGljYWxkZXYu/czMuYW1hem9uYXdz/LmNvbS9pLzk5bXZs/c2Z1NXRmajltN2t1/MjVkLnBuZw</url>
      <title>Debug School: Edwin Piastro</title>
      <link>https://www.debug.school/edwinpiastro_782</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/edwinpiastro_782"/>
    <language>en</language>
    <item>
      <title>Kubernetes</title>
      <dc:creator>Edwin Piastro</dc:creator>
      <pubDate>Fri, 21 Jul 2023 13:24:36 +0000</pubDate>
      <link>https://www.debug.school/edwinpiastro_782/kubernetes-2lbi</link>
      <guid>https://www.debug.school/edwinpiastro_782/kubernetes-2lbi</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Kubernetes?&lt;/strong&gt;&lt;br&gt;
Kubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. &lt;br&gt;
The name Kubernetes originates from Greek, meaning helmsma. K8s as an abbreviation results from counting the eight letters between the "K" and the "s". &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why We need Kubernetes?&lt;/strong&gt;&lt;br&gt;
Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example: Kubernetes can easily manage a canary deployment for your system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How Kubernetes works?&lt;/strong&gt;&lt;br&gt;
Kubernetes is designed to make managing microservices clusters of containerized applications simpler and more automated.&lt;/p&gt;

&lt;p&gt;Kubernetes provides the tools and commands necessary for orchestrating the interaction and scaling of containers (most commonly Docker containers) and the infrastructure containers run on. There are two aspects to Kubernetes, the worker nodes and the control plane. The worker nodes are where the actual containerized applications exist along with the necessary Kubernetes tooling. The control plane is where the tools for managing this cluster lives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Pods?&lt;/strong&gt;&lt;br&gt;
Pods is the unit of work on the node. Pods provide a way to logically group and isolate containers that run together, while still allowing inter-pod communication on the same machine.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Docker Concept</title>
      <dc:creator>Edwin Piastro</dc:creator>
      <pubDate>Tue, 18 Jul 2023 11:58:08 +0000</pubDate>
      <link>https://www.debug.school/edwinpiastro_782/docker-concept-2g2d</link>
      <guid>https://www.debug.school/edwinpiastro_782/docker-concept-2g2d</guid>
      <description>&lt;ol&gt;
&lt;li&gt;What is Docker and why is it used?
&lt;strong&gt;Docker is an operating system for containers. It is use to 
build, start, or stop containers.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;What is a Docker image and how is it different from a Docker container? &lt;strong&gt;A Docker image is a template that defines how a container will be realized. A Docker container is a runtime instance of a Docker image.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How do you create a Docker image and run a Docker container?&lt;br&gt;
&lt;strong&gt;How to Create Docker Image&lt;/strong&gt; &amp;gt;&lt;br&gt;
Create a Base Container &amp;gt; Inspect Images &amp;gt; Inspect Containers &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Start the Container &amp;gt; Modify the Running Container &amp;gt; Create &lt;br&gt;
an Image From a Container &amp;gt; Tag the Image &amp;gt; Create Images &lt;br&gt;
with Tags&lt;br&gt;
&lt;strong&gt;How to run Docker Container&lt;/strong&gt;&lt;br&gt;
 Get the sample application. If you have git, you can clone &lt;br&gt;
 the repository for the sample application &amp;gt; Explore the &lt;br&gt;
 Dockerfile &amp;gt; Build your first image &amp;gt; Run your container &amp;gt; &lt;br&gt;
 Verify that your container is running.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is a Dockerfile and how do you use it to create a Docker image?&lt;br&gt;
&lt;strong&gt;A Dockerfile is simply a text-based file with no file extension that contains a script of instructions. Docker uses this script to build a container image. In the app directory, the same location as the package.json file, create a file named Dockerfile .&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How can you inspect the contents of a Docker container and the changes made to a container while it was running?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How can you share a Docker image with others and pull an image from a Docker registry?&lt;br&gt;
&lt;strong&gt;To pull the Docker image from a private registry, users are required to start the registry container. Then, log in to the private registry. After that, utilize the “docker pull ” command to pull the Docker image from Docker private registry.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What are the different network modes available in Docker and how do you choose the right network mode for your application?&lt;br&gt;
&lt;strong&gt;Bridge mode &lt;br&gt;
Host mode&lt;br&gt;
Container mode&lt;br&gt;
No networking&lt;br&gt;
Libnetwork&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How can you mount a volume in a Docker container and share data between the host and container?&lt;br&gt;
&lt;strong&gt;You can mount host volumes by using the -v flag and specifying the name of the host directory.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the difference between a Docker Compose file and a Dockerfile, and how are they used in deploying multi-container applications?&lt;br&gt;
&lt;strong&gt;The key difference between the Dockerfile and docker-compose is that the Dockerfile describes how to build Docker images, while docker-compose is used to run Docker containers.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How can you monitor the performance of a Docker container and diagnose issues with it?&lt;br&gt;
** You can use the docker stats command to live stream a &lt;br&gt;
container's runtime metrics. The command supports CPU, memory &lt;br&gt;
usage, memory limit, and network IO metrics. The docker stats &lt;br&gt;
reference page has more details about the docker stats &lt;br&gt;
command.**&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Components of Docker and its Brief Summary&lt;br&gt;
&lt;strong&gt;The basic components include Docker client, Docker image, Docker Daemon, Docker Networking, Docker registry, and Docker container, whereas Docker Compose and Docker swarm are the advanced components of Docker.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the difference between docker pause and unpause?&lt;br&gt;
&lt;strong&gt;The main difference between the paused and stopped states is &lt;br&gt;
that the memory portion of the state is cleared when a &lt;br&gt;
container is stopped, whereas, in the paused state, its &lt;br&gt;
memory portion stays intact.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the difference between docker stop and kill?&lt;br&gt;
&lt;strong&gt;This means the difference between docker stop and docker &lt;br&gt;
kill is that - stop can allow safe termination (within the &lt;br&gt;
grace period) while kill terminates immediately. A container &lt;br&gt;
that is in the created state or stopped can be removed with &lt;br&gt;
docker rm.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the difference between docker exec and attach?&lt;br&gt;
** When you run an exec, it will basically spins up a new &lt;br&gt;
process inside the container whereas attach basically lets &lt;br&gt;
you attach to an existing process inside the container.**&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;List of dockerfile instructions and its Brief Summary?&lt;br&gt;
&lt;strong&gt;User - Change user &amp;amp; group membership&lt;br&gt;
Copy - Copy directories and files to the image&lt;br&gt;
Add  - Copy directories and files to the image&lt;br&gt;
Run  - Carry out the command in image in the course of build process&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the difference between CMD vs Entry&lt;br&gt;
&lt;strong&gt;The main difference between CMD and ENTRYPOINT in Docker is that execution-wise, the default arguments provided by CMD can get overridden, whereas those provided by ENTRYPOINT cannot.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>DevOps Concept</title>
      <dc:creator>Edwin Piastro</dc:creator>
      <pubDate>Thu, 13 Jul 2023 08:47:50 +0000</pubDate>
      <link>https://www.debug.school/edwinpiastro_782/devops-concept-5eik</link>
      <guid>https://www.debug.school/edwinpiastro_782/devops-concept-5eik</guid>
      <description>&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;What is DevOps in simple terms?&lt;/strong&gt;
DevOps is an approach wherein applying software engineering 
concepts into IT Ops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What exactly do DevOps do?&lt;/strong&gt;
DevOps improves collaboration between dev team and ops team.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What are the list of DevOps Tools?&lt;/strong&gt;
Version Control Tool: GitLab, GitHub &amp;gt; 
Build Tool: Maven &amp;gt; Continuous Integration Tool: Jenkins &amp;gt; Configuration Management Tool: Chef &amp;gt; Configuration Management Tool: Puppet, Ansible &amp;gt; Container Platforms: Docker, Kubernetes &amp;gt; Communication and Collaboration: Slack &amp;gt; Testing Tool: Selenium, Gremlin &amp;gt; IT Ticketing: Servicenow&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How DevOps and SRE are different?&lt;/strong&gt;
DevOps is a set of practices that aims to shorten the software 
development lifecycle and speed the delivery of higher-quality 
software by breaking down the silos and combining and 
automating the work of software development teams and IT 
operations teams. SRE uses software engineering to automate IT 
operations tasks that would normally be performed by system 
administrators. These tasks include production system 
management, change management and incident response.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What is DevSecOps?&lt;/strong&gt;
DevSecOPs is an approach to culture, automation, and platform 
design that integrates security as a shared responsibility 
throughout the entire IT lifecycle.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
