Hi I am trying to get a kubernetes cluster to run an application I have in docker.
I have two ubuntu droplets on digital ocean I am using to do this.
I have the cluster created and I can create the deployment, however the pod keeps restarting and it doesn't give me a hit why. Am trying to find out why this is restarting so i can try to resolve the issue.
To find this out, I am aware you should be able to log a pod, however, when i try to run the log command on it, i get an error:
Error from server: Get https://10.16.0.8:10250/containerLogs/dev/dev-hangfire-deployment-9476b6c9-8wwcs/hangfire: dial tcp 10.16.0.8:10250: connect: no route to host
the command i am running is: kubectl logs dev-hangfire-deployment-9476b6c9-8wwcs
I don't know why this is failing
Does anyone have any suggestions? I am trying to learn kubernetes and work with it, but its really hard to find resolutions to these issues.