How does DNS look up work for Kubernetes

How does DNS look up and DNS resolution work for Kubernetes?

What is DNS?
Think about olden time, we used to keep phone book to find contact numbers. DNS is like a phone book of IP address.
How Does DNS resolution work Generally?DNS resolution is the process converting domain name (e.g. shalimatech.com ) to computer friendly Ip number. Since this IP number is mapped to computer the requests go to that device and that’s when a request is sent to shalimatech.com the IP gets the resources back to the user.

How Does DNS resolution work in Kubernetes clusters?
DNS resolution is done vis Kubernetes’s CoreDNS. Once you refer resolve.conf then you would understand how kubelets configures this.

What is PSScriptAnalyzer used for

What is PSScriptAnalyzer used for ?

PSScriptAnalyzer is code quality scanner developed by Microsoft to scan powershell code. 

PSScriptAnalyzer can be installed using below command in Powershell ISE 

“Install-Module -Name PSScriptAnalyzer”
PSScriptAnalyzer cmndlet to unit test powershell code below:

“Invoke-ScriptAnalyzer -Path ‘path of targetted ps1 file to be scanned for code quality’

What is HtmlUnitDriver in Selenium

What is HtmlUnitDriver in Selenium ?

When I wanted to run my automation scripts on CI/CD pipeline back in 2017, I was experimenting the headless browsers using HtmlUnitDriver
Now Chrome headless picked up popularity over HtmlUnitDriver as switching from GUI browser selenium code to Chrome headless is very easy unlike HtmlUnitDriver.
Selenium automation utilized HtmlUnitDriver when it needs a non GUI mode executions on jenkins server when there is no browser installed on it or no support from docker containers.

What is PhantomJs used for

What is PhantomJs used for ?

When I wanted to run my automation scripts on CI/CD pipeline back in 2017, I was experimenting the headless browsers starting with PhantomJs.
Now Phantomjs is a discontinuoed headless browsers due to poor maintenance and support. 
Selenium automation utilized PhantomJs when it needs a non GUI mode executions on jenkins server when there is no browser installed on it or no support from docker containers.

How to deploy machine learning models

How to deploy machine learning models ?

Machine learning models can be developed using TensorFlow, and orchastrated using Kubernetes and build it in Docker container. These can be combined with AWS services like CloudWatch, EKS and S3. This can basically give an API for developers to deploy their machine learning models.

What is Tensorflow?

Tensorflow is an opensource library used for machine learning specifically artificial neural networks. It provides API for various machine learning tasks.
It is important to learn following terminology prior learning Tensorflow.
Artificial neural networks are inspired from Animal brains that learn from experiences. Similarly neural networks learns from examples to perform its tasks than running predefined programs.


What is Keras

High level neural networks API written in python which Tensorflow utilized for building its programs.


What is Dense

Dense is the neural network layer in the tensorflow 

how to build a team in the workplace

How to build a team in the workplace ?

It is good idea to build a team having members with good strategy for executing project. This member can be identified as leader

Then team needs a good analyst who needs to have skills to manage roadmap, backlog of work. This person can be called as Analyst.

And finally needs the developers (1 pr more depending on the work load and customer needs) who can deploy the code or bots.

What is the difference between Robotic Desktop Automation (RDA) vs Robotic Process Automation (RPA)

What is Robotic Desktop Automation (RDA) vs Robotic Process Automation (RPA) ?

For me RDA is automation of single desktop/user and RPA is automation of many desktops/uses.

Desktop automation is a robotic process automation which was a scaled down version of actual RPA for a single user. Robotic desktop automation is used for data scraping, Excel automation, file transfers, report generation, etc. An example, checking an apllication for a status on regular basis and to download reports or emailing a report to a distributed list of people.

However RPA installs on a server (not for single desktop eventhough that can also be done), cloud , or virtual machines. RPA processes can spread acrross departments or work flows.

For example, invoice generation needs to flow through multiples of tasks is a great candidate for RPA. It might start with retrieving an attachment from an email, then RPA needs to categorize it, uploading to an ERP systems, then find the right receiving person and send out email to that right approval person is a perfect candidate for RPA.

How rapid app development is done?

How rapid application development is done ?

Before cloud comes into IT world, the development was time consuming in terms of deploying,  integrating backend or API to make an end to end functioning application.

But now when you consider AWS, Firebase, Amplify, or Hasura that provides backend service right away with minimal coding or integration efforts. Plus easy deployment from your own. No much coordinated efforts by involving IT Admin team.

So right tool selection is extremely important for the success in delivery and customer service.

What is OpenCV

What is opencv library ?

Open Source Computer Vision Library (OpenCV) is a open source computer vision and machine learning software library. 

OpenCV is a BSD-licensed product, since it is BSD licenses it can be utilized or modified for anyOpenCV businesses use. Sikuli has leveraged OpenCV for image recognition.

OpenCV was built to provide a common infrastructure for computer vision applications 

OpenCV helps to accelerate the use of machine perception in the commercial products. 

How does Karate framework work

What is Karate Framework and API test automation is done using Karate ?

Overview

Karate framework is the only framework that combines API, Web Automation, mock and performance testing using Gatling. It supports some level of RPA/RDA testing by integrating Sikuli with it’s scritps.

Stackoverflow links related with Karate framework

https://stackoverflow.com/questions/59768331/like-selenium-grid-hub-node-is-there-any-option-to-run-karatedriver-on-grid

https://stackoverflow.com/questions/58854004/karate-driver-synchronization-challeges

https://stackoverflow.com/questions/58783547/karate-driver-connection-refused-error-while-using-driver-type-chrome-and-exec

https://stackoverflow.com/questions/58634921/calling-karate-feature-files-based-on-soap-response-status-code-200-or-500

Karate framework can be build using gradle or maven. If you already know Cucumber framework it is easy to learn Karate framework. Karate uses feature files and Karate specific DSL supports both API and Web automation. Karate’s Java runner file can call the feature file having Karate DSL to perform API transactions like GET, POST, PUT and DELETE.

Karate version 0.9.5 released in 2020 has the following features,

  1. Debug from Visual Source code IDE
  2. Hot reload, step over / into / out / back

In 2019, Karate started web automation. Karate 0.9.5 feature will make Karate as complete test automation framework supporting both API and Web automation. Also another point to be noted is Karate’s integration with Sikulix for Desktop automation, integration with Gatling for performance testing and Mocking support for API testing.