Posts

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: -------------...

Best Programming Languages for DevOps Engineers

DevOps is a task that requires programming and scripting technology for infrastructure automation, software development (such as application distribution to various environments), infrastructure management (server monitoring and scale-out, responsiveness at high loads), and testing (virtual infrastructure management). What are the best scripting and programming languages for DevOps engineers? Go Language Python Bash Scripts Powershell Groovy JavaScript