kube-HPC / hkube

🐟 High Performance Computing over Kubernetes - Core Repo 🎣
http://hkube.io
MIT License
304 stars 20 forks source link

fail to store algorithim with node selector '{"error":{"code":500,"message":"key kubernetes.io/hostname must not contain '.'"}}' #1076

Closed tamir321 closed 3 years ago

tamir321 commented 3 years ago

HKube micro-service To which micro-service the bug related to, Dashboard ,Monitor-Server etc.

Describe the bug when trying to store algorithm with node selector

{
algorithmImage:'tamir321/algoversion:v1'
cpu:1
gpu:0
mem:'256Mi'
minHotWorkers:1
name:'qn8ebtxu'
nodeSelector:{kubernetes.io/hostname: 'ip-172-22-1-153.eu-west-1.compute.internal'}
options:{debug: false, pending: false}
type:'Image'}

getting error '{"error":{"code":500,"message":"key kubernetes.io/hostname must not contain '.'"}}'

the api server fails to save tomongodb Expected behavior A clear and concise description of what you expected to happen.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

tamir321 commented 3 years ago

tested on version

systemVersion: "v2.0.55", fullSystemVersion: "v2.0.55-1610028130079",