🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@mugensekai2 жыл бұрын
Cool to know that you have either option of using _operator: Equal_ and specifying the value *or* using a general _operator: Exists_ without the a value.
@AntonPutra2 жыл бұрын
yeap
@AntonPutra Жыл бұрын
👉 How to Manage Secrets in Terraform - kzbin.info/www/bejne/aX-TpXqBrNt1mqM 👉 Terraform Tips & Tricks - kzbin.info/www/bejne/bYScZaKLid5lsJY 👉 ArgoCD Tutorial - kzbin.info/www/bejne/sHjRlZqafMZkisU
Hey Anton, qq: at 1:14 I can see that the cpacity_type is "ON_DEMAND" and not "SPOT" this was a mistake, right?
@AntonPutra Жыл бұрын
Not sure what you mean by 'a mistake,' but when you use a specialized type such as spot, typically you don't want to run all applications on them; that's why you additionally add taints. The example in the video is exactly to demonstrate the point that when using SPOT, you want to add taints to that node group.
@gonzariosm Жыл бұрын
Thank you very much for your response. Perhaps I have expressed myself badly. What I mean is that I see that Terraform code has the value "ON_DEMAND" in the capacity_type. I mean that this node will be "ON_DEMAND" and not "SPOT" or am I wrong? On the other hand, thank you very much for your videos 🚀
@gdevelek2 жыл бұрын
You were in a lot of hurry in this video and didn't explain much. It seems to me that a toleration is a way to override the taint. In other words, a way to allow a pod to be scheduled on a node, despite the fact that the node has a taint for NOT allowing pods to be scheduled on it.
@AntonPutra2 жыл бұрын
Thanks for the feedback!
@mugensekai2 жыл бұрын
Agreed. Good nuggets in here, but I had to replay a few times to fully digest everything. The way I look at it is that tainting nodes is a good way to _exclude_ pods you *don't* want scheduled on the node, adding a toleration to the Pod spec is the exception.