DEV Community

coktopus
coktopus

Posted on • Updated on

CICD in 5 steps with circle CI & helm

CICD itself is enormous, so we just cover those section which is
sufficient to maintain the production deployment of a basic application.

CICD is the process of continuous integration and continuous delivery which means automating all the steps involved right from merging the code to updating the running environment with that code.

This setup was created to manage the deployments of my first side project and after completing and implementing the pipeline I just realized that the setup is a short and effective solution which makes me motivates to write a blog.

The series has 5 steps which are interlinked with each other.


Setup gcloud

Important points
  • Cloud is free for a yearπŸ†“
  • Google Kubernetes Engine automatically creates VM instances.πŸ’»

Alt Text

Google Cloud projects form the basis for creating, enabling, and using all Google Cloud services including managing APIs, enabling billing, adding and removing collaborators, and managing permissions for Google Cloud resources.

Creating a cluster is the primary step inside the project.
Cluster is the set of one master node and multiple worker nodes that run the containerized applications.

Master node runs the core resource controllers and inside the worker nodes, pod runs the containers which can be 1 or more that one.

While setting up the cluster, one step will be of a machine set up in which OS image, CPU performance, and resource allocation have to be selected.

Alt Text

Once the cluster's setup is completed the cloud is ready to deploy applications.

Alt Text

The best feature of gcloud is that it provides the shell terminal in its UI, so no need to connect separately with puTTY.

Alt Text

gcloud init

and

gcloud auth login

are the basic commands and reference video is attached for more details.

TO BE CONTINUE...

Latest comments (0)