Kubernetes

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(分发版)
(项目)
 
(未显示1个用户的45个中间版本)
第1行: 第1行:
 
Kubernetes:[[Google]] 推出的开源(Apache V2) Container Cluster Manager,使用 [[Go]] 语言开发,能方便的在 [https://cloud.google.com/compute/docs/containers Google Cloud Platform] 上运行 [[Docker]] 容器。
 
Kubernetes:[[Google]] 推出的开源(Apache V2) Container Cluster Manager,使用 [[Go]] 语言开发,能方便的在 [https://cloud.google.com/compute/docs/containers Google Cloud Platform] 上运行 [[Docker]] 容器。
 +
[[文件:kubernetes-logo.png|right]]
 +
 +
==简介==
 +
[[文件:kubernetes-logo-96x94.png|right]]
 +
Kubernetes 是用于自动部署,扩展和管理容器化应用程序的开源系统,是容器管理的事实标准。
 +
 +
==功能==
 +
 +
==工具==
 +
Kubernetes 包含一些内置工具,可以帮助用户更好的使用 Kubernetes 系统。
 +
 +
* Kubectl
 +
是 Kubernetes 命令行工具,可以用来操控 Kubernetes 集群。
 +
[[文件:kubeadm.png|right]]
 +
* Kubeadm
 +
是一个命令行工具,可以用来在物理机、云服务器或虚拟机上轻松部署一个安全可靠的 Kubernetes 集群。
 +
 +
* Kubefed
 +
是一个命令行工具,可以用来帮助用户管理联邦集群。
 +
 +
* Minikube
 +
是一个可以方便用户在其工作站点本地部署一个单节点 Kubernetes 集群的工具,用于开发和测试。
 +
 +
* Dashboard
 +
是 Kubernetes 基于 Web 的用户管理界面,允许用户部署容器化应用到 Kubernetes 集群,进行故障排查以及管理集群和集群资源。
 +
 +
* Helm
 +
是一个管理预先配置 Kubernetes 资源包的工具,这里的资源在 Helm 中也被称作 Kubernetes charts。
 +
 +
* Kompose
 +
是一个转换工具,用来帮助 Docker Compose 用户迁移至 Kubernetes。
  
 
==生态系统==
 
==生态系统==
 +
[[Kubernetes ecosystem]]
 +
 +
[[文件:cncf-projects.png]]
 +
 
[https://github.com/kubernetes/kubernetes/tree/master/examples Kubernetes 支持的系统和应用]
 
[https://github.com/kubernetes/kubernetes/tree/master/examples Kubernetes 支持的系统和应用]
 
*[https://github.com/kubernetes/kubernetes/tree/master/examples/nodesjs-mongodb Node.js and MongoDB on Kubernetes]
 
*[https://github.com/kubernetes/kubernetes/tree/master/examples/nodesjs-mongodb Node.js and MongoDB on Kubernetes]
第8行: 第43行:
 
*[https://github.com/kubernetes/kubernetes/tree/master/examples/cassandra Cassandra on Kubernetes]
 
*[https://github.com/kubernetes/kubernetes/tree/master/examples/cassandra Cassandra on Kubernetes]
 
*[https://github.com/kubernetes/kubernetes/tree/master/examples/openshift-origin OpenShift Origin on Kubernetes]
 
*[https://github.com/kubernetes/kubernetes/tree/master/examples/openshift-origin OpenShift Origin on Kubernetes]
 +
 +
==[[Apache Mesos|Mesos]]==
 +
[[文件:kubernetes-on-mesos.jpg]]
 +
 +
[https://mesosphere.com/kubernetes/ Kubernetes on Mesosphere DC/OS]
  
 
==[[OpenStack]]==
 
==[[OpenStack]]==
第20行: 第60行:
  
 
==项目==
 
==项目==
*[https://github.com/ramitsurana/awesome-kubernetes Awesome Kubernetes] [[image:awesome.png]]
 
 
*[https://github.com/coreos/etcd etcd] 的灵感来自于 Doozer,etcd通过创建一个hub跟踪一个集群中每个节点的状态并管理这些状态将会让分布式系统集群管理变得简单,Kubernetes和Pivotal的[[Cloud Foundry]]都利用etcd来进行 key/value存储。
 
*[https://github.com/coreos/etcd etcd] 的灵感来自于 Doozer,etcd通过创建一个hub跟踪一个集群中每个节点的状态并管理这些状态将会让分布式系统集群管理变得简单,Kubernetes和Pivotal的[[Cloud Foundry]]都利用etcd来进行 key/value存储。
 
*[https://github.com/mesosphere/kubernetes-mesos A Kubernetes Framework for Apache Mesos]
 
*[https://github.com/mesosphere/kubernetes-mesos A Kubernetes Framework for Apache Mesos]
第27行: 第66行:
 
*[https://github.com/minishift/minishift Minishift] Run [[OpenShift]] locally
 
*[https://github.com/minishift/minishift Minishift] Run [[OpenShift]] locally
 
*[https://github.com/bestcloud/ku8eye ku8eye]
 
*[https://github.com/bestcloud/ku8eye ku8eye]
 +
*[https://github.com/nforgeio/neonKUBE Neon] Open Source Libraries and Kubernetes Distribution
 +
*[https://github.com/cncf/tag-security CNCF Security Technical Advisory Group]
  
 
==文档==
 
==文档==
 
*[http://docs.huihoo.com/infoq/en/QConLondon-cluster-management-google-201502.pdf Google 容器引擎 Run Docker containers on Google Cloud Platform, powered by Kubernetes,每周启动超过20亿个容器]
 
*[http://docs.huihoo.com/infoq/en/QConLondon-cluster-management-google-201502.pdf Google 容器引擎 Run Docker containers on Google Cloud Platform, powered by Kubernetes,每周启动超过20亿个容器]
  
==分发版==
+
==分发版和用户==
 +
[[文件:certified-kubernetes.png|right|thumb]]
 +
[https://www.infoq.cn/article/Wt4PPS8h5_CO2gvSahhi 主流 Kubernetes 发行版梳理,看完就会选了]
 +
*[https://github.com/cncf/k8s-conformance Certified Kubernetes]
 +
*[[Rancher]]
 +
*[[K3s]]
 
*[[OpenShift]]
 
*[[OpenShift]]
 
*[https://coreos.com/tectonic/ Tectonic]
 
*[https://coreos.com/tectonic/ Tectonic]
 
*[http://www.easystack.cn/escontainer/ ESContainer]
 
*[http://www.easystack.cn/escontainer/ ESContainer]
*[https://www.ubuntu.com/containers/kubernetes Canonical]
+
*[https://www.ubuntu.com/kubernetes Ubuntu Canonical]
 
+
*青云[https://github.com/kubesphere/kubesphere KubeSphere]
==用户==
+
 
*[[Wikimedia]] [http://kubernetes.io/case-studies/wikimedia/ Using Kubernetes to Build Tools to Improve the World's Wikis]
 
*[[Wikimedia]] [http://kubernetes.io/case-studies/wikimedia/ Using Kubernetes to Build Tools to Improve the World's Wikis]
 
*[[eBay]] [http://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/ Inside eBay’s Shift To Kubernetes And Containers Atop OpenStack]
 
*[[eBay]] [http://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/ Inside eBay’s Shift To Kubernetes And Containers Atop OpenStack]
第43行: 第88行:
 
*[http://kubernetes.io/case-studies/pearson/ Pearson]
 
*[http://kubernetes.io/case-studies/pearson/ Pearson]
 
*[https://openai.com/blog/infrastructure-for-deep-learning/ OpanAI Infrastructure for Deep Learning]
 
*[https://openai.com/blog/infrastructure-for-deep-learning/ OpanAI Infrastructure for Deep Learning]
[http://kubernetes.io/case-studies/ 更多用户>>>]
+
*京东 [http://blog.kubernetes.io/2017/02/inside-jd-com-shift-to-kubernetes-from-openstack.html Inside JD.com's Shift to Kubernetes from OpenStack]
 +
*[http://www.infoq.com/cn/news/2018/03/Tencent-PaaS-Kubernetes?utm_source=tuicool&utm_medium=referral 剑指Kubernetes 揭秘腾讯云的PaaS技术选型策略]
 +
*[http://blog.shurenyun.com/shurenyun-docker-245/ Kubernetes 在腾讯游戏的应用实践]
 +
*[http://harmonycloud.cn/ 谐云科技]
 +
*[https://www.163yun.com/ 网易云]
 +
如何选择容器化技术栈,网易云架构师做了一个比较系统的梳理:
 +
*千节点集群,少定制:使用开源 Kubernetes (细粒度设计,契合微服务思想)
 +
*万节点集群,多定制:使用 Mesos + Marathon (双层调度好犀利)
 +
*万节点集群,IT 能力强:深度定制 Kubernetes (如网易云)万节点集群,IT 能力强:深入掌握使用 DC/OS (DC/OS 在最基础的 Marathon 和 Mesos 之上添加了很多的组件)
 +
*大数据集群:Spark on Mesos (建议只基于容器部署计算部分,数据部分另行部署)
 +
详情可参考  [http://blog.163yun.com/archives/1903 容器平台选型的十大模式:Docker、DC/OS、K8S 谁与当先?]
 +
*[https://www.cncf.io/case-studies-cn/dod/ Kubernetes 在手,美国国防部实现了 F-16 和战舰的 DevSecOps]
 +
 
 +
[https://kubernetes.io/partners/ 更多用户>>>]
  
 
==图集==
 
==图集==
 
<gallery>
 
<gallery>
 +
image:kubernetes.io.png|Kubernetes
 
image:kubernetes-dashboard.png|仪表盘
 
image:kubernetes-dashboard.png|仪表盘
 
image:kubernetes-architecture.png|架构
 
image:kubernetes-architecture.png|架构
 +
image:install-kubernetes-on-dcos.png|Kubernetes安装
 +
image:Forrester-Wave-Multicloud-Container-Development-Platforms-2020Q3.png|多云容器开发平台
 
image:kubernetes-dcos.png|DCOS
 
image:kubernetes-dcos.png|DCOS
 
image:Container-ecosystem.png|容器生态系统
 
image:Container-ecosystem.png|容器生态系统
 
image:openshift-all-in-one.png|OpenShift
 
image:openshift-all-in-one.png|OpenShift
 +
image:Kubernetes-Service-Mesh.png|Kubernetes Service Mesh
 
image:OpenShift-Kubernetes-Docker-HDP.png|容器PaaS与大数据
 
image:OpenShift-Kubernetes-Docker-HDP.png|容器PaaS与大数据
 
image:kubernetes-ec2-autoscaler.png|kubernetes-ec2-autoscaler
 
image:kubernetes-ec2-autoscaler.png|kubernetes-ec2-autoscaler
 +
image:JDOS-2.0-container-engine-platform.png|京东容器平台JDOS
 +
image:JDOS-2.0-container-engine-platform-02.png|京东容器平台JDOS
 +
image:CoreOS-Tectonic.png|Tectonic
 +
image:keda-architecture.png|KEDA
 +
image:Gardener-Architecture.png|Gardener
 
</gallery>
 
</gallery>
  
第63行: 第130行:
 
*[https://developer.rackspace.com/blog/running-coreos-and-kubernetes/ Corekube: Running Kubernetes on CoreOS via OpenStack]
 
*[https://developer.rackspace.com/blog/running-coreos-and-kubernetes/ Corekube: Running Kubernetes on CoreOS via OpenStack]
 
*[https://meteorhacks.com/learn-kubernetes-the-future-of-the-cloud/ Kubernetes: The Future of Cloud Hosting]
 
*[https://meteorhacks.com/learn-kubernetes-the-future-of-the-cloud/ Kubernetes: The Future of Cloud Hosting]
 +
*[https://www.kubernetes.org.cn/ Kubernetes中文社区]
 
*[http://dockerone.com/article/335 让Kubernetes成为数据中心操作系统(DCOS)的一等公民]
 
*[http://dockerone.com/article/335 让Kubernetes成为数据中心操作系统(DCOS)的一等公民]
 
*[http://geek.csdn.net/news/detail/32803 Eric Brewer:容器和微服务是计算的未来] Google负责基础设施的副总裁Eric Brew,谈容器技术、Kubernetes、云计算当然还有CAP。应用将由许多微服务组成的,开发软件就是开发微服务而不再是库。
 
*[http://geek.csdn.net/news/detail/32803 Eric Brewer:容器和微服务是计算的未来] Google负责基础设施的副总裁Eric Brew,谈容器技术、Kubernetes、云计算当然还有CAP。应用将由许多微服务组成的,开发软件就是开发微服务而不再是库。
第69行: 第137行:
 
*[https://blog.openshift.com/openshift-v3-deep-dive-docker-kubernetes/ OpenShift V3 Deep Dive Tutorial | The Next Generation of PaaS]
 
*[https://blog.openshift.com/openshift-v3-deep-dive-docker-kubernetes/ OpenShift V3 Deep Dive Tutorial | The Next Generation of PaaS]
 
*[https://insights.ubuntu.com/2017/07/20/run-django-applications-on-the-canonical-distribution-of-kubernetes/ Run Django applications on the Canonical Distribution of Kubernetes]
 
*[https://insights.ubuntu.com/2017/07/20/run-django-applications-on-the-canonical-distribution-of-kubernetes/ Run Django applications on the Canonical Distribution of Kubernetes]
 +
*[https://www.cnrancher.com/three-pillars-kubernetes-container-orchestration/ Kubernetes容器编排的三大支柱] 资源管理、调度和负载均衡
  
 +
[[category:CNCF]]
 
[[category:go]]
 
[[category:go]]
 
[[category:google]]
 
[[category:google]]
 
[[category:docker]]
 
[[category:docker]]
 
[[category:OpenStack]]
 
[[category:OpenStack]]
[[category:OpenShift]]
+
[[category:container]]
 +
[[category:infrastructure]]
 +
[[category:Linux Foundation]]

2022年5月20日 (五) 01:08的最后版本

Kubernetes:Google 推出的开源(Apache V2) Container Cluster Manager,使用 Go 语言开发,能方便的在 Google Cloud Platform 上运行 Docker 容器。

Kubernetes-logo.png

目录

[编辑] 简介

Kubernetes-logo-96x94.png

Kubernetes 是用于自动部署,扩展和管理容器化应用程序的开源系统,是容器管理的事实标准。

[编辑] 功能

[编辑] 工具

Kubernetes 包含一些内置工具,可以帮助用户更好的使用 Kubernetes 系统。

  • Kubectl

是 Kubernetes 命令行工具,可以用来操控 Kubernetes 集群。

Kubeadm.png
  • Kubeadm

是一个命令行工具,可以用来在物理机、云服务器或虚拟机上轻松部署一个安全可靠的 Kubernetes 集群。

  • Kubefed

是一个命令行工具,可以用来帮助用户管理联邦集群。

  • Minikube

是一个可以方便用户在其工作站点本地部署一个单节点 Kubernetes 集群的工具,用于开发和测试。

  • Dashboard

是 Kubernetes 基于 Web 的用户管理界面,允许用户部署容器化应用到 Kubernetes 集群,进行故障排查以及管理集群和集群资源。

  • Helm

是一个管理预先配置 Kubernetes 资源包的工具,这里的资源在 Helm 中也被称作 Kubernetes charts。

  • Kompose

是一个转换工具,用来帮助 Docker Compose 用户迁移至 Kubernetes。

[编辑] 生态系统

Kubernetes ecosystem

Cncf-projects.png

Kubernetes 支持的系统和应用

[编辑] Mesos

Kubernetes-on-mesos.jpg

Kubernetes on Mesosphere DC/OS

[编辑] OpenStack

ESContainer.png

[编辑] DNS

Kubernetes提供的DNS由以下三个组件组成:

  • etcd:DNS存储。
  • kube2sky:将Kubernetes Master中的Service(服务)注册到etcd。
  • SkyDNS:提供DNS域名解析服务。

[编辑] 项目

[编辑] 文档

[编辑] 分发版和用户

Certified-kubernetes.png

主流 Kubernetes 发行版梳理,看完就会选了

如何选择容器化技术栈,网易云架构师做了一个比较系统的梳理:

  • 千节点集群,少定制:使用开源 Kubernetes (细粒度设计,契合微服务思想)
  • 万节点集群,多定制:使用 Mesos + Marathon (双层调度好犀利)
  • 万节点集群,IT 能力强:深度定制 Kubernetes (如网易云)万节点集群,IT 能力强:深入掌握使用 DC/OS (DC/OS 在最基础的 Marathon 和 Mesos 之上添加了很多的组件)
  • 大数据集群:Spark on Mesos (建议只基于容器部署计算部分,数据部分另行部署)

详情可参考 容器平台选型的十大模式:Docker、DC/OS、K8S 谁与当先?

更多用户>>>

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱