How to install Node on Mac using NVM and Homebrew
Version Manager makes it easy to install multiple versions of Node on a Mac. You install NVM using Homebrew, and if you don’t have Homebrew installed yet, read this article.
Step 1: Install NVMInstall node version manager.
1brew install nvm
Step 2: Create a directory for NVM1mkdir ~/.nvm/
Step 3: Configure your environmental variablesEither create or open your .bash_profile.
1vim ~/.bash_profile
Paste this.
12export NVM_DIR=~/.nvmsource $(brew --prefix nvm)/nvm.sh
Execute the content we just p ...
Install K8S on Centos 7.5
Install K8S on Centos 7.5Kubernetes (K8s) uses a containerization platform like Docker, containerd, etc. and requires a Registry to download and use Docker images. Docker Hub is the global public registry that serves the purpose. However, there are situations, when we want to use Kubernetes (K8s) in a private network. In such a situation, we cannot access Docker Hub, therefore, we must configure a Private Docker Registry for our Kubernetes (K8s) cluster.
In this article, we will install Kubernet ...
Introduce K8S
Basic Concept
MasterA physical machine. It is using to monitor and dispatch to each node to work. The master is the controller.
NodeA node can be a virtual or physical machine. A node is a worker
Pod
A pod is the smallest unit in K8S. A pod is a container of containers.
A pod contains can container many containers.
A pod is a process.
Each pod has its own IP address.
Each pod can communicate, but the communication has to go via kube-proxy.
Pause is a root container in the pod.
Pod should contain ...