node-docker-good-defaults icon indicating copy to clipboard operation
node-docker-good-defaults copied to clipboard

Kubernetes support?

Open nnewc opened this issue 4 years ago • 1 comments

I don't see kubernetes support in this repo. Just docker-compose/docker swarm. If this is desired I would be happy to work on PR, otherwise I will just fork for my own uses. My goal is just to create a skeleton repo that people can get off the ground quickly, and this repo is an excellent foundation! Obviously there are many production aspects that would need to be customized to the user's specific use case, but it may be useful for someone learning how everything fits together. I would consider myself only a novice kubernetes user so I would enjoy the exercise.

nnewc avatar Jan 30 '21 03:01 nnewc

Sure, you can add relevant Kubernetes manifests in a new kubernetes-manifest subdirectory. Be sure to include all the things we have in the docker-stack file, and make each resource a separate .yaml file named by the resource type. So the structure might look like:

kubernetes-manifest\
namespace.yaml
  node\
    deployment.yaml
    service.yaml
  mongo\
    deployment.yaml
    service.yaml
    secret.yaml

BretFisher avatar Feb 04 '21 22:02 BretFisher