admin管理员组文章数量:1355645
in our cluster we are using 1 aws on-demand instance and a varying spot instances as nodes. For our deployment with n replicas we would like to deploy exactly 1 replica on the on-demand instance and the other n-1 replicas should be deployed on the remaining spot instances, however, multiple replicas on a single spot instance should be allowed.
Scenario: Node A (On Demand Instance) Node B (Spot Instance)
Deployment with 10 replicas
Our goal is the following pod distribution: Node A: 1 Pod Node B: 9 Pods
We already tried PodAntiAffinity, however, we run into the issue that our karpenter is just creating n nodes where n is the number of replicas. This is not ideal..
Any tips are appreciated
本文标签: amazon web servicesHow to use kubernetes podAntiAffinity for only a specific nodeStack Overflow
版权声明:本文标题:amazon web services - How to use kubernetes podAntiAffinity for only a specific node - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743941542a2565653.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论