Posts

About Agile

Agile is for describing various approaches for software development.  It focuses on timely incremental delivery, collaboration of team, constant planning and learning.  The term ‘Agile’ is from the 2001 Agile Manifesto. Scrum is the most widely used and very popular Agile based framework. It is used to develop complex projects/products/systems.  Scrum word came from the game rugby. Scrum Team learn from experiences, they do self-organise, they reflect on their achievement and successes and they do losses to continually improve.  Scrum helps in increasing the productivity and it reduces time to market as compared to the ‘waterfall’ model. Agile is a mindset and a set of principles based on the agile manifesto. There are so many other different methodologies to implement and utilize the Agile philosophy.  Scrum is the process framework that follows and implements agile mindset or principles.  Scrum is the most popular Agile frameworks used in product/system/p...

Scrum and Scrum master

  Scrum  Scrum  is a framework which helps a team to work together.  It is like a rugby team (the scrum name comes from rugby game). Scrum encourages  teams to learn  and get through the experiences,  It help team to self-organize while working on a problem, and reflect on their wins and losses to continuously improve. Scrum  describes a set of meetings, some tools, and the roles that work in such a way that it helps teams to structure and manage their work. Scrum master The scrum master helps to facilitate scrum to the larger team by ensuring the scrum framework is followed.  scrum master is committed to follow the scrum practices and values, also remain adaptive and open to the new opportunities for the team to pmprovise their work pattern and workflow. Scrum master works/communicate with each member of the scrum team to help and guide the team using the scrum framework. Scrum Master has following responsibilities: Standups Meetings : Arra...

Git Questions and Answers

Question 1. What Is Git? Answer : GIT is a distributed version control system and source code management (SCM) system with an emphasis to handle small and large projects with speed and efficiency. Question 2. What Is A Repository In Git? Answer : A repository contains a directory named .git, where git keeps all of its metadata for the repository. The content of the .git directory are private to git. Question 3. What Is The Command You Can Use To Write A Commit Message? Answer : The command that is used to write a commit message is “git commit –a”. The –a on the command line instructs git to commit the new content of all tracked files that have been modified. You can use “git add<file>” before git commit –a if new files need to be committed for the first time. Question 4. What Is The Difference Between Git And Svn? Answer : The difference between GIT and SVN is: a) Git is less preferred for handling extremely large files or frequently changing binary files while SVN can h...

Steps to deploy image into kubernetes (Minikube)

STEPS TO DEPLOY IMAGE INTO KUBERNETES-MINIKUBE ================================================== Note: Confirm you have installed the VirtualBox, Docker Toolbox, minikube, (kubectl, kubeadm) 1) Open docker command line 2) Push the created image into the docker hub (Note: As in windows we are not able to locote the local image. We will push the image on docker hub and will get it back from the same for running it in minikube) PUSH IMAGE ON DOCKER HUB:(create account on docker hub and create one repository) $ docker tag image_id hugusername/image_name:tag_name $ docker tag image_id rajkirpalsinh/myapp:v1 $ docker push rajkirpalsinh/myapp 3) Start Minikube: $ minikube start 4) Run the image into minukube from the docker hub repository(v1 is the tag name and rajkirpalsinh/myapp is the hub_username/repository_name): $ kubectl run myapp1 --image=rajkirpalsinh/myapp:v1 --port=8080 (It will find the v1 tag image from the rajkirpalsinh/myapp repository and will run it in your local minik...

Kubernetes introduction

0) Kubernetes is a production-ready, open source platform designed with Google's accumulated experience in container orchestration, With modern web services, users expect applications to be available 24/7, and developers expect to deploy new versions of those applications several times a day. Containerization helps package software to serve these goals, enabling applications to be released and updated in an easy and fast way without downtime. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work. 1) One can say Kubernetes is a Multicontainer management solution 2) Kubernetes gives containers their own IP addresses and a single DNS name for a set of containers, and can load-balance across them. 3) Automatically mount the storage system of your choice, whether from local storage, a public cloud provider such as GCP or AWS or a network storage system 4) Kubernetes progress...

Steps to deploy an Image in docker container

STEPS TO CREATE AND DEPLOY IMAGE INTO DOCKER CONTAINER These steps are for creating image of simple Spring MVC WebApp Create a file name "Dockerfile"  at the root of your webapp with following two line content: FROM tomcat:8.0.20-jre8 COPY /target/myApplication.war /usr/local/tomcat/webapps/ To create a Docker Image open Terminal/command Prompt and then navigate to the project root directory and build the docker image ( You need to have docker installed on your system) $ docker build -t myapp . (don’t miss “.” , as it tells docker file is in current directory) If the above command is successful then use $ docker images see if the image has been created.There should be a docker image called myapp Run Docker Image $ docker run -d  -p 8080:8080  --name mydockerapp myapp If above command was successful use: $ docker ps -a it should show the running images logs of a particular container $ docker logs ContainerName/ContainerID last 2500 lines of logs will be displayed $ ...

Docker and its Components

Docker: Docker is a tool/system/framework designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. Docker Components: Images - The blueprints of our application which form the basis of containers. In the demo above, we used the docker pull command to download the busybox image. Containers - Created from Docker images and run the actual application. We create a container using docker run which we did using the busybox image that we downloaded. A list of running containers can be seen using the docker ps command. Docker Daemon - The background service running on the host that manages building, running and distributing Docker containers. The daemon is the process that runs in the operating system to which clients talk to. Docker Client - The command line tool that allows the user...