Skip to content

How to implement the nodeSelector spec in my xml configuration #2334

Answered by rohanKanojia
maodia asked this question in Q&A
Discussion options

You must be logged in to vote

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

spec:
  template:
     spec:
       nodeSelector:
       testkey: testvalue

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rohanKanojia
Comment options

@maodia
Comment options

@rohanKanojia
Comment options

Answer selected by maodia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants