Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log & Monitor
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Month: October 2021

[Jenkins] Lesson 8: example of Post in Jenkins Pipeline.

Posted on October 31, 2021October 31, 2021 By nim No Comments on [Jenkins] Lesson 8: example of Post in Jenkins Pipeline.
[Jenkins] Lesson 8: example of Post in Jenkins Pipeline.

Post https://www.jenkins.io/doc/book/pipeline/syntax/#postpost ở đây là khi bạn completed 1 Pipeline hay 1 stage thì chúng ta chạy “post” để kiểm tra cuốiNghe vẫn khó hiểu thì bay ngay vào ví dụ. success, failure, always Giờ ta sửa cho stages bị error change giờ click lại luôn và không sửa pipeline unstable thêm post unstable thì…

Read More “[Jenkins] Lesson 8: example of Post in Jenkins Pipeline.” »

Jenkins

[Jenkins] Lesson 7: Create a From by Jenkins

Posted on October 31, 2021 By nim No Comments on [Jenkins] Lesson 7: Create a From by Jenkins
[Jenkins] Lesson 7: Create a From by Jenkins

Bạn tạo 1 pipeline và sử dụng Jenkinsfile Khi mình ấn build thì sẽ như sau:

Jenkins

[Jenkins] Lesson 6: Parallel in Pipe Jenkins

Posted on October 31, 2021October 31, 2021 By nim No Comments on [Jenkins] Lesson 6: Parallel in Pipe Jenkins
[Jenkins] Lesson 6: Parallel in Pipe Jenkins

Parallel nghĩ các stage trong pipeline sẽ chạy đồng thời. Parallel if pipeline doesn’t have problem. if a stage was error

Jenkins

[Jenkins] Lesson 5: Condition “When” in Pipeline Jenkins

Posted on October 30, 2021October 31, 2021 By nim No Comments on [Jenkins] Lesson 5: Condition “When” in Pipeline Jenkins
[Jenkins] Lesson 5: Condition “When” in Pipeline Jenkins

When nếu mà match với điều kiện when thì sẽ action step trong stage(“Đó”)nếu ko match với điều kiện when thì skip step trong stage(“Đó”)nghe hơi ngáo vậy đi vào ví dụ thôi Environment When này sẽ check environment nếu trả về true thì action steps bên dưới. equals Các bạn để ý kĩ chỗ…

Read More “[Jenkins] Lesson 5: Condition “When” in Pipeline Jenkins” »

Jenkins

[Jenkins] Lesson 4: Environment in Pipeline Jenkins

Posted on October 30, 2021October 30, 2021 By nim No Comments on [Jenkins] Lesson 4: Environment in Pipeline Jenkins
[Jenkins] Lesson 4: Environment in Pipeline Jenkins

Environment standard example 1: sample example 2: environment didn’t declared in stage Pipeline Example 3: environment declared at both global and stage Pipeline example 4: print env of system credential

Jenkins

[Jenkins] Lesson 3: Option in Pipeline Jenkins

Posted on October 29, 2021October 30, 2021 By nim No Comments on [Jenkins] Lesson 3: Option in Pipeline Jenkins
[Jenkins] Lesson 3: Option in Pipeline Jenkins

Option in Pipeline Scipt https://www.jenkins.io/doc/book/pipeline/syntax/#options option – retry – steps – error option – retry – not work with currentBuild.result = “FAILURE” option – timeout – steps – sleep option – timestamp() – Invalid option type “timestamps” Invalid https://issues.jenkins.io/browse/JENKINS-48556 resolve above problem Anh em biết cách fix chỉ mình nhé. options-skipdefaultcheckout skip default checkout Sau…

Read More “[Jenkins] Lesson 3: Option in Pipeline Jenkins” »

Jenkins

[Jenkins] Lesson 2: Using simple Groovy into Pipeline Script

Posted on October 29, 2021October 29, 2021 By nim No Comments on [Jenkins] Lesson 2: Using simple Groovy into Pipeline Script
[Jenkins] Lesson 2: Using simple Groovy into Pipeline Script

Ở bài này chúng app dụng một ít code đơn giản groovy vào trong pipeline nhé 1) def, if else, sleep, println, echo 2) retry, timeout 3) tools https://www.jenkins.io/doc/pipeline/steps/workflow-durable-task-step/ Bài tiếp theo chúng ta sẽ làm việc với option trong pipelinehttps://www.jenkins.io/doc/book/pipeline/syntax/#options

Jenkins

[Jenkins] Lesson 1: Hello World – Pipeline Script & Agent

Posted on October 28, 2021October 29, 2021 By nim No Comments on [Jenkins] Lesson 1: Hello World – Pipeline Script & Agent
[Jenkins] Lesson 1: Hello World – Pipeline Script &  Agent

1) first prepare Đầu tiên bạn cần cài con Jenkins và bạn cho nó 1 nhiệm vụ làm master. tiếp đến cài 1 con jenkins và kết nối nó vào master 2) Hello world – Pipeline script 3) Hello world – Pipeline Agent 3.1) agent = none 3.2 agent = slave label 3.3 Custom workspace…

Read More “[Jenkins] Lesson 1: Hello World – Pipeline Script & Agent” »

Jenkins

[Prometheus] TIP – Custom Prometheus

Posted on October 26, 2021October 26, 2021 By nim No Comments on [Prometheus] TIP – Custom Prometheus
[Prometheus] TIP – Custom Prometheus

how long prometheus save data? https://stackoverflow.com/questions/59298811/increasing-prometheus-storage-retention Theo như sách báo nói thì promethues sẽ lưu mặc định là 15 ngày storage.tsdb.retention.time=15d prometheus install theo kiểu package thì tìm trong prometheus trong k8s thì bạn tự mò thử text trên nhé

Log & Monitor, Prometheus

[Grafana] Design chart Gause Bar – Grafana with Metrics Sum

Posted on October 25, 2021October 26, 2021 By nim No Comments on [Grafana] Design chart Gause Bar – Grafana with Metrics Sum
[Grafana] Design chart Gause Bar – Grafana with Metrics Sum

1) Case Study Mục đích mình có 1 metrics sum độ thị trên grafana nó sẽ tăng dần theo thời gian.Mình vẽ 1 chart trên grafana và show ra được trong 1h hay 2h thì metríc đã tăng bao nhiêu giá trị 2) Learning – Query PromQL 2.1) increase( []) https://prometheus.io/docs/prometheus/latest/querying/functions/#increase increase(v range-vector) calculates the increase…

Read More “[Grafana] Design chart Gause Bar – Grafana with Metrics Sum” »

Grafana, Log & Monitor

Posts navigation

1 2 3 Next
Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • [Prometheus/Grafana] Install Prometheus and Grafana on ubuntu. March 27, 2023
  • [Kong Gateway] WebSocket connection failed March 26, 2023
  • [Nextcloud] Can’t download files to have a size bigger than 2Gi on NextCloud – RaspBerry March 24, 2023
  • [Datadog] Using DataDog to monitor all services on kubernetes March 19, 2023
  • [Metrics Server] Failed to make webhook authorizer request: the server could not find the requested resource March 17, 2023

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
    • NextCloud
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • MetalLB
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2023 NimTechnology.