0%

Fedora Linux vs Rhel vs CentOS vs CoreOS

最近這個問題常常被問到,索幸直接整理一篇。

首先先用左右區分不同用途的作業系統,左邊是一般的 Host Linux 作業系統流派;右邊是為了分散式架構開發出來的輕量化作業系統流派,近年來為了容器的發展,各大知名的 Linux 廠商紛紛推出自家的 Container OS。至於 Host 和 Container OS 差別在哪?可以參考這篇文章

Operating System

Read more »

3scale Operator 安裝

由於工作上的需要,我稍微研究了一下OpenShift4.2上面用Operator的方式安裝3scale的方法,在此紀錄一下安裝過程中可能需要注意的事項。

Read more »

Oh my K8s service ! 談談如何暴露你的服務 - 3

  • 目錄
    • Introduce K8s service - Kube-proxy
    • Introduce K8s service - 4 ways to apply service(1)
    • Introduce K8s service - 4 ways to apply service(2)
    • 💎 Service Comparison & Introduce Ingress 💎
    • Service Debugging
    • How to install Traefik
    • Nginx-ingress vs Traefik

今天會簡單介紹一下:

  • NodePort, LoadBalancer的比較
  • 更強大的工具Ingress
  • 介紹Nginx Ingress Controller
Read more »

Oh my K8s service ! 談談如何暴露你的服務 - 3

  • 目錄
    • Introduce K8s service - Kube-proxy
    • Introduce K8s service - 4 ways to apply service(1)
    • 💎 Introduce K8s service - 4 ways to apply service(2) 💎
    • Service Comparison & Introduce Ingress
    • Service Debugging
    • How to install Traefik
    • Nginx-ingress vs Traefik

昨天介紹完前兩種, 今天要來介紹後兩種。

Read more »

Oh my K8s service ! 談談如何暴露你的服務 - 2

  • 目錄
    • Introduce K8s service - Kube-proxy
    • 💎 Introduce K8s service - 4 ways to apply service(1) 💎
    • Introduce K8s service - 4 ways to apply service(2)
    • Service Comparison & Introduce Ingress
    • Service Debugging
    • How to install Traefik
    • Nginx-ingress vs Traefik

昨天簡單介紹完Service的背後元件kube-proxy的運作原理,今天要來看看Service的類型以及背後原理有什麼不一樣。

Read more »

Oh my K8s service ! 談談Kube-proxy - 1

  • 目錄
    • 💎 Introduce K8s service - Kube-proxy 💎
    • Introduce K8s service - 4 ways to apply service(1)
    • Introduce K8s service - 4 ways to apply service(2)
    • Service Comparison & Introduce Ingress
    • Service Debugging
    • How to install Traefik
    • Nginx-ingress vs Traefik

承襲昨天講完的Helm,今天要來看看Service到底是如何把你的服務公開到Cluster之外囉!

Read more »

Oh My Helm ! 部署應用的神兵利器 - 1

  • 目錄
    • 💎 Introduce Helm Chart 💎
    • Introduce Kustomize

講完了log收集後, 我們來介紹在K8s你可以利用哪些工具,讓你在部署應用的過程中更省力

Read more »

Oh My Logs ! 談談如何在K8s中收集logs - 4

  • 目錄
    • Introduce and analysis
    • Cluster level ELK
    • Sidecar mode
    • 💎 Integrate log collecting component into an app 💎

好的鏡頭交還給棚內主播
今天要來談談怎麼進行app-level的log收集

基本上app level的就是將logstash, filebeat等套件直接安裝到app裡面, 所以可以直接把log從app送到Elastic Search。

比如在JAVA Spring Boot中我們會寫一個logback-spring.xml去規定log format以及目標server, 並且在application.properties or application.yml指定目標server。

我自己在專案上的做法是在每個app設定format,然後在Pod裡面加filebeat去讀取log file,再送到elastic search, 比較好集中管理log。

接下來我們直接在cluster上起一個ELK吧!

Read more »