Reputation: 31
I created the kops cluster with 1 master node & 2 worker nodes. Also I created the pod & it's running successfully. But how do I deploy this pod in the kops cluster nodes? Please help.
--EDIT-- The "kops get cluster" command returns that, the cluster is on. And the "kubectl get pod" returns that the pod is created and the status is "Running".
I tried creating the cluster with the --image tag. But since its a private repository, it caused error. If that's the way, can you please suggest a way to create the cluster with private repository image.
Upvotes: 1
Views: 172
Reputation: 8830
how do I deploy this pod in the kops cluster nodes?
When you deployed your pod it was deployed on 1 of the worker nodes, you can check which one with
kubectl get pods -o wide
Worth to take a look at kubernetes documentation about Viewing Pods and Nodes
If that's the way, can you please suggest a way to create the cluster with private repository image.
About private repository take a look at this kubernetes documentation
I would recommend to use docker registry, if you know helm there is a helm chart for it.
Upvotes: 1