共享 Kubernetes 平台之架構與網頁界面
Architecture and Web Interface of a Shared KaaS
摘要
國立陽明交通大學資工系資訊中心基於輔助系上發展的立場,同時為了減輕教授與實驗室架設伺服器上的軟硬體負擔,希望提供一個可以快速建置動態內容網頁的代管平台。考量到平台通用性與運行成本,在此方面容器技術具有相當優勢,其中又以 Kubernetes 最為代表,具備各式高擴展性功能,並提供一標準 API 界面,使應用部屬流程更為廣泛通用。
本篇論文將探討如何基於 Kubernetes Namespace 設計多租戶架構,建構出具有資源配額的 Kubernetes-as-a-Service (KaaS) 平台,充分運用 Kubernetes 內建及自訂 admission control 邏輯以改善其安全性;同時為其設計易用的網頁界面,並將網頁界面的核心功能以通用型 Kubernetes 客戶端開放原始碼釋出。
本篇論文將探討如何基於 Kubernetes Namespace 設計多租戶架構,建構出具有資源配額的 Kubernetes-as-a-Service (KaaS) 平台,充分運用 Kubernetes 內建及自訂 admission control 邏輯以改善其安全性;同時為其設計易用的網頁界面,並將網頁界面的核心功能以通用型 Kubernetes 客戶端開放原始碼釋出。
For the prosperity of the department, also to reduce the software and hardware burden of running web servers for professors and labs, Information Technology Center, Department of Computer Science, National Yang Ming Chiao Tung University demands a hosted platform for quickly setting up dynamic content websites. Considering generalization and operation cost of the platform, container technologies are especially attractive, of which Kubernetes is the most iconic one designed with high-scalability in mind. Kubernetes also provides a standard API, making flows of application deployment easily adoptable and widely reusable.
This thesis dives into how to design a multi-tenancy architecture based on Kubernetes namespaces, how to build a Kubernetes-as-a-Service (KaaS) with quotas, and how to utilize both built-in and custom admission control logic to improve its security. It also discusses about how to design a easy-to-use web interface for such platform, which core is also released as an open source generic Kubernetes client.
This thesis dives into how to design a multi-tenancy architecture based on Kubernetes namespaces, how to build a Kubernetes-as-a-Service (KaaS) with quotas, and how to utilize both built-in and custom admission control logic to improve its security. It also discusses about how to design a easy-to-use web interface for such platform, which core is also released as an open source generic Kubernetes client.