這是一篇幻想文,幻想如果你可以重新設計 Kubernetes,你會希望有什麼樣的改動。也因為是幻想文,所以以下所提的東西不一定真的可以實作,也沒有考慮實作上可能會有什麼困難。原文非常的長,所以這邊就稍微列出一些內容
# 前提
作者(David Anderson, MetalLB 的主要貢獻者)認為 Kubernetes 真的很複雜,從 MetalLB 的開發經驗來看,幾乎無法開發出一個永遠不會壞且與 k8s 整合的軟體。
k8s 發展快速,一些不相容的修改也很難除錯,往往導致這些整合應用程式一起壞掉。
此外,作者使用 GKE 的經驗讓他覺得就算是這些k8s專家,也很難大規模環境中平安順利的使用 k8s.
作者認為 k8s 就像是管理平台內的 c++,功能非常強大,什麼都可以做,但是它會一直傷害你,直到你奉獻餘生該領域內。
作者期盼有一天,可以出現一個像是 go 語言的管理平台,簡單,優雅,容易學習
接下來就來看一下如果時光倒流,作者會希望 k8s 有哪些功能
# Mutable Pod
不像其他的資源一樣, Pod 這個資源基本上是不能修改的,有任何的更動都需要先刪除,後重新部署這樣兩步走來處理。
作者希望可以有一種 Pod 是可以支援即時修改的。
舉例來說,我透過 kubectl edit 修改了 Pod Image,然後只要透過 SIGTERM 送給 Runc 底層容器,然後當該 Container 被重啟,就會使用新的設定。這一切的發生都在同一個 Pod 的資源內,而不是重新產生一個新的 Pod
# Version control all the things
當 Pod 可以修正後,下一個作者想要的功能就是基於 Pod 本身的 Rollback。這意味希望叢集內可以有這些資訊可以去紀錄每次的變化
為了實現這個功能,可能每個節點上面也要去紀錄過往的所有 image 版本資訊,並且加上 GC 等概念來清除過期或是太舊的內容
# Replace Deployment with PinnedDeployment
相對於 Deployment, PinnedDeployment 最大的改動就是一個 Deployment 內可以同時維護兩個版本的 Pod。
舉例來說,我今天要將 Nginx 從 1.16 升級到 1.17,我可以透過 PinnedDeployment 去部署 Nginx,其中 1.16 佔了 60% ,而新版本 1.17 佔了 40%。
當一切轉移都沒有問題後,可以逐漸地將新版本的比例遷移到 100% 來達成真正的移轉。
原生的 Deployment 要達到這個功能就要創建兩個 Deployment 的物件來達到這個需求。
# IPv6 only, mostly
作者期望能的話,想要把 k8s networking 內的東西全部移除,什麼 overlay network, serivce, CNI, kube-proxy 通通移除掉。
k8s 全面配置 IPv6,而且也只有 IPv6,通常來說你的 LAN 都會有 /64 這麼多的地址可以分配 IPv6,這個數量多到你根本不可能用完 (2^64)。
也因為都有 public IPv6 的緣故,所有的存取都採用 Routing 的方式,封裝之類的玩法也不需要了。
文章內還提了很多東西,譬如說如果今天真的需要導入 IPv4 於這個純 IPv6 的系統上,可以怎麼做,如何設計 NAT64 等,算是非常有趣的想法
# Security is yes
作者認為安全性方面要最大強化,預設情況下要開啟 AppArmor, seccomp profile 等控管機制,同時也要全面禁止用 Root 來運行容器, 基本上就是用非常嚴格的方式來設定安全性方面的規則。
目前 Kubernetes 內的資源, Pod Security Policy 非常類似作者想要完成的東西,通過這種機制確保所有部署的 Pod 都會符合這些條件。唯一美中不足的是 Pod Security Policy 也不是預設就有的規則。
# gVisor? Firecracker?
從安全性考量出發,是否預設改使用 gVisor 或是 Firecracker 這類型的 OCI Runtime 而非 Runc,同時搭配上述的各種安全性條件來打造非常嚴苛的運行環境
# VMs as primitives
是否可以讓 kubernetes 同時管理 container 以及 virtual machine,也許就會像是將 kubevirt 變成一個內建的功能,讓 kubernetes 更加靈活的使用
除了上面之外,文章內還有許多其他的想法,但是內容都滿長的,如果有興趣的可以點選下列連結參考看看
https://blog.dave.tf/post/new-kubernetes/
同時也有1部Youtube影片,追蹤數超過24萬的網紅Kyle Le Dot Net,也在其Youtube影片中提到,One of the things that many Indonesian visitors and locals do in Bandung is to shop. There's no where else that has some exciting novelty shops with b...
pod go edit 在 DJ Mykal a.k.a.林哲儀 Facebook 的精選貼文
先說一下我很喜歡昨晚自己的Set ❤️ ❤️ 大家可以去重看一下影片 👀👀
再來要說件重要的事。
昨晚有收看直播到最後的朋友,應該都聽到了我的公告,就是每週三的 #居家BTS派對房 DJ直播會從即日起暫停。
直播中雖然說了幾個原因,但最關鍵的因素還是頻繁被FB強制斷訊造成「直播卡卡」😂😂,直播完上傳的影片也會有部分被消音,在目前無法解決的狀況下還是決定暫停直播,也誠心謝謝這一個月來收看的朋友們🙏🙏
未來或許會思考把 #居家BTS派對房 轉移至instagram或twitch,當然也會積極籌劃舉辦實體趴體,到時候再請大家繼續支持。
對了,別擔心,週六的 #居家華語派對房 照常營業沒有放暑假喔🤣🤣
◼️ 昨晚兩趴直播這邊看
⬇️⬇️⬇️⬇️⬇️
PART 1: https://bit.ly/3jzEZdk
PART 2: https://bit.ly/2CTyCkp
最後附上昨晚歌單如下:
1. Gorillaz feat. Schoolboy Q/Song Machine: Pac-Man
2. Diana King/Shy Guy
3. Ace Of Base/All That She Wants (Original Extended Version)
4. Beck/Where It's At
5. Beastie Boys/Body Movin' (Fatboy Slim Remix)
6. George Michael/I Want Your Sex
7. OPM/El Capitan
8. Methods Of Mayhem/Get Naked
9. POD/Rock The Party
10. MC Hotdog vs Limp Bizkit/我的生活 vs Nookie (DJ Mykal a.k.a.林哲儀 Mashups)
11. The Crystal Method/Name Of The Game (Instrumental) b/w 陳珊妮/尼可拉斯
12. 麻波25/2MC + DBG
13. X-Ecutioners feat. Mike Shinoda And Mr. Hahn/It's Goin' Down
14. ZZ/Nobody Knows
15. Rock 'n' Roll Soldiers/Funny Little Feeling
16. Gorillaz/Feel Good Inc
17. Peter, Bjorn And John/Young Folks
18. Counting Crows/Mr. Jones
19. Foo Fighters/Big Me
20. The Cure/Friday I'm In Love (Strangelove Mix)
21. The Stone Roses/Elephant Stone
22. The Wands/世界が終わるまでは (TK450 Remix)
23. The Ting Tings/Great DJ (DJ JEM REMIX)
24. Shed Seven/Dolphin
25. David Bowie/Lets Dance (Streetlife DJs Re-Edit)
26. New Order/Bizarre Love Triangle (Extended Dance Mix)
27. Blur/Girls & Boys
28. Pet Shop Boys/Go West
29. Daft Punk/Digital Love
30. The Chemical Brothers/Star Guitar
(斷訊後繼續)
31. Eminem/Stan
32. Yellowcard/Only One
33. Hoobastank/The Reason
34. LMF/傲氣長存
35. Beyond/打不死
36. The Chemical Brothers/Hey Boy, Hey Girl (Soulwax Remix)
37. The Prodigy/Breathe
38. Blur/Song 2 b/w 科學小飛俠
39. BOOM BOOM SATELLITES/KICK IT OUT
40. My Chemical Romance/The Sharpest Lives
41. Placebo/Special K
42. Jimmy Eat World/Pain
43. David Bowie/Little Wonder
44. Apollo 440/Stop The Rock
45. Fatboy Slim/Rockafella Skank
46. Mr.Children/くるみ
47. Luna Sea/I For You
pod go edit 在 Kyle Le Dot Net Youtube 的最讚貼文
One of the things that many Indonesian visitors and locals do in Bandung is to shop. There's no where else that has some exciting novelty shops with brilliant superhero and comic characters than Jeans Street- also known as Cihempelas Walk. You can easily tell any taxi driver to take you there. I didn't go shopping though, but I wasn't very hungry, so I decided to sample just a little street food. I smelled the durian ice cream from a far and had to try it hoping that it was less of a durian taste than normal. I was wrong. This ice cream was so pungent and tasted quite fresh. In fact, there was a wedge of freshly harvested durian pod in the ice cream. The ice cream wasn't all that- that fresh durian was. That pretty much ruined my taste buds because durian tastes like fermented pork to me. I walked along further and randomly some man asked me to come to his house. I declined, but we became friends after I spotted another man bashing some fruits into his bowl. I definitely had to try it without knowing what it was. It turned out to taste great on topic, but eventually as I ate further, it was absolutely disgusting . It was a mixture of fruit and fish and that was awful. The flavors were far too strong for me. Special thanks for the man's random kindness. We walked for quite sometime together and he told me about his brother and his mother and his knowledge of America. Truly awesome time interacting with a complete stranger. I did want to go to his house, but at the same time my mother told not to go to stranger's homes. Maybe that's the American wall I have, but I was too much on a time crunch in Bandung, because directly after the Jeans St, I had other plans. I do regret not going though. Oh well, either way, this man was just another example of some amazing and kind people I met in Indonesia.
--------------------------------------------------
About Me: I'm Kyle Le and I live, travel, and eat in Vietnam and many Asian countries. I'm passionate about making videos and sharing modern Asia to the world. I've traveled everywhere in Vietnam, from Hanoi to Saigon - Far North, Central Highlands, Islands, and Deep Mekong Delta - I've visited there. In addition to 10+ countries in Asia from Indonesia to Thailand to Singapore, you'll find all of my food, tourist attractions, and daily life experiences discovering my roots in the motherland on this amazing journey right on this channel. So be sure to subscribe- there's new videos all the time and connect with me below so you don't miss any adventures.
Subscribe Now: https://goo.gl/tMnTmX
More Info: http://www.KyleLe.net
Like: Facebook: http://www.fb.com/KyleLe.net
Follow: Instagram and Snapchat @KyleLeDotNet
Support for more videos.
Patreon http://www.patreon.com/KyleLe
Buy a T shirt: http://www.kyleledotnet.spreadshirt.com
Paypal Donation: https://goo.gl/Ju3qLk
Original Music by Antti Luode.
I produce, film, and edit all videos myself, so I welcome any help Visit: http://www.kylele.net/support
to see how you can ensure more videos to come.
pod go edit 在 Line 6 Pod Go Users - Uncensored - Facebook 的推薦與評價
A group for Line 6 Pod Go users to discuss the unit, find help, and share Pod Go content. This group is NOT affiliated ... Edited. Rodrigo Arellano replied. ... <看更多>