Posts

What is IP Class, Subnet mask and CIDR?

Image
  IP Class IPv4 consists of a logical address system consisting of 255.255.255.255 32 bits (4 bytes) in length, and one IP consists of a Network Address and a Host Address. In particular, here, Network Address divides its scope into areas that are easy to manage, and we call it Class. This class consists of five classes from A to E as follows, and the Network Address area and Host Address area of each class are shown in the figure.  The starting range of each class is easy to remember by calculating the following equation. There are 256 ranges to input into IP (0 to 255) Divide by 2 from 256. 256 / 2 = 128 - 1 = 127 (range of A class: 0 ~ 127) 128 / 2 = 64 + 127 = 191 (range of B class: 128 ~ 191) 64 /2 = 32 + 191 = 223 (range of C class: 192 ~ 223) the rest of the number of 32 is divided by 16 and separated into a D class and an E class each.  Subnet Subnet Mask is used to raise or lower the Network Address value by masking the value to Network Address. In other words, t...

Robotic Studio project

  Robotic_Studio_project

setting of Kafka

Number of Partitions >= Number of Instance Transmission Warranty - Adjust to suit the Client's requirements At Most Once Retransmission X, Duplicate deletion X At Least Once: Retransmission O, Duplicate deletion X Exactly Once: Retransmission O, Duplicate deletion O Offset Commit: Adjust to suit the Client's requirements Auto Offset Commit Manual Offset Commit commitSync commitAsync Offset is managed by Consumer Group one message can be consumed to the same value in another Consumer group, but only once within the same Consumer Group. Producer processing method Synchronous Asynchronous server.properties unclean.leader.election.enable True: Expelled from the ISR, but automatically becomes the leader when it comes to life first. False: Waiting for the last leader to come to alive Enable connectivity only from internal clients listeners = PLAINTEXT://{private IP}:9092 advertised.listeners= PLAINTEXT://{private IP}:9092 Enable connectivity only from external clients listeners=PL...

User-Centred Design Project (UI/UX)

Image

Summary of Git Command

 Get all sources from remote git create workspace or project folder. use the " git init "command in the Project folder. git remote add origin https://....../xxx.git git pull origin master When committing to a remote location  how to set global config in git - git config --global user.name "steve.lee" - git config --global user.email "steve.lee@example.com" git add [filename/ . ] git commit -m "message" push -u origin master Summary of frequently used commands in Git  git init = create a git git clone git_path = acquiring code from somewhere git checkout branch_name = select a branch git checkout -t remote_path/branch_name = select a remote branch git branch branch_name = create a branch git branch -r = list of a remote branch git branch -a = list of a local branch  git branch -m branch_name change_branch_name = change a branch name git branch -d branch_name = delete branch  git push remote_name -- delete branch_name = delete remote branch ex...

how to configure Grafana with Prometheus

Image
Today, let's find out how to install Grafana using the Helm chart and how to configure Grfana with Prometheus. Configure Grafana Grafana is an open-source toolkit for visualizing time series data. It is often used to visualize the metrics or log information of resources. The characteristics are summarized as follows. Data integration and transformation Visualize by collecting data dynamically and not dependent on backend storage or database. Support various operation performance functions for different queries and data sources. Various plug-ins are supported. It supports a variety of data source plug-ins with real-time rendering. Notification support. Support notification and management functions in visualized UI. Customizing dashboards. Install Grafana install Grafana using Helm Chart  Add Helm Repository for Grafana installation. $ helm repo add grafana https://grafana.github.io/helm-charts Download Grafana Helm Chart. $ git clone https://github.com/grafana/helm-charts.git Move ...

How to Install jenkins using Helm chart on instance

How to install Jenkins using Helm Chart on instance Prerequisites To follow along with this post you need to use a Kubernetes cluster and Helm chart. All major cloud provides offer hosted Kubernetes clusters: 1. AWS: EKS 2. Azure: AKS 3. Google Cloud: GKE you must also have the Helm Client installed. The Helm documentation provides install instructions. [Helm documentation: https://helm.sh/docs/intro/install/ ] we also have a way to deploy Jenkins on your local machine, but we will not explain it on this post.  Adding the Jenkins Chart repository $ helm repo add jenkins https://charts.jenkins.io $ helm repo update $ helm repo list Deploying a simple Jenkins instance To deploy a jenkins instance with the default settings, run this command: $ helm upgrade --install jenkins(jenkins_name) jenkins/jenkins  its the easiest way to deploy jenkins with default values. but I will introduce how to deploy Jenkins to LoadBalancer type. I will share the Helm-Jenkins yaml file: -------------...