Questions tagged [rolling-updates]

22 questions
4
votes
3 answers

docker service with compose file single node and local image

So I need rolling-updates with docker on my single node server. Until now, I was using docker-compose but unfortunately, I can't achieve what I need with it. Reading the web, docker-swarm seems to be the way to go. I have found how to run an app…
Augustin Riedinger
  • 20,909
  • 29
  • 133
  • 206
2
votes
1 answer

How to handle db data stored according to previous application version during rolling update

Let's say I have an system running on Kubernetes using rolling updates or AWS ECS using blue/green deployments or any other solution which offers zero-downtime deployments. The key point here is that new and existing version can coexist and they use…
2
votes
1 answer

How to wait X second to finish rolling update in k8s?

I am using k8s to deploy my docker apps. Once app is stated it took 20-30s to be ready, app is huge it took some time while booting. Boot average time is 20-30s. I would like to wait for 60s during the rolling update. Because for now, old pod is…
nirebam368
  • 245
  • 4
  • 11
1
vote
2 answers

Whole Application level rolling update

My kubernetes application is made of several flavors of nodes, a couple of “schedulers” which send tasks to quite a few more “worker” nodes. In order for this app to work correctly all the nodes must be of exactly the same code version. The…
shoosh
  • 76,898
  • 55
  • 205
  • 325
1
vote
1 answer

How to review logs of a deleted pod?

As part of rolling updates version 1 pod is rolled up with version 2 pod. We need to review the logs of shutdown process of service in the pod (version one). Does rolling update delete the version one pod? If yes, can we review the logs of…
overexchange
  • 15,768
  • 30
  • 152
  • 347
1
vote
1 answer

Kubernetes update deployment selectively in rolling updates

I am trying to understand whether Kubernetes redeploys in case of rolling updates if we have same version of docker images. Suppose in a deployment we have 5 images (applications) and if I want to update only say 1 application and update only that…
Subhomoy Sikdar
  • 526
  • 5
  • 19
1
vote
0 answers

How to specify RollingUpdate settings for Celery Beat on Kubernetes

We have Celery Beat set up using the following deployment.yaml: apiVersion: apps/v1 kind: Deployment metadata: name: celery-beat labels: deployment: celery-beat spec: replicas: 1 minReadySeconds: 120 selector: matchLabels: …
MDalt
  • 1,681
  • 2
  • 24
  • 46
1
vote
1 answer

Is there a way to let LB route traffic to host once it become healthy?

I have two ec2 instances behind an application load balancer, I'm trying to update application on host by host (Rolling update). To do that i follow those steps : 1. stop nginx sevice 2. update application 3. start nginx service by stopping nginx…
1
vote
1 answer

Rolling update strategy not giving zero downtime in live traffic

I'm using rolling update strategy for deployment using these two commands: kubectl patch deployment.apps/ -n -p '{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}' kubectl apply -f…
0
votes
2 answers

Kubernetes rolling update delete old pod before starting a new one

I've a deployment whose app makes a lock on a file, and crash if there's any existing lock. How can I ask Kubernetes to remove the old pod before spinning up the new one ? I know you usually want the opposite, spinning up the new, and only when it's…
Rémy
  • 364
  • 1
  • 14
0
votes
0 answers

Kubernetes rolling update before memory limit to avoid kill

I have services that has a "controllable" memory leak (a dict that fills up and is not really deleteable). I'd like to make a system where at some point (before Kube's TERM for memory usage), the service sends a signal to Kube to do a rolling update…
Jack
  • 802
  • 6
  • 12
0
votes
0 answers

Serving 100% running traffic while upgrading an app on Kubernetes?

There is a spring boot application deployed on Kubernetes using Helm which serves approximate 6K TPS traffic. App uses RollingUpdate strategy with 6 replicas and the maxUnavailable and maxSurge is set to 25%. When we upgrade the application version…
Nish
  • 922
  • 13
  • 31
0
votes
0 answers

Docker swarm stack service replicas zero down time

i have been trying to fine tune the docker compose settings but i am not satisfied with the result and the docs are so unspecific for the healthcheck and update_config options. The scenario are react apps which need to run build and start during…
setcookie
  • 579
  • 1
  • 6
  • 12
0
votes
1 answer

Kubernetes rolling update image and its database

I'm trying to create my own deployment on a Kubernetes cluster based on a CMS (Prestashop). And I imagine that I will have to update the image regularly. The CMS comes with 2 ways of update : via there module (1 click upgrade) : this method is not…
0
votes
1 answer

forcing the stop before the start of the containers during rolling update on aws ecs

is there a way to port the following docker compose configuration from ecs console? deploy: update_config: parallelism: 2 delay: 10s order: stop-first i'm interested in forcing the order option, one of the container in the ecs task…
fusillator
  • 47
  • 6
1
2