Posts

Showing posts from March, 2022

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