Posts

Showing posts from 2019

Finally clarified with PODs in Kubernetes

Image
PODs in Kubernetes What is POD? How PODs are deployed in Kubernetes? What instances we will use in multiple containers in single POD? How does POD networking works? Inter-POD networking and Intra-POD networking? POD Life Cycle. 1.What is POD? Atomic unit of scheduling in Kubernetes world. So, when we get into the watch vitalization world the atomic unit of scheduling is virtual machine. If you want to deploy any app then you need to put your code and related config in so the virtual machine and then deployed. Next, when it comes to the containerization world generally we use containers and in the same way we use POD in Kubernetes. So, at a high-level POD is a basic unit of scheduling in Kubernetes.                                                                       ...

Whats in when we do a Kubernetes Deployments

Kubernetes Deployments ​ Why use a Kubernetes Deployment? A Deployment resource uses a ReplicaSet to manage the pods. However, it handles updating them in a controlled way. Let’s dig deeper into Deployment Controllers and patterns. Your First Deployment Let’s have a quick demonstration of what Kubernetes Deployments can do. The following Deployment definition deploys four pods with Apache as their hosted application: apiVersion : apps/v1 kind : Deployment metadata : name : apache - deployment labels : role : webserver spec : replicas : 4 selector : matchLabels : role : webserver template : metadata : labels : role : webserver spec : containers : - name : frontend image : httpd ports : - containerPort : 80 Copy Save the above in a file. In this example, I named the file apache_deployment.yaml. Apply the definition to the cluster by running th...

Moment.js the ultimate guide

I thought of writing a blog but found found this ultimate guide which is better that moment documentation https://www.freecodecamp.org/news/the-ultimate-guide-to-javascript-date-and-moment-js/

Journey to thing to learn to become a Data Scientist

Data science https://github.com/rushter/data-science-blogs https://www.datasciencecentral.com/ https://rushter.com/dsreader/ R https://www.r-bloggers.com/ Python https://pythontips.com/ Machine learning https://towardsml.com/ http://www.erogol.com/machine-learning-pathway/ Data sets to play around https://archive.ics.uci.edu/ml/machine-learning-databases/ https://www.gapminder.org/ Courses https://www.kdnuggets.com/ Statistics https://stats.idre.ucla.edu/other/mult-pkg/faq/general/faq-how-do-i-interpret-odds-ratios-in-logistic-regression/ Useful Resources https://www.datacamp.com/community/tutorials/data-science-techniques-dataframed https://www.datascienceweekly.org/data-science-resources

Data Science v/s Data engineer v/s Data Analyst

Data Scientist A data scientist is the alchemist of the 21st century: someone who can turn raw data into purified insights. Data scientists apply statistics, machine learning and analytic approaches to solve critical business problems. Their primary function is to help organizations turn their volumes of big data into valuable and actionable insights. Indeed, data science is not necessarily a new field per se, but it can be considered as an advanced level of data analysis that is driven and automated by machine learning and computer science. In another word, in comparison with ‘data analysts’, in addition to data analytical skills, Data Scientists are expected to have strong programming skills, an ability to design new algorithms, handle big data, with some expertise in the domain knowledge. Moreover, Data Scientists are also expected to interpret and eloquently deliver the results of their findings, by visualization techniques, building data science apps, or narrating interes...

Best opensource charts to display multiple data-sets in angular8 - Chart.js is a clear winner

1) ng2 charts https://valor-software.com/ng2-charts/#/LineChart https://www.npmjs.com/package/ng2-charts https://alligator.io/angular/chartjs-ng2-charts/ Code samples:- https://stackblitz.com/edit/ng2-charts-scatter-template https://stackblitz.com/edit/ng2-charts-radar-template ------------------------------------------------------- 2) Chart.js https://www.chartjs.org/ https://github.com/chartjs/awesome https://www.chartjs.org/docs/latest/charts/mixed.html https://code.tutsplus.com/categories/chartjs Code samples:- https://github.com/designcourse/angular-chartjs https://tobiasahlin.com/blog/chartjs-charts-to-get-you-started/ http://plnkr.co/edit/TvY5tz?p=preview ----------------------------------------------------- 3) Highcharts https://stackblitz.com/edit/highcharts-angular-6 https://github.com/m-haziq/highcharts-simplified/ https://api.highcharts.com/highcharts/series ---------------------------------------------------- Other noteworthy mentions :- Can...

Graphql

Image
GraphQL is a query language for your API, and a server side runtime for executing queries. A single endpoint can return data about multiple resources, which makes it a great fit for Vue.js single page applications. Why GraphQL RESTful APIs follow clear and well-structured resource-oriented approach. However, when the data gets more complex, the routes get longer. Sometimes it is not possible to fetch data with a single request. This is where GraphQL comes handy. GraphQL structures data in the form of a graph with its powerful query syntax for traversing, retrieving, and modifying data. Ask for what you want − and get it  Unlike Restful services, these applications can restrict data that should be fetched from the server. GraphQL - Architecture GraphQL is a specification that describes the behavior of a GraphQL server. It is a set of guidelines on how requests and responses should be handled like supported protocols, format of the data that can be accepted by ...

Set up CI/CD in Azure in 5 minutes

Image
This setup is based on pictorial based approach create a new project Project creation screen Backlog creation Create a new pipeline for run tests for your projects pipeline creation steps :- Connect Select your repo Configure your pipeline Review Agent and job creation and execution  Successful creation New Stage release creation  Successful release creation