实际案例Kubernetes on Supporting 1 Million Bike-Taxi Drivers in Indonesia
service 01 Mobile App First mobile app was launched 02 2010 2015 Milestone Go-Jek 1.0 Call-center for ojek service 01 Mobile App First mobile app was launched 02 More Apps! Incl. growth 2010 2015 2017 Milestone Go-Jek 1.0 Call-center for ojek service 01 Mobile App First mobile app was launched 02 More Apps! Incl. growth of Go-Pay into P2P, withdrawal, etc 03 2010 2015 2017 2018 Fintech Acquired three fintech companies in Indonesia 04 Milestone With great number of apps comes great headache a typical flow of an app in Go-Jek… Infrastructure as Code Started in the0 码力 | 37 页 | 34.65 MB | 1 年前3QCon北京2018/QCon北京2018-《Kubernetes-+面向未来的开发和部署》-Michael+Chen
•Ready-to-go development •Self-service portal Developer Sandbox • New application development • 12-factor apps, PCF Cloud Native •Simplify app maintenance •Improve developer workflow Application Repackaging clusters on-demand on vSphere or GCP Container Service for Cloud-Native Apps Rapidly deliver and operationalize next generation apps End User Experience • Installation and clusters creation Deploy OpsMgr Certified for every K8s release Container Service for Cloud-Native Apps Rapidly deliver and operationalize next generation apps Containers: Package applications VMs: Run & Move Containers Kubernetes:0 码力 | 42 页 | 10.97 MB | 1 年前3用户界面State of the UI_ Leveraging Kubernetes Dashboard and Shaping its Future
from ng1 to ng2 (#3152) ● Migrating metrics from Heapster to Kubernetes Metrics API (#2986) ● Apps list page (#2980) Demo Future of Dashboard How do people use Dashboard today, and want to Kubernetes in GCP and on-prem ● Custom Resource Definitions support ● Service topology view ● Mobile device support ● Cost estimates ● CI/CD pipelines ● ...and more! Additional feature requests0 码力 | 41 页 | 5.09 MB | 1 年前3Kubernetes日志平台建设最佳实践-元乙
Structured, Unstructured & Semi- structured Data SQL�NoSQL Log Service / LogShipper Mobile & Web IoT Mobile Logs Web Text & Logs Services & Languages IoT & Devices Camera �� Log Service /0 码力 | 30 页 | 53.00 MB | 1 年前3Model and Operate Datacenter by Kubernetes at eBay (提交版)
revenue 62% International revenue 1.1B Live listings 81% Sold are new 88% Fixed price $11B Mobile Our fleet 15 3 US Data Centers POPs 200K+ Managed Vms 4K 100K Managed BMs Applications 40 码力 | 25 页 | 3.60 MB | 1 年前3Serverless Kubernetes - KubeCon
at scale • Chat bots • Batch jobs or scheduled tasks • HTTP REST APIs and web applicated • Mobile backends • Continuous Integration Pipeline • Data Analytics • … Asynchronous Event Driven0 码力 | 16 页 | 4.25 MB | 1 年前3K8S安装部署开放服务
kubectl label nodes k8s-node4 IngressProxy=true Step5: daemonset vi 4-ds.yaml apiVersion: apps/v1 kind: DaemonSet metadata: name: traefik-ingress-controller labels: app: traefik nt.yaml telegraf/templates/StatefulSet.yaml vi telegraf/templates/StatefulSet.yaml apiVersion: apps/v1 kind: StatefulSet spec: //下面增加以下 3 行 serviceName: {{ include "telegraf.fullname" . }} = debug apps.js: | var apps = { "iSurpassApp":"iSurpass2018", "testApp":"iSurpass20190801" }; function getAppSecret(appKey) { if (apps.hasOwnProperty(appKey))0 码力 | 54 页 | 1.23 MB | 1 年前3Kubernetes + OAM 让开发者更简单
metadata: name: frontend annotations: description: Container workload spec: workload: apiVersion: apps/v1 kind: Deployment spec: template: spec: containers: - name: web image: 'php:latest' env: - AGE frontend-c8bb659c5 1 2d15h $ kubectl get components NAME WORKLOAD frontend deployment.apps.k8s.io Component:应用中的一个组成部分,例如容器、 Function或者云服务等 应用组件 运维能力 扩容策略 发布策略 分批策略 访问控制 流量配置 Deployment metadata: name: virtualservices.networking.istio.io annotations: alias: traffic spec: appliesTo: - apps.k8s.io conflictsWith: - services.k8s.io definition: virtualservices.networking.istio.io 应用管理引擎0 码力 | 22 页 | 10.58 MB | 1 年前3⾸云容器产品Kubernetes操作指南
resources: 26 requests: 27 storage: 20Gi 28 --- 29 apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 30 kind: Deployment 31 metadata: 32 name: wordpress-mysql 33 namespace: selector: 15 app: wordpress 16 tier: frontend 17 --- 18 apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 19 kind: Deployment 20 metadata: 3. 部署WordPress容器组 77 21 name: resources: 26 requests: 27 storage: 20Gi 28 --- 29 apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 30 kind: Deployment 31 metadata: 32 name: wordpress-mysql 33 namespace:0 码力 | 94 页 | 9.98 MB | 1 年前3Kubernetes开源书 - 周立
在进⾏API请求时, kubectl 会将信息转换为 JSON。 如下是⼀个示例 .yaml ⽂件,显示Kubernetes Deployment所需的字段和对象spec: apiVersion: apps/v1beta1 kind: Deployment metadata: name: nginx-deployment spec: replicas: 3 template: ReplicaSet,除⾮您需要⾃定义更新编排或根本不需要更新。 这实际上意味着您可能永远不需要操作ReplicaSet对象:使⽤Deployment替代,并在spec部分中定义应⽤程序。 示例 apiVersion: apps/v1beta2 # for versions before 1.6.0 use extensions/v1beta1 kind: ReplicaSet metadata: name: frontend 本是 apps/v1beta2 ,默认启⽤。API版本 extensions/v1beta1 已 被弃⽤。 在API版本 apps/v1beta2 中,如果没有设置,则 .spec.selector 和 .metadata.labels 默认不再 与 .spec.template.metadata.labels ⼀致。 因此,必须明确设定这些字段。 另外,在API版本 apps/v1beta20 码力 | 135 页 | 21.02 MB | 1 年前3
共 21 条
- 1
- 2
- 3