k8s操作手册 2.3
csi-node-driver 2 2 2 2 2 kubernetes.io/os=linux 4h24m # kubectl get deploy -A NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE calico-system matchLabels: podlable: nginx-deploy-pod template: #定义一个pod模板,具体要运行多少个实例由上面的replicas决定 metadata: labels: podlable: nginx-deploy-pod #pod模板标签 spec: containers: #重启策略,默认Always,deploy不支持Never --- apiVersion: v1 kind: Service #创建service资源,不归deployment管理 metadata: name: nginx-deploy-svc spec: selector: #通过标签选择目标pod podlable: nginx-deploy-pod0 码力 | 126 页 | 4.33 MB | 1 年前3Apache OpenWhisk + Kubernetes: A Perfect Match for Your Serverless Platform
OpenWhisk Deploy Apache OpenWhisk on Kubernetes • The architecture diagram of OpenWhisk components on Kubernetes, e.g. • https://github.com/apache/incubator-openwhisk-deploy-kube Technical • Stands for a long running task, can be exposed as K8s services • In OpenWhisk, usually, we deploy those core components’ dependencies lib or tools as Deployment: – CouchDB – Redis – Zookeeper Pods • A DaemonSet ensures that all (or some) Nodes run a copy of a Pod • In OpenWhisk, we deploy strictly mangaged objects as StatefulSet or DaemonSet: – Controller – Invoker – Kafka0 码力 | 24 页 | 3.53 MB | 1 年前3Kubernetes开源书 - 周立
Pod)中新增的副本,以减轻⻛险。 这称为⽐例缩放 。 例如,您正在运⾏⼀个具有10个副本的Deployment,maxSurge=3, maxUnavailable=2。 $ kubectl get deploy NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE nginx-deployment 10 10 10 10 50s 你更新到⼀个新的镜像,该镜像在集群内部⽆法找到。 $ kubectl set image deploy/nginx-deployment nginx=nginx:sometag deployment "nginx-deployment" image updated 镜像使⽤ReplicaSet ng 在上⾯的示例中,3个副本将被添加到旧ReplicaSet中,2个副本将添加到新ReplicaSet中。升级进程最终会将所有副本 移动到新的ReplicaSet中,假设新副本变为健康状态。 $ kubectl get deploy NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE nginx-deployment 150 码力 | 135 页 | 21.02 MB | 1 年前3K8S安装部署开放服务
dashboard kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta5/aio/deploy/recommended.yaml Step2: 配置 service (nodeport) vi nodeport.yaml apiVersion: v1 kind: Service MaxAge = 15 Compress = true Level = debug Step4. templates/deploy.yaml vi openservice-nbiot-udp/templates/deploy.yaml apiVersion: apps/v1 kind: Deployment metadata: name: {{ include0 码力 | 54 页 | 1.23 MB | 1 年前3从Mesos到Kubernetes
Condition Action Object Build UT test Staging Job Deploy Staging Job IT Test Staing Job Merge Preview Branch Step2 Deploy Preview Job Merge Production Branch Branch preview0 码力 | 30 页 | 2.12 MB | 1 年前3KubeCon2020/腾讯会议大规模使用Kubernetes的技术实践
Manage & Schedule Ceres Job Queue Manager Spark-Operator OfflineJobs Scheduler Kubeflow Hybrid Deploy StatefulSetPlus-Operator Tencent Cloud Mesh MultiCluster-Route-Manager Application & Route Management CHECKPOINT �������������������������������� VWA-Operator VWA ( Vertical Workload Autoscaler ) Ø Deploy HPAPlus-Controller independently. Ø High Performance. Ø Personalized configuration of HPA objects0 码力 | 19 页 | 10.94 MB | 1 年前3Kubernetes Native DevOps Practice
approval timeout volumes CI/CD Examples - Continuous Deployment Upgrade an existing service Deploy using helm template environment variables • Image with kubectl or call k8s API • Image with helm webhook Job Kubernetes Cluster Kubernetes Cluster Pod Pod Pod Pod - Rolling Upgrade / Recreate - Deploy / Upgrade using helm,rollback if unready pods - Check tracing data, rollback if get unexpected0 码力 | 21 页 | 6.39 MB | 1 年前3QCon北京2018/QCon北京2018-《Kubernetes-+面向未来的开发和部署》-Michael+Chen
next generation apps End User Experience • Installation and clusters creation Deploy OpsMgr OVA Upload PKS tile Deploy BOSH pks create cluster A pks create cluster B Worker Worker Worker Kubernetes0 码力 | 42 页 | 10.97 MB | 1 年前3Jib Kubecon 2018 Talk
development for Kubernetes applications. You can iterate on your application source code locally then deploy to local or remote Kubernetes clusters. Skaffold handles the workflow for building, pushing and com/GoogleContainerTools/skaffold official website code Development Process application k8s config build push deploy connect update code Development Process application k8s config skaffold github.com/GoogleContainerTools/jib0 码力 | 90 页 | 2.84 MB | 1 年前3多租户Kubernetes VM Solutions for Multi-Tenant Applications
infrastructure • Better isolation VM related Projects Virtlet KubeVirt RancherVM Kata Container Focus : deploy REAL vm (traditional vm app) Focus : container security Virtlet Virtlet is a Kubernetes runtime0 码力 | 33 页 | 3.34 MB | 1 年前3
共 20 条
- 1
- 2