How to implement the nodeSelector spec in my xml configuration #2334
-
Hi, i get a small problem that i am going to deploy my image to some particular k8s node (use nodeSelector spec in the deployment yaml) but i do not know how to configure it in my xml configuration file. I searched it in the docs and found nothing about this. |
Beta Was this translation helpful? Give feedback.
Answered by
rohanKanojia
Aug 21, 2023
Replies: 1 comment 3 replies
-
I think at the moment it's not provided via XML configuration. I think you should be able to work around this issue by providing a Deployment fragment with nodeSelector. Place this file in spec:
template:
spec:
nodeSelector:
testkey: testvalue |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
maodia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think at the moment it's not provided via XML configuration. I think you should be able to work around this issue by providing a Deployment fragment with nodeSelector.
Place this file in
src/main/jkube
:deployment.yaml