From cfb77b30e1fc33127d4a9c28b7b2791eb22ef913 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Thu, 16 Nov 2023 21:18:21 +0800 Subject: [PATCH] Docs: add post Signed-off-by: Carson Yang --- .github/workflows/deploy-docs-preview.yml | 3 + docs/blog/2022/06/30/sealos-is-unique.md | 135 ------------- docs/blog/en/2023/06/sealos-release.md | 115 +++++++++++ docs/blog/{ => en}/authors.yml | 0 .../2019/08/26/kubernetes-with-sealos.md | 0 docs/blog/zh-Hans/2023/06/sealos-release.md | 188 ++++++++++++++++++ .../2023}/10/22/vm-sealos-create.md | 0 ...ro\347\232\204\344\275\277\347\224\250.md" | 2 +- docs/blog/zh-Hans/authors.yml | 12 ++ docs/blog/zh-Hans/options.json | 14 ++ docs/website/Dockerfile | 6 +- docs/website/docusaurus.config.js | 2 +- docs/website/package.json | 2 +- 13 files changed, 339 insertions(+), 140 deletions(-) delete mode 100644 docs/blog/2022/06/30/sealos-is-unique.md create mode 100644 docs/blog/en/2023/06/sealos-release.md rename docs/blog/{ => en}/authors.yml (100%) rename docs/blog/{ => zh-Hans}/2019/08/26/kubernetes-with-sealos.md (100%) create mode 100644 docs/blog/zh-Hans/2023/06/sealos-release.md rename docs/blog/{2022 => zh-Hans/2023}/10/22/vm-sealos-create.md (100%) rename "docs/blog/2022/11/10/velero\347\232\204\344\275\277\347\224\250.md" => "docs/blog/zh-Hans/2023/11/10/velero\347\232\204\344\275\277\347\224\250.md" (99%) create mode 100644 docs/blog/zh-Hans/authors.yml create mode 100644 docs/blog/zh-Hans/options.json diff --git a/.github/workflows/deploy-docs-preview.yml b/.github/workflows/deploy-docs-preview.yml index d84de73fae0..5ef11e17d25 100644 --- a/.github/workflows/deploy-docs-preview.yml +++ b/.github/workflows/deploy-docs-preview.yml @@ -52,6 +52,9 @@ jobs: cp -r docs/4.0/i18n/zh-Hans/ ${{ env.BUILD_PATH }}/i18n/zh-Hans/docusaurus-plugin-content-docs/current/ cp docs/4.0/i18n/zh-Hans/current.json ${{ env.BUILD_PATH }}/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json cp docs/4.0/code.json ${{ env.BUILD_PATH }}/i18n/zh-Hans/code.json + mkdir -p ${{ env.BUILD_PATH }}/i18n/zh-Hans/docusaurus-plugin-content-blog/ + cp -r blog/zh-Hans/ ${{ env.BUILD_PATH }}/i18n/zh-Hans/docusaurus-plugin-content-blog + cp blog/zh-Hans/options.json ${{ env.BUILD_PATH }}/i18n/zh-Hans/docusaurus-plugin-content-blog/options.json - name: Detect package manager id: detect-package-manager diff --git a/docs/blog/2022/06/30/sealos-is-unique.md b/docs/blog/2022/06/30/sealos-is-unique.md deleted file mode 100644 index c97651465c5..00000000000 --- a/docs/blog/2022/06/30/sealos-is-unique.md +++ /dev/null @@ -1,135 +0,0 @@ ---- -slug: sealos is unique -title: sealos is unique -authors: [fanux] -tags: [kubernetes,sealos] ---- - -# sealos 与其它流行产品的差异与联系 - -## sealos 与 helm - -- helm 并不关心 kubernetes 集群生命周期的管理,但是 sealos 关心,sealos boot 模块整个云操作系统启动伸缩升级清理都会处理. -- helm 关心编排不关心打包,helm 里面依赖的 docker 镜像如何交付 helm 不关心,sealos 是把分布式应用的所有依赖打包. -- helm 不会内嵌一个 kuberentes, 但是 sealos 会,这样保证整个集群整体的一致性. -- helm 如果你的分布式应用里面依赖一些非容器化的二进制,helm 不会打包这些依赖而 sealos 会. -- sealos 内嵌一个私有镜像仓库来存放集群中所有需要用到的 docker 镜像,helm 并没有. - -Best Practise: 最佳实践是配合 helm 与 sealos 使用,用 helm 编排 用 sealos 打包整个集群, 和应用所有的依赖. -Example: [Building an ingress cluster images](/docs/self-hosting/lifecycle-management/quick-start/build-ingress-cluster-image.md) - -## sealos 与 kubeadm - -严格来说应该是 sealos 的 boot 模块与 kubeadm, boot 模块和 kubedam 都是用户管理集群生命周期的. - -boot 的底层调用了 kubeadm 的能力,两者是相互配合的关系, sealos boot 也可以扩展其它的方式安装集群,如 二进制实现,boot 还 - -可以扩展其它运行时的能力,如支持 k3s k0s 这样的其它 kubernetes 轻量级发行版。 - -kubeadm 的能力: - -* 安装 kubernetes 集群 -* 增删节点、升级、清理集群等 - -为什么在此基础之上还需要封装一层 sealos boot: - -1. kubeadm 没有给默认的 LB方案解决 HA 问题,所以 sealos 实现了 lvscare 让集群高可用 -2. kubeadm 更适合在线安装,没有处理好依赖,特别是二进制和依赖镜像,而 sealos 所有东西都放到集群镜像中了 -3. kubeadm 整个安装步骤是面向过程的,基本是 环境预设->安装二进制和kubelet->kubeadm init->kubeadm join 这个过程,而 sealos 一条命令面向结果 -4. kubeadm 的证书写死在源码中,还是需要额外组件续期等,sealos 重写这部分逻辑彻底解决这个问题 -5. sealos 封装了 ssh scp 等操作,不再需要登录到各机器上 -6. sealos 适合超大规模集群的快速安装,kubeadm 直接使用会不太方便,有过多手工操作 - -所以 sealos boot 是在 kubeadm 基础上让安装体验做到极致. - -# sealos 与 rancher kubesphere - -rancher 和 kubesphere 是非常优秀的基于 kubernetes 的 PaaS 平台,或者 kubernetes 的管理器, - -这类产品的主要特性: - -* kubernetes 的可视化管理,暴露原生大量的 kubernetes 的概念,如 service deployment pod 等 -* 集成 CI/CD 能力,如 kubesphere 继承 jenkins -* 集成微服务能力,如 rancher 继承 istio -* 集成监控系统能力 -* 也有应用市场,是一些生态中其它的云原生化组件 - -特点是大而全,一站式服务,对使用人员的专业性要求比较高,基本定位给熟悉云原生的开发与运维人员使用。 - -是把 kubernetes 当成目的设计思路,产品功能与能力非常具体。 - -sealos 的设计理念是 "化整为零,自由组装,大道至简",利用 kubernetes 的能力使用非常简单的方式提供给用户真正想要的东西。 - -如何理解这句话: - -> 可大可小,可简单可强大 - -- sealos 可以非常简单,可以简单到只安装最干净的 kubernetes, 其它什么也不带,非常干净。 -- sealos 简单不意味着功能弱,可以通过 sealos run 几十款应用来组装一个能力非常强的云。 -- sealos 可以在小到2C4G的机器上跑测试,也可以在大到数千台的数据中心中运行。 - -> 用户真正需要的是什么? - -操作系统的特点是用户需要什么它就是什么,极其灵活,不会给用户带来额外负担。 - -如 windows 对于一个游戏玩家来说就是个游戏机, 对于程序员来说就是用来写代码的工具,对于美工来说就是用来修图的。 -操作系统的形态取决于使用者是谁,装了什么应用。 - -那 sealos 云操作系统也一样,sealos 本身通过 sealos core, sealos hub, sealos desktop 把分布式应用管理好即可, -剩下一切能力让应用层去扩展。 - -- sealos core: 实现一个多租户的内核,相当于给 kubernetes patch 管理好租户和应用 -- sealos hub: 应用的提供者和使用者相互协作的地方,提供者发布应用,使用者使用应用 -- sealos CLI API desktop: 一些应用使用入口,如图形界面入口 - -再看用户群体: - -> 大众用户 - -随便做个开发者调查,你会发现懂 kubernetes 的不会超过 5%,即便是在大厂撑死也不会超过 10%,所以可以认为大众用户是不懂 kubernetes 的 - -但是他们又特别需要云原生的能力,比如绝大多数应用开发者都绕不开一个需求:提供一个高可用的数据库给他们。 - -此时:sealos run mysql-HA:v8.0 搞定了,再告诉用户访问地址和密码,整个过程完全感知不到 kubernetes 内核的存在,这才是友好体验。 - -有 sealos desktop 就更简单了,像安装微信一样安装 mysql 集群. - -> 云原生用户 - -很多人就会问了,sealos 屏蔽了 kubernetes 细节是不是就对 kubernetes 专业人士不友好了,其实一样的道理,专业人士只需要 - -安装一个 kuberentes dashboard 或者安装一个 cloud terminal 应用所有原生的体验都一点问题没有,kubectl 这样的命令也 - -可以直接用。他们用起来一样会很舒服,甚至 rancher 和 kubesphere 也可以是 sealos 上的一款云管应用。 - -> 未来 sealos 的用户群体 - -你发现一个有意思的点,全球 70 亿人,手机操作系统却只需要两款主流的,为什么,就是因为系统是抽象的,系统之上的应用是具体的, - -生产关系一定要是 n 对 n 才能满足 70 亿人的需求,rancher kubesphere 的生产关系显然是 1 对 n. - -sealos 系统上分布式应用是一等公民,未来有十万级应用满足企业方方面面对云和数字化的诉求。 - -当前 B 端企业都有定制化需求,因为云操作系统标准化与生产力没有达到安卓这样的级别,导致生产关系没被改变。 - -所以 sealos 上会跑各种应用,数据库/消息/AI 能力/甚至 SaaS软件 - -sealos 当前应用覆盖(20+ 款): - -- 函数计算 laf (自研) -- 数据库 mysql clickhouse redis -- 消息队列 kafka -- GPU -- 监控 prometheus - -[更多应用](https://hub.docker.com/u/labring) - -sealos 本身要做的最核心的事情就是管理好这些应用,这些分布式应用本身也是 sealos 的一部分,不过都可以自由的安装卸载. - -## sealos 的应用与 rancher kubesphere 应用市场应用的差异 - -* sealos 标准完全兼容 OCI, 能完全和 docker hub 兼容 -* sealos 应用所有依赖基于集群镜像方式打包 -* sealos desktop 注重应用本身"自管理",而其它应用市场安装完会以 kubernetes 原生对象透出 -* sealos 的产品体验,一切皆应用,而其它工具是 kubernetes 管理界面中嵌套应用市场使用上会有很多干扰 -* 不懂 kubernetes 也能很方便的使用 sealos 分布式应用,而其它工具都是需要懂才能使用 \ No newline at end of file diff --git a/docs/blog/en/2023/06/sealos-release.md b/docs/blog/en/2023/06/sealos-release.md new file mode 100644 index 00000000000..a9b239d3ce3 --- /dev/null +++ b/docs/blog/en/2023/06/sealos-release.md @@ -0,0 +1,115 @@ +--- +slug: sealos-release +title: "Sealos: Revolutionizing Cloud Computing with a User-Friendly Operating System" +description: Explore the journey of Sealos, a grand cloud operating system project, from its inception as a simple Kubernetes installer to a comprehensive platform transforming cloud computing. Dive into the creator's story, the evolution of Sealos, and how it simplifies cloud operations for businesses and individuals alike. +authors: [fanux] +tags: [Kubernetes, Sealos] +keywords: [cloud operating system, Sealos, Kubernetes, cloud native, Cloud computing, cluster image, Sealer, cloud-native technologies] +image: https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting5@main/uPic/2023-08-31-09-52-gLmSek.jpg +date: 2023-06-13T10:00 +--- + +In the ever-evolving landscape of cloud computing, a groundbreaking innovation has emerged, reshaping our understanding of cloud infrastructures. Sealos, transcending its initial scope as a Kubernetes installation tool, has emerged as a pioneering [cloud operating system](https://sealos.io). In this blog, we'll delve into the journey of Sealos, from its inception to becoming a cornerstone in cloud computing, offering unparalleled user experience and efficiency. + + + +## The Inception of Sealos + +It all started one quiet night in 2018. A single line of code marked the beginning of something extraordinary. Initially named "kubeinit," the project soon outgrew its initial scope. Recognizing the need for a broader vision, the project was aptly renamed Sealos. It was not merely about installing Kubernetes; it was about piecing together a comprehensive [cloud operating system](https://sealos.io). This pivotal moment set the stage for the evolution of Sealos, a vision that would redefine cloud computing. + +![](https://cdn.jsdelivr.net/gh/yangchuansheng/imghosting-test@main/uPic/2023-08-21-15-15-rcAujq.webp) + +## The Entrepreneurial Journey and Initial Challenges + +The journey of Sealos is a tale of challenges, perseverance, and innovation. When Sealos made its debut on the Alibaba Cloud Marketplace at 15 yuan per copy, the expectation of commercial success was modest. But the first sale, a mere 15 yuan, was a monumental milestone. It was more than just a transaction; it was a validation of potential, a glimpse into a future of endless possibilities. + +However, this initial success came with its own set of challenges. Providing after-sales service proved to be a Herculean task, demanding constant attention and problem-solving, often at the cost of personal time. This phase was crucial, laying the groundwork for understanding user needs and driving Sealos towards excellence. + +## Enhancements and Innovations in Sealos + +The development journey of Sealos has been marked by constant innovation and improvement. The initial version, while functional, was just the beginning. Recognizing the need for a more robust solution, Sealos evolved into its second iteration, leveraging Ansible for enhanced performance. + +However, the pursuit of perfection never ceased. The third version of Sealos was a breakthrough, simplifying load balancing and eliminating dependencies, making it a pinnacle in installation simplicity. This relentless pursuit of innovation reflects the core ethos of Sealos – to simplify complex cloud operations while enhancing efficiency and reliability. + +## Focus on Installation: A Strategic Choice + +Installation is often the first encounter users have with any software, and for Sealos, it was crucial to make this experience as smooth as possible. Focusing on installation was a strategic choice, ensuring that users could easily step into the world of cloud-native technologies. This focus also set the stage for users to explore the full spectrum of Sealos' capabilities, fostering a deeper engagement with the platform. + +## Sealos at Alibaba: The Birth of Sealer + +During its tenure at Alibaba, Sealos underwent a significant transformation with the development of Sealer. This was a pivotal point, as Sealer brought unparalleled flexibility to the installation process. The concept of cluster imaging, akin to a "cloud version Docker image," was introduced, allowing users to define their installation packages. This innovation not only enhanced the abstraction levels but also offered unprecedented flexibility, reinforcing Sealos' position as a frontrunner in [cloud operating system](https://sealos.io)s. + +``` +dockerfile +FROM kubernetes:v1.25.0 +COPY mysql . +CMD helm install mysql . +``` + +This concept allows the [cloud operating system](https://sealos.io) to have "images" just like a standalone operating system. Another step is completed in this grand vision. + +## Sealos as a [cloud operating system](https://sealos.io) + +At its core, Sealos is more than just a set of tools; it's a full-fledged [cloud operating system](https://sealos.io). With the mantra "Everything is an application," Sealos redefines how we perceive data centers and cloud resources. By treating the entire data center as a unified entity rather than isolated servers, Sealos turns it into a virtual supercomputer, offering seamless, distributed application management. This approach not only simplifies the cloud computing process but also maximizes efficiency and scalability. + +![](https://cdn.jsdelivr.net/gh/yangchuansheng/imghosting-test@main/uPic/2023-08-21-15-30-Zn4l1W.webp) + +## Design Philosophy: Minimalism and User-Centric Approach + +In a domain often cluttered with complexity, Sealos stands out with its minimalist design. But don't be fooled by its simplicity; every element of Sealos is designed with powerful functionality in mind. This design philosophy stems from a deep understanding of user needs, especially in the B2B software realm where user experience is often overlooked. Sealos breaks this norm, ensuring that every interaction with the platform is intuitive, efficient, and pleasant. + +![](https://cdn.jsdelivr.net/gh/yangchuansheng/imghosting-test@main/uPic/2023-08-21-15-31-jqkByJ.png) + +The black, white, and gray design style will make you feel like you're drinking plain water while using the product, rather than a beverage, let alone footwash (as some products make you feel like dying). Developers already suffer enough, and I hope that using Sealos will bring you a pleasant mood. + +Sealos can pinpoint the pain points of applications. For example, the App Launchpad, an application manager, allows you to launch your own application within 30 seconds. This involves numerous details, such as automatically configuring public domain names and resolving HTTPS certificate issues. + +## Affordability and Efficiency with Sealos + +One of the most compelling aspects of Sealos is its cost-effectiveness. The platform allows for the efficient running of applications, significantly reducing operational costs. This affordability is achieved through innovative approaches like paying only for active containers and automatic scaling during low traffic periods. Such features make Sealos not just a powerful [cloud operating system](https://sealos.io), but also an economically viable solution for businesses of all sizes. + +![](https://cdn.jsdelivr.net/gh/yangchuansheng/imghosting-test@main/uPic/2023-08-21-15-34-NmR7oB.png) + +For enterprises, this can significantly reduce resource utilization costs. We ourselves run over 7,000 applications on just 10 servers. What does that mean? After deploying a Sealos cluster, as long as the server resource utilization is below 70%, you can continuously add applications to the cluster until it reaches its capacity. + +You might wonder, **why not use Kubernetes directly?** The reason is simple. For enterprises like Xunfei, applications are distributed across various departments, making multi-tenancy, isolation, and collaboration crucial. Using Kubernetes directly could disrupt the cluster, and the worst-case scenario is that a department or user inadvertently causes a security issue that crashes the entire cluster. Sealos perfectly solves this problem! + +Sealos can help 80% of enterprises reduce their resource utilization costs by 80%. + +## Sealos: Liberating Cloud Management + +Sealos champions the principle of "everything is an application," catering to a diverse range of users, from novices to cloud-native experts. This design ensures that users can leverage Sealos without the burden of understanding complex Kubernetes concepts. At the same time, it provides flexibility and power to those who are well-versed in cloud-native technologies. This dual approach democratizes cloud management, making it accessible to a broader audience while retaining the depth and flexibility for experts. + +Sealos pays great attention to the coordination between applications. For example, if you're using function compute on Sealos, the default database might be MongoDB. But what if you want to use PostgreSQL? In this case, you can install a PostgreSQL application on Sealos and access it directly within the function compute through service discovery. Since they are in the same cluster, they can directly communicate through internal DNS. + +![](https://cdn.jsdelivr.net/gh/yangchuansheng/imghosting-test@main/uPic/2023-08-21-15-37-5VOWuC.png) + +Sealos is streamlined yet not simplistic. All components can be uninstalled, allowing the cloud to perfectly meet your needs—more is considered excessive, less is considered insufficient. This also means that whether it's a single server or hundreds of data centers, they can be built into a cloud with just one command. + +## Real-World Applications and User Base + +- Run an nginx demo on Sealos in just 30 seconds with automatic scaling. +- Start various databases in 30 seconds and connect to them directly within your business system's intranet. +- Launch your business applications written in various programming languages directly on Sealos. + +These three capabilities serve as the foundation, and you can gradually explore and discover new territories. + +When it comes to running your own business, we have made many detailed optimizations for this scenario. For example, automatic allocation of subdomains, horizontal autoscaling, and support for running various stateful services. + +You will find that with Sealos, **whether you're deploying a monitoring system or running a low-code platform, it's all within reach. You can easily host your blog on Sealos at a low cost. Using the Sealos terminal, you can run any Kubernetes-compatible application without difficulty in automation.** + +Sealos' versatility is demonstrated through its wide array of applications across various sectors. From supporting high-concurrency services during critical times to running large-scale GPU clusters, Sealos proves its mettle in the most demanding scenarios. Its growing community, with over 100,000 users, including large enterprises, is a testament to its reliability and efficiency in real-world applications. + +![Sealos Community](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-19-51-Ve2aWX.png) + +## The Future Roadmap of Sealos + +Looking ahead, Sealos is poised for even greater achievements. The roadmap envisions a ubiquitous [cloud operating system](https://sealos.io), offering an experience as seamless and user-friendly as a personal computer. With a commitment to continuous innovation, Sealos aims to enable rapid deployment of new businesses, significant cost reductions, and the simplicity of creating a cloud with just a click. + +The Sealos [cloud operating system](https://sealos.io) will also incorporate a **Copilot**, acting as a navigator's assistant. It can automatically perform cloud-native transformations, helping developers easily enter the realm of cloud-native. It can also assist in diagnosing cluster issues, identifying security vulnerabilities, and providing professional operational advice like an expert. + +## Conclusion + +Reflecting on the five-year journey of Sealos, it's evident that the vision conceived at the first line of code has been realized. This journey, marked by milestones, challenges, and triumphs, was made possible by the trust and support of the community, contributors, and partners. As Sealos embarks on its next phase, it stands ready to exceed expectations and redefine the cloud computing experience. + +Experience the transformative power of the [Sealos cloud operating system](https://cloud.sealos.io). Join our community and embark on a journey of simplified, efficient, and innovative cloud computing. \ No newline at end of file diff --git a/docs/blog/authors.yml b/docs/blog/en/authors.yml similarity index 100% rename from docs/blog/authors.yml rename to docs/blog/en/authors.yml diff --git a/docs/blog/2019/08/26/kubernetes-with-sealos.md b/docs/blog/zh-Hans/2019/08/26/kubernetes-with-sealos.md similarity index 100% rename from docs/blog/2019/08/26/kubernetes-with-sealos.md rename to docs/blog/zh-Hans/2019/08/26/kubernetes-with-sealos.md diff --git a/docs/blog/zh-Hans/2023/06/sealos-release.md b/docs/blog/zh-Hans/2023/06/sealos-release.md new file mode 100644 index 00000000000..bb16f193a0f --- /dev/null +++ b/docs/blog/zh-Hans/2023/06/sealos-release.md @@ -0,0 +1,188 @@ +--- +slug: sealos-release +title: Sealos - 云操作系统的未来 +description: 深入探索 Sealos 的发展历程,从一个简单的 Kubernetes 安装工具到一个全面的云操作系统项目。了解创始人的故事,Sealos 的演变,以及它如何简化企业和个人的云计算操作。 +authors: [fanux] +tags: [Kubernetes, Sealos] +keywords: [云操作系统, Sealos, Kubernetes, 云原生] +image: https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting5@main/uPic/2023-08-31-09-52-gLmSek.jpg +date: 2023-06-13T10:00 +--- + +## 这是个宏伟的计划 + +这是一个宏伟的计划,漫长且有趣。 + +在今天这个快速发展的云计算领域,Sealos 不仅是一个项目,它是对未来云操作系统概念的重新定义和实践。从一个简单的 Kubernetes 安装工具开始,Sealos 的发展已迈入了全新的领域,目标是构建一个完整、高效且易于管理的[云操作系统](https://sealos.run)。 + +2018 年的某个夜晚,夜深人静,我挥舞键盘,敲下了 Sealos 的第一行代码。当时仓库命名为 “kubeinit”,后来觉得格局太小,我不可能只做一个安装 Kubernetes 的工具。安装只是更大计划的一部分,于是更名为 [Sealos](https://github.com/labring/sealos/ "Sealos"),一个宏大的[云操作系统](https://sealos.run)计划就此诞生! + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting5@main/uPic/2023-08-31-09-52-gLmSek.jpg) + + + +Sealos 的第一个版本写完后,我就把它发布到了阿里云市场出售,**每份售价 15 元**。我没想到真的会有人买,当第一笔 15 元进账时,我异常兴奋,仿佛一个商业帝国就在眼前。但是,结果是我花了一整天时间为这位客户提供售后服务。。。**电影院里还在帮用户解决问题**。 + +先来一波回忆杀: + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-17-59-VHeU8B.jpg) + +随后销量暴增,很快我就换了新手机 iPhone 8,但是问题也同时增加,以至于我根本无法及时提供所有的售后服务。于是我决定重写 Sealos,发布了基于 Ansible 的 v2 版本。最终还是觉得没有做到极致,因为用户还是遇到太多依赖问题无法解决。直到读完 kube-proxy 的源码,我发现有一种方案可以把负载均衡变得更简单,**干掉所有依赖**。于是我编写了 Sealos 的 v3 版本,在安装方面做到了极致。 + +### 为何一开始专注于安装 ? + +因为安装是入口,绝大多数人在学习云原生技术时都无法避开这个问题。**安装的流量入口足够大,无疑是一个绝佳的切入点**。一旦用户习惯使用 Sealos 进行安装,就会逐步探索 Sealos 的其他功能。 + +### 在阿里的工作 + +**在阿里工作期间,我开发了 Sealer**。这里最重要的一点就是,让安装足够灵活。以前用户只能使用我创建的安装包,而集群镜像的创新可以让用户自由定义安装包,也可以自由组合任何安装包。这里有个让我感到自豪的想法 : **把整个集群视为一个整体,把 Kubernetes 看作一个操作系统,那么在这个[云操作系统](https://sealos.run)中,“云版 Docker 镜像”会是什么样子?**这无疑是一个伟大的想法,极具抽象度和灵活性。 + +```dockerfile +FROM kubernetes:v1.25.0 +COPY mysql . +CMD helm install mysql . +``` + +这种构想让**[云操作系统](https://sealos.run)也像单机操作系统一样有了“镜像”**,伟大的构想又完成了一个环节。 + +### 创业第一年 + +那么,Sealos [云操作系统](https://sealos.run)最终会演变成什么样子呢?这是一个难以言状的问题,我只有一个朦胧的设想,隐隐若现。直到创业过程中连续迭代了三个版本,才有了今天的形态——**一切皆应用!** + +理解这一点其实很简单,只需要把单机操作系统上安装的单机应用替换成各种分布式应用即可。整个数据中心,**你看到的不再是一台台孤立的服务器,而是一个整体,变成了一台虚拟的超级计算机。** + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-17-59-ffDeDv.jpg) + +这样简洁、清爽且臻至完美的[云操作系统](https://sealos.run),相信你在第一眼见到它的时候,便会喜欢上它! + +这就是我五年的呕心沥血之作 —— Sealos!献给大家~ + +## 云可以如此干净 + +Sealos 保持了极简的设计,没有任何多余的按钮。实现简洁与强大并行的功能,有时候难如登天,但我们仍在产品设计上投入了大量的心血。无论何人,使用 Sealos 都将沉醉在我们为之打造的舒适体验中。 + +在 B 端软件的世界里,付款者与使用者往往并非同一人,导致产品体验时常被忽略,最关键的还是要说服决策者。而 Sealos 不一样,我们坚信产品体验高于一切,如果我们在产品上花费大量精力最终导致失败,那也死而无憾。 + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-17-59-v1fPyx.jpg) + +这种黑白灰的设计风格会让你使用产品时**感觉像在喝白开水,而不是在喝饮料,更不是在喝洗脚水** (某些产品使用起来想死的心都有)。开发者已经够痛苦了,我希望你们在使用 Sealos 时心情美好。 + +Sealos 能一针见血地戳中应用的痛点,比如这个应用管理器 App Launchpad,30 秒就可以让你上线自己的应用。这里涉及到大量细节,比如自动配置公网域名,自动解决 HTTPS 证书问题等。 + +## 云可以如此便宜? + +我在 Sealos 上运行了 10 多个应用,包括三个数据库,还有博客,低代码平台,测试平台等,每天只花 4 块钱 : + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-17-59-X4FAjB.jpg) + +为什么能这么便宜? + +- 只需要为运行的容器付费,无需虚拟机,也无需创建整个 Kubernetes 集群,打开直接用。 +- 自动伸缩,夜间用户量少时副本缩小到 1。 +- 我们可以充分利用公有云的弹性,编写大量自动化代码,夜间释放计算资源,降低成本。 + +这对于企业来说,可以减少大量的资源使用成本。我们自己就在 10 台服务器上运行了 7000 多个应用,这意味着什么?企业部署一套 Sealos 集群后,只要服务器资源利用率低于 70% 就可以不断向集群中添加应用,直到填满为止。 + +你可能会问,**为什么不能直接使用 Kubernetes?** 原因很简单,对于诸如讯飞这样的企业,应用分散在各个部门,这时多租户、隔离与协作会变成刚需,直接使用 Kubernetes 会把集群搞乱,最要命的可能是一个部门或者用户不注意搞了个安全问题会让整个集群崩溃,而 Sealos 完美解决了这个问题! + +Sealos 可以帮助 80% 的企业降低 80% 的资源使用成本。 + +## 云可以如此自由 + +与其他管理平台或 PaaS 平台不同,Sealos 的核心设计理念是“一切皆应用”。不同的开发者,不同的角色使用不同的应用,这让每个用户在使用时都没有心智负担。就像安卓生态中有几十上百万个应用,你只关心自己使用的那几款应用,不用关心其他应用在做什么。 + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-17-59-OsRpZy.jpg) + +这样的设计有两个主要优势: + +### 懂不懂 Kubernetes 都能愉快地使用 Sealos + +许多基于 Kubernetes 的 PaaS 平台或发行版要么暴露大量 Kubernetes 原生概念,要么屏蔽这些概念。这两种做法都不理想。 + +暴露大量原生概念对小白和新手不友好,屏蔽 Kubernetes 则失去了灵活性和兼容性,对 Kubernetes 老司机也非常不友好。 + +Sealos 采取了不同的做法。在这个平台上,不同的人可以使用不同的应用。比如你是开发者想写 CRUD,你可以直接使用 Laf 这个函数应用。如果你是 DBA,你可以直接使用数据库应用。在这种情况下,你完全不需要关心 Kubernetes,这些概念会被完全屏蔽。 + +如果用户是云原生专家,他们可以在 Sealos 上安装 Lens 和各种 Kubernetes Dashboard,也可以打开终端敲各种原生命令。这就极大提高了灵活度。 + +### 自由组装 + +Sealos 非常关注应用间的相互配合。例如,你在 Sealos 上使用函数计算,默认数据库可能是 MongoDB,但如果你想用 PostgreSQL 怎么办?这时就可以在 Sealos 上安装一个 PostgreSQL 应用,然后通过服务发现直接在函数计算里面访问。因为在同一个集群内,可以直接通过内网 DNS 相互配合。 + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-18-00-HEtGtd.jpg) + +Sealos 精简而不简单,所有组件都可以卸载,这让云恰好满足你的需求——多一分则嫌多,少一分则嫌少。这也意味着无论是一台服务器还是上百台数据中心,都可以通过一条命令构建成一朵云。 + +## Sealos 到底能干什么 + +- 30 秒在 Sealos 上跑个 nginx demo,自动伸缩 +- 30 秒起各种数据库,业务系统内网直接连接数据库 +- 在 Sealos 上直接启动你写的各种编程语言业务 + +这三个能力是基础,其他的能力你可以慢慢探索,慢慢发现新大陆。 + +在运行自己业务上,我们针对这个场景做了很多细节优化,比如自动分配二级域名,自动横向伸缩,支持运行各种有状态服务等。 + +你会发现,借助 Sealos,**无论是部署一个拨测系统,还是运行一个低代码平台,都是信手拈来。您的博客也可以轻松托管在 Sealos 上,成本低廉。使用 Sealos 终端,运行任何兼容 Kubernetes 的应用,自动化操作不再是难题。** + +更进一步发现:原来**有个 AI 在帮你自动做故障诊断,自动上线业务,甚至帮你写代码并自动测试上线**。 + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-18-01-t4W7LN.jpg) + +然后你会发现普通人也能用 Sealos: + ++ 你可以在 Sealos 上快速安装财务软件; ++ 你也可以在 Sealos 上快速安装知识库,给企业所有人写笔记; ++ 你还可以在 Sealos 上快速安装聊天软件供企业内部沟通协作。 + +到这里你会惊喜地发现:Sealos 竟然什么都能干,真的通用,而且还如此简单!最后你会有所领悟,**原来这就是[云操作系统](https://sealos.run)!** + +## 真的有人在用 Sealos 吗 ? + +当然有,Sealos 社区用户 10 万+,不乏各种大企业。 + +![](https://jsd.onmicrosoft.cn/gh/yangchuansheng/imghosting-test@main/uPic/2023-11-16-18-01-ZOZ4Ud.jpg) + +上线两个月时间注册用户已经破万,云服务共计运行 **7000+ 应用**。 + +**只有一些小微应用适合 Sealos 吗 ?** + +当然不,Sealos 的客户中有**国健大数据**,在疫情期间支撑健康码的服务,一秒钟都不能挂的高并发业务。也支撑过超大规模的 GPU 集群,每天处理 80T 数据,整个集群 80PB 数据。**聚道云**上百个应用跑在 Sealos 平台上。 + +## 阶梯计划 + +Sealos 的宏图不止于此,我们的目标是进化为一款无所不在的[云操作系统](https://sealos.run),为人们提供如同使用个人电脑般简易的云服务体验。借助 Sealos,企业可轻松实现: + +- 迅疾如闪电,一分钟上线新业务 +- 一年可缩减半数成本 +- 简单如拨动开关,一键起一朵云 + +企业用云,一款 Sealos 就足矣。 + +未来,我们将继续秉持工匠精神,精心打磨 Sealos 中企业所需的常用应用,如数据库、消息队列、推理能力、各类编程语言执行环境等。 + +Sealos [云操作系统](https://sealos.run)中还会**内置一个 Copilot**,它像一位航海家的副手,它可自动进行云原生改造,帮助开发者轻松迈入云原生的大门,也可以像专家一样帮助诊断集群问题,安全漏洞,并给出专业操作建议。 + +## 总结 + +历经五载,Sealos 总算实现了我当初写下第一行代码时的愿景 —— [云操作系统](https://sealos.run)。 + +感谢第一个为我付了 15块的同学,您的信任与鼓舞犹如一笔巨资,赋予我前行的力量。 + +感谢社区的全体贡献者,尤其是始终与我同行的老崔同学,众行远。 + +感谢讯飞复杂业务场景的锤炼,让我对业务场景有更深入的理解。 + +感谢阿里云在我写 Sealer 时的支持与帮助,为 Sealos 集群镜像的底层能力铸造了坚实的基石。 + +感谢与我共同开启创业之旅的所有伙伴,是大家共同将一颗灵感的种子,种植成为现实的大树。 + +感谢奇绩创坛踹了我临门一脚,也**感谢陆奇博士**出乎意料的看好我们给了我们很大信心。 + +感谢李军院长康一教授,张海龙,高捷资本,金福资产给我们的帮助、指导和信任。 + +感谢每一位选择 Sealos 的用户,你们包容了整个迭代过程中的种种问题,与我们共同雕琢更完美的 Sealos。 + +预祝每一位选择了我们的决策者,此刻你们的决策绝对是明智的。现在,Sealos 已经跨越了全新的起点,未来我们一定不负众望,向大家交付一款完美的[云操作系统](https://sealos.run)。 + +欢迎大家来体验 Sealos [云操作系统](https://sealos.run)的魅力👉 [https://cloud.sealos.io/](https://cloud.sealos.io/) \ No newline at end of file diff --git a/docs/blog/2022/10/22/vm-sealos-create.md b/docs/blog/zh-Hans/2023/10/22/vm-sealos-create.md similarity index 100% rename from docs/blog/2022/10/22/vm-sealos-create.md rename to docs/blog/zh-Hans/2023/10/22/vm-sealos-create.md diff --git "a/docs/blog/2022/11/10/velero\347\232\204\344\275\277\347\224\250.md" "b/docs/blog/zh-Hans/2023/11/10/velero\347\232\204\344\275\277\347\224\250.md" similarity index 99% rename from "docs/blog/2022/11/10/velero\347\232\204\344\275\277\347\224\250.md" rename to "docs/blog/zh-Hans/2023/11/10/velero\347\232\204\344\275\277\347\224\250.md" index 9946ea53c64..416a9406e63 100644 --- "a/docs/blog/2022/11/10/velero\347\232\204\344\275\277\347\224\250.md" +++ "b/docs/blog/zh-Hans/2023/11/10/velero\347\232\204\344\275\277\347\224\250.md" @@ -5,7 +5,7 @@ authors: [xiao-jay] tags: [kubernetes,sealos] --- -## velero的使用 +## velero的使用111 文档:https://velero.io/ diff --git a/docs/blog/zh-Hans/authors.yml b/docs/blog/zh-Hans/authors.yml new file mode 100644 index 00000000000..2d76594ac2a --- /dev/null +++ b/docs/blog/zh-Hans/authors.yml @@ -0,0 +1,12 @@ +fanux: + name: fanux + title: '@sealos' + url: https://github.com/fanux + image_url: https://avatars.githubusercontent.com/u/8912557?v=4 + +xiao-jay: + name: xiao-jay + title: '@sealos' + url: https://github.com/xiao-jay + image_url: https://avatars.githubusercontent.com/u/87080562?v=4 + diff --git a/docs/blog/zh-Hans/options.json b/docs/blog/zh-Hans/options.json new file mode 100644 index 00000000000..c57e381cb31 --- /dev/null +++ b/docs/blog/zh-Hans/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "博客", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "Sealos 云操作系统正式发布!", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "最近的博客", + "description": "The label for the left sidebar" + } +} \ No newline at end of file diff --git a/docs/website/Dockerfile b/docs/website/Dockerfile index 076861ae64e..ae8283aa40a 100644 --- a/docs/website/Dockerfile +++ b/docs/website/Dockerfile @@ -11,8 +11,10 @@ COPY . /app RUN mkdir website/i18n/zh-Hans/docusaurus-plugin-content-docs/; \ cp -r 4.0/i18n/zh-Hans/ website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/; \ cp 4.0/i18n/zh-Hans/current.json website/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json; \ - cp 4.0/code.json website/i18n/zh-Hans/code.json - + cp 4.0/code.json website/i18n/zh-Hans/code.json; \ + mkdir website/i18n/zh-Hans/docusaurus-plugin-content-blog/; \ + cp -r blog/zh-Hans/ website/i18n/zh-Hans/docusaurus-plugin-content-blog; \ + cp blog/zh-Hans/options.json website/i18n/zh-Hans/docusaurus-plugin-content-blog/options.json WORKDIR /app/website RUN yarn install diff --git a/docs/website/docusaurus.config.js b/docs/website/docusaurus.config.js index 1a00d8991b3..01a603311d5 100644 --- a/docs/website/docusaurus.config.js +++ b/docs/website/docusaurus.config.js @@ -43,7 +43,7 @@ const config = { editCurrentVersion: false, }, blog: { - path: "../blog", + path: "../blog/en", showReadingTime: true, // Please change this to your repo. // Remove this to remove the "edit this page" links. diff --git a/docs/website/package.json b/docs/website/package.json index 14812c1413b..833db2fa319 100644 --- a/docs/website/package.json +++ b/docs/website/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "sync-zh-files": "mkdir -p i18n/zh-Hans/docusaurus-plugin-content-docs && cp -r ../4.0/i18n/zh-Hans/ i18n/zh-Hans/docusaurus-plugin-content-docs/current/ && cp ../4.0/i18n/zh-Hans/current.json i18n/zh-Hans/docusaurus-plugin-content-docs/current.json && cp ../4.0/code.json i18n/zh-Hans/code.json", + "sync-zh-files": "mkdir -p i18n/zh-Hans/docusaurus-plugin-content-docs && cp -r ../4.0/i18n/zh-Hans/ i18n/zh-Hans/docusaurus-plugin-content-docs/current/ && cp ../4.0/i18n/zh-Hans/current.json i18n/zh-Hans/docusaurus-plugin-content-docs/current.json && cp ../4.0/code.json i18n/zh-Hans/code.json && mkdir -p i18n/zh-Hans/docusaurus-plugin-content-blog && cp -r ../blog/zh-Hans/ i18n/zh-Hans/docusaurus-plugin-content-blog && cp ../blog/zh-Hans/options.json i18n/zh-Hans/docusaurus-plugin-content-blog/options.json", "docusaurus": "docusaurus", "start": "yarn sync-zh-files && tsc && docusaurus start", "start-zh": "yarn sync-zh-files && tsc && docusaurus start --locale zh-Hans",