Lab and Assignment 1 For 25 Oct 2021 – Docker Session – MS

What is Docker and Container? Docker image is blueprint of the container (application files + dependencies + filesystem), where as container is running instance of that imageDocker image is created once and multiple Container instance can be created from same imageDocker image just requires disk space as its logical , where as container instance requires computation resource + memory space Containers also isolate applications from each other on a shared OS Difference between docker pause and unpause? The docker pause

Read more

Assignment For 25 Oct 2021 – Docker Session

Assignment# 1 – What is Docker and Container? Define in 15 points with example image Docker:- is a tool which manages Containers and it provides industry a const efficient , time efficient and quality infrastructure. Docker is a utility built on top of kernel which is responsible to allocate resources from main system which is used by Containers. Dockers basically talks to kernel as per User requests and creates below core resources from kernel Namespace which will be used by

Read more

Docker Update & wait command

Update The docker update command dynamically updates container configuration. You can use this command to prevent containers from consuming too many resources from their Docker host. Examples: docker update –cpu-shares 512 23263ad49893 Wait Block until one or more containers stop, then print their exit codes. Examples: start the container in background docker run -dit –name=poorani1 bash wait for the container docker wait poorani1 stop the container in another terminal or console docker stop poorani1 container wait command will get the exists

Read more

Assignment

1. What is Docker and Container? Define in 15 points with example image. Docker is an open source platform tool for building, deploying, and managing containerized applications. Containers are an abstraction at the app layer that packages code and dependencies together. Multiple containers can run on the same machine and share the OS kernel with other containers, each running as isolated processes in user space. 2. What is the difference between docker pause and unpause? The docker kill, docker stop

Read more

Lab and Assignment For 25 Oct 2021 – Docker Session

Assignment# 1 – What is Docker and Container? Define in 15 points with example image Container: Container in short a runtime of it’s own Runs in separate namespace isolated from host Has its own Root FS & USER space, PID tree, MNT and Network etc. This is not a bootable image like VM and BOOT FS is held with host itself. Its own quota of Resources like RAM, CPU etc would be Allocated through cgroups Docker: Container manager SW that

Read more

Lab and Assignment For 25 Oct 2021 – Docker Session – Senthil

Assignment# 1 – What is Docker and Container? Define in 15 points with example image Docker: Docker is container management platform There are two major Docker components – Docker Engine and Docker Image Docker Engine is a collection of Docket client, service Docket container is collection of ContainerD service and interface to Kernel services Docker Image is a collection of file systems and versions of file systems Docket images contains ROOT file system + User file system and Application file

Read more

Lab and Assignment 1 For 25 Oct 2021 – Docker Session

What is Docker? Docker is container management tool. Docker has two release. Enterprise Community. Father of Docker is solomna hykes. It’s written in Golang. Latest version of Docker is 20.X 2. Container Container is runtime application environment where we can run the application. lightweight and has no OS , Kernel. Which has all resources to run which comes from root machine, independent run time environment and isolated. 3. Difference between docker pause and unpause? Docker pause Docker unpause Suspends all

Read more

What is a fork in GitHub?

Hello folks, welcome to the exotic world of programming. Let’s take a move to the scene of the fork and its contribution in that how can we do fork and contribution in GitHub. If you would understand that each and every aspect of account creation, making a repository, and creating the branch in GitHub then this is the place where you can great ideology on the fork. Adding more features Suppose you have opened your profile and there is a

Read more

How to create a branch in GitHub?

Hello listeners, today, we are going to talk about how to make a branch in GitHub? Before, starting this article. Must you will read this article till the end. Let’s start to create a branch in GitHub. After knowing how to create a repository in GitHub? What is the need for a branch in GitHub? Suppose, you have your own repository from the name of GitHub training then you want to add any features in the code. You aren’t sure

Read more

How to create a repository in GitHub?

Hello everyone, welcome to the wonderful world of computer programing. Today, we are going to talk about the repository. Before starting this, I want to do clear one thing that must, you will read this article till the end. Let’s have look, how can we make  GitHub repository? As you know about GitHub account creation. Create a repository in GitHub Simply, you can understand the repository like repository is your folder in that you upload your projects. So, how can

Read more

Why we have default-token secret in each namespaces of kubernetes clustor?

A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don’t need to include confidential data in your application code. A kubernetes.io/service-account-token type of Secret is used to store a token that identifies a service account. When creating a Pod, Kubernetes automatically creates a service account Secret and automatically modifies your Pod to

Read more

How to create a GitHub account?

Hello friends, welcome to the world of programming. Let’s start this. Like, you will have seen the title of the article. Today, I’m talking about GitHub, mainly talk will happen about GitHub. After that, you are taking to see some more platforms, those are like GitHub, that use of Git. Unlimited private repositories Therefore, go to GitHub and looking for the pricing, for pricing, we go to the plans & see the price. That GitHub was before 20I9, those were

Read more

Q1. Define ReplicaSets with atleast 2 example

A ReplicaSet is a process that runs multiple instances of a Pod and keeps the specified number of Podsconstant. Its purpose is to maintain the specified number of Pod instances running in a cluster at given timeand to prevent users from losing access to their application when pPod fails or is inaccessible. create -f rs.yamlkubectl get rs replicasetkubectl get Pods Q2. What happen when you pause a deployment using rollout? K8 enables you to pause a deployment. You can then

Read more

Define ReplicaSets with atleast 2 example

Replica sets is to ensure defined no. of identical pods are always available, even if some of the pods gets corrupted and becomes unavailable, it is restarted by replica sets again. Example – In case of node failure where 1 node fails, replica-set ensure, pods of that node is started in another node. In case of deployment rollout, replica sets ensure new pods gets created with new version.

Read more

How certifcate based auth works ?

We use PKI certificates for authentication over TLS in Kubernetes. If we install Kubernetes with “kubeadm” command, the certificates that your cluster requires are automatically generated. You can also generate our own certificates. How Certificates are used in Kubernetes Cluster: Client certificates for the kubelet to authenticate to the API server Server certificate for the API server endpoint Client certificates for administrators of the cluster to authenticate to the API server Client certificates for the API server to talk to

Read more

What is diff between kubectl exec and kubectl attach

Kubectl Exec: In addition to being able to attach to existing processes inside a container, the “exec” command allows you to spawn new processes inside existing containers Kubectl attach: In addition to interactive execution of commands, you can now also attach to any running process. Like kubectl logs, you’ll get stderr and stdout data, but with attach, you’ll also be able to send stdin from your terminal to the program

Read more
1 2 3 144