Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

250
Visualizações
Development workflow on Minikube and docker

I am trying to understand how development is done efficiently with dockerized applications, specifically on Kubernetes. I am struggling to find the proper way to go about live editing containers.

In the past with Docker, I would just use something like Nodemon to watch for files to change locally and then when I had the app finished, I would dockerize it and deploy. With Kubernetes (minikube) my first impression is that I'm supposed to rebuild the container with each edit. Surely this cannot be the way people develop on here - what am I missing? Am I supposed to edit locally and then dockerize->k8s deploy? That doesnt seem right.

I am looking for a way to sync all my local changes to a docker container which then reboots the kubernetes pod with the new changes, so I can read from the logs during development. If this is odd, please recommend me a superior way.

Thanks

about 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

Kubernetes is a container orchestration tool. It's not a development platform. It's designed to ease the deployment of hundreds of containers, and deal with lifecycle/networking/storage issues.

If you're developing your application, you really don't need kubernetes/minikube at the moment. My suggested workflow would be:

  • Develop your application in a local docker container. Iterate as you go until you're happy.
  • Create a snapshot release, tag the docker image and push it to a repo
  • Then deploy it.
  • When you need to update, apply a new tag.

The benefit of using Docker is that it will deploy exactly the same on your local laptop, as well as to a production k8s cluster, so once you've arrived at the stage where you're ready to tag/push images, you can be assured the deployment process will be exactly the same.

Minikube isn't for local development, it's for people to test out kubernetes locally, and possibly develop kubernetes itself, it's not designed as a vagrant alternative.

about 4 years ago · Santiago Trujillo Relatório

0

Kubernetes is a runtime system for containers designed to support immutable deployment patterns. Containers are not patched in place, instead they are rebuilt and redeployed. To support this you need features that implement an ALM (Application Lifecycle Management) workflow with Kubenetes as it's target.

Take a look at the following products that add container build workflows on top of Kubernetes:

  • Deis
  • Openshift

If you're a Java developer the following project can deploy a Jenkins based CD/CD pipeline for your code:

  • Fabric8

The Netflix project Spinnaker now supports Kubernetes as a deploy target for managed applications.

  • Spinnaker

With the exception of Openshift (See minishift) the above projects can be deployed as applications on top of minikube. Have fun!

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda