Running Docker image using kubernetes

94 views
Skip to first unread message

paperless

unread,
Sep 19, 2017, 10:42:20 AM9/19/17
to Kubernetes developer/contributor discussion

I have developed a simple Docker image. This can be run using command

docker run -e VOLUMEDIR=agentsvolume -v /c/Users/abcd/config:/agentsvolume app-agent

Same thing if I want to run using kubernetes, can someone guide me what are the steps to do it? Do I must create Pods/ Controller or service.. am not able to get clear steps to run using Kubernetes?


If I run anything using kuberctl i get following error:


$ kubectl get pods

error: group map[extensions:0xc0823b44d0 policy:0xc0823b4540 federation:0xc08230f9d0 :0xc08230fea0 apps:0xc08230ff10 batch:0xc0823b4310 certificates.k8s.io:0xc0823b4380 componentconfig:0xc0823b43f0 authentication.k8s.io:0xc08230ff80 authorization.k8s.io:0xc0823b40e0 autoscaling:0xc0823b4150 rbac.authorization.k8s.io:0xc0823b45b0 storage.k8s.io:0xc0823b4620] is already registered


Eric Tune

unread,
Sep 19, 2017, 1:26:32 PM9/19/17
to paperless, Kubernetes developer/contributor discussion
Please see the docs on kubernetes.io.  I suggest you start with https://kubernetes.io/docs/tutorials/kubernetes-basics/


--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/da5a3ce5-ecea-43fe-8049-f6b53b07a67f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages