Hi everyone, Hope everyone is having an awesome day... Anyone else having issue . . .

Ishmael Sibisi:
Hi everyone, Hope everyone is having an awesome day…

Anyone else having issues with the<https://kodekloud.com/topic/practice-test-multiple-schedulers-2/| multiple schedulers> practice test? My scheduler doesn’t start up because:

failed to create listener: failed to listen on 127.0.0.1:10259: listen tcp 127.0.0.1:10259: bind: address already in use

But I have set it up to use port 10285 this is for the last question, It passed the previous question where I was setting up my-scheduler

Margarita Stoilova:
Have you checked if any other service is listening on this port?

Ishmael Sibisi:
The main kube-scheduler is listening on port 10259 and no other service is listening on the port I want to use for my-sheduler I have even tried other different ports.

ferni:
share your my-shceduler.yaml

ferni:
you need to set --secure-port=0

ferni:
and change your liveness/startup checks to be http not https

unnivkn:
Hi @Ishmael Sibisi please try this: https://kodekloud.slack.com/archives/CHMV3P9NV/p1639486700427600?thread_ts=1639394915.381400&amp;cid=CHMV3P9NV

Ishmael Sibisi:
Thanks everyone. I finally got it to work following the solutions from @unnivkn. No the bright side, there is no better way to learn than trying to fix bugs… :sweat_smile:

Margarita Stoilova:
What is the difference between:

  • –port=… and - --secure-port=… ?

unnivkn:
Hi @Margarita Stoilova fyi:

Margarita Stoilova:
Great, Thanks! :slightly_smiling_face: