Skip to main content

Posts

CoreOS

I have started learning Kubernetes for last few months now. While learning this, I had come across a beautiful concept of etcd. Doing further research on etcd I came to know that it has come from CoreOS. The latest I hear is etcd will now be part of CNCF (Cloud Native Compute Foundation).  So some basic information I gathered about CoreOS is here. CoreOS is sometimes referred to as Container Linux CoreOS is a linux distribution It does not have a package manager, so nothing like yum or apt-get CoreOS took inspiration from Chrome browser, so they push all the required updates automatically. Only containers can run on CoreOS CoreOS at best works with multiple machines (like a cluster) Fleet is used to bring systems together to form a cluster Fleet is now discontinued in favor of Kubernetes etcd is a distributed key value data store. It can be used for storing configuration values, service discovery etc CoreOS is building many components that work w...

underscore.js extend

underscore.js is a javascript utility library. Let us understand the extend method of this very useful library. _.extend is for extending a given object with all the properties of the passed-in object(s) Here is an example, we have three objects aObj, bObj, cObj and we want to combine them into single object. Using _.extend is a simple way of combining these objects. And before trying out the example don't forget to import the underscore.js library Now access the source code of underscore.js and look for the extend method. This is how it looks like This uses functional programming style.  createAssigner takes two inputs and returns a function. The two inputs are (1) keysFunc  (2) defaults Since it is returning a function, so a closure is formed, and the returned function remembers the two inputs Looking at the source code from the line (keys = keysFunc(source)) it is evident that keysFunc is a function itself. ...

Azure Active Directory B2B

This is an extension of Azure Active Directory Service. Simplest way to think is if the organization wants to collaborate with another organization by sharing their applications, then the IT has to think of a way to provide access to the users. Also policies have to be set to remove the access and restrictions around the access to applications. Azure AD B2B does this for you. Users will be sent a invite using which they can use their own preferred account to access the applications. Users can use their social networking account to access the applications, while Azure AD strong policies take care of the applications that can be accessed by users. If the organizations want to use their corporate accounts, then the users need to create a password first and use their corporate account. As per the Microsoft in the future they will collaborate for SSO so that users do not need to create new passwords. Azure AD B2B will also allow users to be added to administrator groups....