Try   HackMD

hackmd-github-sync-badge

slide: Kubernetes 地端自建 v.s. GKE,哪個更適合你? @Devfest Taipei 2024 | PPT

CAP

  • Consistency
  • Availability
  • Partition tolerance

kubernetes 10 years

  • Kubernetes v1.32 (2024/12)

POD - replica
Service - https://kubernetes.io/docs/concepts/services-networking/service/

  • ClusterIP
  • NodePort
  • LoadBalancer
    PVC - PV

Kustomize - https://kustomize.io/
Helm - https://helm.sh/

Local k8s distro

CNI

  • Flannel
  • Calico
  • Cilium

GPU operator = https://github.com/NVIDIA/gpu-operator

地端離線 airgap install

cri-dockerd - https://mirantis.github.io/cri-dockerd/

swap

預設建議關掉

Kubernetes 1.28: Beta support for using swap on Linux
https://kubernetes.io/blog/2023/08/24/swap-linux-beta/

CRI

Netman

https://drive.google.com/file/d/1JnBymxdgXBrRZycvWtOszkl04Gony7n0/view?fbclid=IwZXh0bgNhZW0CMTAAAR2RmfiCzBxlKNjXpu1l8zsuUJF4BAwwI6oqiJgxcbSa4RtfgnPGdadxAWw_aem_jUl1_c8KmdJ6vCh2dFr8LQ