Posts

Deploying wordpress on kubernetes using terraform with RDS

Image
Task overview:-   I n this task, we have to deploy a WordPress application on Kubernetes and use rds for the database using terraform. Services used: Kubernetes :- Kubernetes is an open-source container orchestration system for automating computer application deployment, scaling, and management. It aims to provide a "platform for automating deployment, scaling, and operations of application containers across clusters of hosts". It works with a range of container tools, including Docker. RDS:- Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups minikube:- Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a Virtual Machine (VM) on your laptop for users looking to try

Driver Drowsiness Detection Alert System with Open-CV & Keras Using IP-webCam For Camera Connection

Image

Media Player Using Flutter

Image
             Media Player Using Flutter                    Flutter is a mobile development SDK and an open-source project currently in beta. It is developed by Google. It helps you build a fast, beautiful, and cross-platform mobile application. It uses a new language called Dart. One of the biggest advantages of Flutter is Reactive views and Widgets. Flutter provides Reactive views without the need for the javascript bridge. It improves performance significantly. Everything is Widget Key Features Hot Reload:  Flutter’s version of hot reload really ease the effort and makes the development process enjoyable. It is already present in React Native. Smart widgets:  If a single widget has an error in processing, only that widgets and its child will get affected. All other widgets will render just fine. In place of affected widgets, the error message is displaced.  Everything is a widget:  In Flutter, Everything is a widget nested inside another widget. It comes with beautiful, customizable

🎴Layout, ⚡ Hot Reload in Flutter!!!

Image
Creation of own layout in our app         using a Flutter framework!!    Hot Reload:-  It is modified our flutter file just by saving it. Do some changes and just saved, it gets automatically updated in a second. For that, we need to add a hot reload in the main dart file show below. import   'package:flutter/material.dart' ; import   'ui/home.dart' ; main () {    runApp ( MyApp ()); } //following code is for hot reload class   MyApp   extends   StatelessWidget  {    @override    Widget   build ( BuildContext  context) {      return   app1 ();   } } For changing status bar color just add code in pubspec.yaml file and then save it after saving run cmd flutter pub get  and automatically install the library.    fluttertoast :  ^7.0.1      flutter_statusbarcolor :  ^0.2.3 Flutter toast is useful for interactive nature also responds after a click. Now for addition, the status bar uses the following line of code in dart file.    FlutterStatusbarcolor . setStatusBarColor ( Col

Task - 4 DevOps Assembly Lines

Image
Task - 4 DevOps Assembly Lines Task Overview : Create A dynamic Jenkins cluster and perform task-3 using the dynamic Jenkins cluster. Steps to proceed as: Create container image that’s has Linux and other basic configuration required to run Slave for Jenkins. ( example here we require kubectl to be configured ) When we launch the job it should automatically starts job on slave based on the label provided for dynamic approach. Create a job chain of job1 & job2 using build pipeline plugin in Jenkins Job1 : Pull the Github repo automatically when some developers push repo to Github and perform the following operations as: a. Create the new image dynamically for the application and copy the application code into that corresponding docker image b. Push that image to the docker hub (Public repository) ( Github code contain the application code and Dockerfile to create a new image ) 5. Job2 ( Should be run on the dynamic slave of Jenkins configured with Kubernetes kubectl command): Launch