云原生生态周报 Vol. 16 | CNCF 归档 rkt,容器运行时“上古”之战老兵凋零
作者列表:木蘇,臨石,得為,等等
業界要聞
CVE-2019-9514 http2 的 DOS 漏洞,一旦攻擊成功會耗盡服務器的 cpu/mem,從而導致服務不可用。
相關鏈接:https://discuss.kubernetes.io/t/security-release-of-kubernetes-v1-15-3-v1-14-6-v1-13-10-cve-2019-9512-and-cve-2019-9514/7596/1
rkt 是 CoreOS 公司在 CNCF 早期捐獻出來的容器運行時項目。彼時 Docker 風頭正勁,一時無兩,開源社區一直希望 Docker 可以更多傾聽社區的聲音卻苦于當時 Docker 是容器運行時(開源)的唯一選擇。rkt 的出現給了社區和用戶一個 Alternative,為后來 CRI 等標準容器運行時的接入提供了一個理由。然而隨著容器運行時標準的統一(CRI、CSI、CNI等),rkt 的社區活躍度大大降低,一些 CVE 也遲遲沒有修復,于是 CNCF 決定歸檔 rkt。目前 CNCF 中還有 2 個容器運行時項目:containerd 和 CRI-O。
相關鏈接:https://www.cncf.io/blog/2019/08/16/cncf-archives-the-rkt-project/
相關鏈接:
a.https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/
b.https://azure.microsoft.com/en-au/blog/announcing-the-preview-of-azure-actions-for-github/
相關鏈接:
a.https://www.careyscloud.ie/intel_gpu_plugin
b.https://github.com/intel/intel-device-plugins-for-kubernetes
orka 采用 K8s 和容器化技術支持一臺 Mac 的硬件部署多個 MacOS VM,方便 iOS 和 Mac 的開發人員。
相關鏈接:https://www.macstadium.com/orka
相關鏈接:https://events.linuxfoundation.org/events/helm-summit-2019/program/schedule/
VMware 以每股 15 美元的價格收購 Pivotal 的 A 類普通股股票。Pivotal 早先以他們在 Cloud Foundry 中的工作成為 PaaS 領域的獨特力量,然而隨著 Kubernetes 項目的全面成功,Pivotal 和 Cloud Foundry 不得不開始兼容 Kubernetes。Pivotal 的 CTO 在采訪中也表示他們正在把一些 Pivotal 之前在做應用和容器化平臺的經驗帶入到 K8s 當中。Kubernetes 相關議題將全面占據 8 月 25 日將在舊金山舉行 VMworld 2019,大會預計會超過 80 breakout sessions, expert roundtables。
相關鏈接:
a.收購信息:https://investors.pivotal.io/news/financial-news/press-release-details/2019/Pivotal-In-Discussions-With-VMware-Regarding-Potential-Business-Combination/default.aspx
b.Pivotal CTO 談 K8s:https://devclass.com/2019/08/16/pivotal-cto-kubernetes-means-were-all-distributed-systems-programmers-now/
c.VMware2019 & Kubernetes:https://cloud.vmware.com/community/2019/08/13/kubernetes-is-set-to-take-over-vmworld-us-2019-heres-what-to-see-and-do/
上游重要進展
支持 kube-apiserve r的 service,Kubernetes 能同時支持 clusterIP 和 externalName,讓 kube-apiserver 能通過 FQDN 被其他 Pod 直接訪問。
KEP 鏈接:
https://github.com/kubernetes/enhancements/pull/1216
相關類似 PR:
https://github.com/kubernetes/kubernetes/pull/47588
https://github.com/kubernetes/kubernetes/pull/79312
request-faireness 文檔更新,主要是依據實現方案修改 KEP 文檔。
a.進度跟蹤:https://github.com/kubernetes/kubernetes/issues/76846
b.設計實現:https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20190228-priority-and-fairness.md#design-details
c.本次 PR?/github.com/kubernetes/enhancements/pull/1214
一批 Metric 被訂正。主要內容:
a.cAdvisor: 指標的 label"pod_name", “container_name” 改為 “pod”, “container”;
b.API latency histogram buckets: 之前是 125ms 到 8s, 范圍支持 [0.005 0.01 0.025 0.05 0.1 0.25 0.5 1 2.5 5 10];
c.kubelet: 修改 promethues 的指標類型 summary 為 histograms 等,單位變為秒;
d.kube-scheduler: 單位變為秒;
e.Kube-proxy: 單位變為秒,刪除指標:DeprecatedNetworkProgrammingLatency;
f.kube-apiserver: apiserver_request_latency_seconds 的窗口變得更大,后續可以更精細化;
g.Convert latency/latencies in metrics name to duration;
h.Client-go: workingqueue 指標改名,符合指標監控規范。
相關鏈接:
i.https://github.com/kubernetes/enhancements/issues/1206
ii.https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/instrumentation.md
調度器相關 PR:
a.支持 binder plugin,寫了個默認實現;https://github.com/kubernetes/kubernetes/pull/81593/files
b.增加了 cleanup 擴展點;
i.issue: https://github.com/kubernetes/kubernetes/issues/81438
ii.pr: https://github.com/kubernetes/kubernetes/pull/81593/files
c.調度隊列支持參數 maxBackoffDuration;https://github.com/kubernetes/kubernetes/pull/81263
d.Move RunNormalizeScorePlugins and ApplyScoreWeights into RunScorePlugins,其實就是一個小優化。https://github.com/kubernetes/kubernetes/pull/81614/files
Promote Node Zone/Region Topology Labels to GA
https://github.com/kubernetes/kubernetes/pull/81431
kube-apiserver 開始支持 CacheObject,避免重復的序列化開銷
https://github.com/kubernetes/kubernetes/pull/81585/commits
kube-apiserver 支持調用 webhook 設置 context 超時時間
https://github.com/kubernetes/kubernetes/pull/81602
apiserver 調用 webhook 的 metrics apiserver_admission_webhook_admission_duration_seconds 新增標簽(ignore_call_failure, call_failure and code)
https://github.com/kubernetes/kubernetes/pull/81399/files
Block etcd client creation until connection is up #81435
https://github.com/kubernetes/kubernetes/pull/81435
Enables resizing of block volumes
https://github.com/kubernetes/kubernetes/pull/81429/files
開源項目推薦
鏈接:https://github.com/alexellis/k3sup
鏈接:https://github.com/open-policy-agent/gatekeeper
鏈接:https://github.com/ynqa/ktop?utm_sq=g3i5hm4xyz
鏈接:https://github.com/kubernetes/system-validators
本周閱讀推薦
OPA Gatekeeper: Policy and Governance for Kubernetes。這篇博客描述了如何使用 OPA Gatekeeper 在 K8s 中進行規則和策略配置。(例如:如何為用戶配置符合公司規定的操作權限?)
https://kubernetes.io/blog/2019/08/06/opa-gatekeeper-policy-and-governance-for-kubernetes/
a.關于 OPA 還有另一篇文章推薦:How to enforce custom policies on Kubernetes objects using OPA。鏈接:https://www.openpolicyagent.org/docs/latest/kubernetes-admission-control
The Case for Virtual Kubernetes Clusters。虛擬化 K8s 集群是目前社區和很多用戶十分關心的技術方案,主要的需求來源是多租戶。如果你對這方面不是很了解,閱讀這篇文章會有幫助。
鏈接:https://thenewstack.io/the-case-for-virtual-kubernetes-clusters/?utm_source=tuicool&utm_medium=referral
了解 ACK 容器服務,請查看:
https://www.aliyun.com/product/kubernetes
阿里云容器服務中國最佳,進入 Forrester 報告強勁表現者象限
總結
以上是生活随笔為你收集整理的云原生生态周报 Vol. 16 | CNCF 归档 rkt,容器运行时“上古”之战老兵凋零的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Knative 基本功能深入剖析:Kna
- 下一篇: K8s 学习者绝对不能错过的最全知识图谱