kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.17k stars 103 forks source link

Support nodeselector in kudo init #1801

Open varunrsystems opened 3 years ago

varunrsystems commented 3 years ago

Support nodeselector for kudo init:

To able to deploy on Linux node/Specific Node: Currently we are having K8s cluster running Windows as well as Linux container, and sometimes due to not having nodeselector when we run kudo init it will create pods of kudo sts on Windows node. I guess we can also use this to support others node types.

suikast42 commented 2 years ago

It's not nice but my workarround is to deploy kudo manually.

  1. kubectl kudo init --dry-run -o=yaml > 002_kudo.yaml
  2. Add the nodeSelector in that yaml.
varunrsystems commented 2 years ago

That great, but here I am more concern if we can automate it so that easily be used in scripts to automate the installation.