人为影响k8s调度器的三种方法
污点、容忍度nodeName:让POD运行在制定的node上nodeSelecter:通过标签选择器,让POD运行在制定的一组node上先创建一个deployment:[root@hdss7-21 ~]# cat dp.yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: app: nginx_dp name: nginx_dp namespace: infra spec: replicas: 2 selector: matchLabels: app: ...
![人为影响k8s调度器的三种方法](https://s2.51cto.com/images/20200406/1586104500404804.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
最近评论