On Tue, Sep 19, 2017 at 07:57:55AM -0700, paperless wrote:
> 
> 
> 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?

Have you take a look to deployments? Just use that with the docker image from a
docker registry.

Not sure what your volume is. Is this how you want this to run on production?

> 
> 
> 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

I've seen this some time. IIRC you are using quite different kubectl and
kubernetes server versions, or something like that

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-users]... paperless
    • Re: [kubernet... Rodrigo Campos
      • Re: [kube... paperless
        • Re: [... 'Tim Hockin' via Kubernetes user discussion and Q&A
          • R... Shashank Dutt Jha
          • R... Shashank Dutt Jha
            • ... Shashank Dutt Jha
              • ... Shashank Dutt Jha
                • ... 'Tim Hockin' via Kubernetes user discussion and Q&A
                • ... Shashank Dutt Jha
                • ... Shashank Dutt Jha
                • ... Rodrigo Campos

Reply via email to