Most Popular

1500 questions
15
votes
2 answers

What is a good logging practice for distributed tasks?

I have the following setting: Create multiple workers, do a computation and terminate them after the computation is done. So, every-time it’ll be a different instance running the task, so each host will have its own a log file, this will result…
Dawny33
  • 2,816
  • 3
  • 23
  • 62
15
votes
1 answer

How can I pipe jq output

I recently learned about an outstanding little tool, jq that allows you to pipe unformatted JSON output into it and then have that output reformatted and output to the screen in a very nicely formatted color-coded json layout. Eg: echo '{"value":…
James Shewey
  • 3,734
  • 1
  • 15
  • 38
15
votes
3 answers

Simple CI/CD Containers in AWS

I am using AWS Code Pipeline, Code Build to create a new Docker container and push it to ECR. My application is a simple straight-forward single-container based. What would be less friction approach to pull down current running Container and…
Naveen Vijay
  • 259
  • 2
  • 11
15
votes
4 answers

How to performance test AWS Lambda functions?

AWS Lambda cost is dependent on the time a function runs, and to some extent on memory footprint. Having functions that finish faster, and take up less memory can save quite a lot of money. Especially when such a function is executed often. How can…
Evgeny Zislis
  • 8,963
  • 5
  • 38
  • 72
15
votes
2 answers

How to store credentials that are required by an application?

Everyone is saying that storing credentials in version control (git) is a bad thing. So there must be other ways to store credentials which are much better. An application must receive credentials from somewhere to use services it depends on. These…
Evgeny Zislis
  • 8,963
  • 5
  • 38
  • 72
15
votes
5 answers

What's the difference between checkin and checkout?

When teaching SCM classes to students that are new to Software Configuration Management, it happens that a question comes up like "What's the difference between checkin and checkout?". And a variation of it is that such students get confused about…
Pierre.Vriens
  • 7,205
  • 14
  • 37
  • 84
15
votes
1 answer

How to achieve a smooth transition from “the one big VCS repository for all products” organisation model to the “many small VCS repositories” model?

It is a common scenario that the codebase of a product held by a repository in some VCS system evolves to a point where that codebase can arguably be seen as containing several products. Splitting the codebase across several VCS repositories, each…
Michaël Le Barbier
  • 2,620
  • 1
  • 15
  • 26
15
votes
3 answers

Is there any concrete and acceptable solution for running systemd inside the docker container?

I have seen many workarounds for this to run systemd inside docker containers but looks like most of them compromise the security of the container and the host. How are most people here dealing with running systemd specific stuff inside the…
lakshayk
  • 636
  • 1
  • 4
  • 8
15
votes
3 answers

How to use feature flag toggles?

What are the different ways to use feature flag toggles in applications? If you were to explain to a developer the exact things that should be done in order to get from nothing to a full feature-flag-toggled application, what would those steps be?
Evgeny Zislis
  • 8,963
  • 5
  • 38
  • 72
15
votes
3 answers

What are best practices for docker tag versioning?

I've recently hooked our CI servers up to build docker images upon git commit. We have about 8 different containers that get built, each with their own language / frameworks. Some are node and have a package.json, others are python services that…
Jack Murphy
  • 333
  • 2
  • 7
15
votes
4 answers

How to transition from a complex branching reality to a single-branch model?

In large organisations, using the waterfall methodology typically results in very complex branching structures (aka branch spagetti). What branching strategies can be used to transition from a complex branching reality to a single-branch model like…
Dan Cornilescu
  • 6,730
  • 2
  • 19
  • 44
15
votes
6 answers

Is Docker right for my use case?

My company has a system we sell that consists of basically a mini-computer "Smartbox" that is running Ubuntu 12.04. This box runs a Django application plus a number of different upstart processes related to it. Not much else. We have thousands of…
15
votes
2 answers

To design a blue green deploy how to publish websocket traffic from live to hot swap server

A blue green deploy involves pumping live prod data flows (blue) into a hot swap non prod environment (green) in preparation to deploy to live the green environment, such that the green has full data sync with the previous prod blue environment. I…
Scott Stensland
  • 489
  • 3
  • 14
14
votes
2 answers

How can I add an additional IP / hostname to my Kubernetes certificate?

I've recently followed this guide to set up Kubernetes on my local Raspberry Pi cluster. I can access it fine on my LAN; however I'd like to be able to access it remotely as well. I've already set up port forwarding on my router, but when I try to…
soapergem
  • 173
  • 1
  • 2
  • 9
14
votes
2 answers

Combine Docker Swarm and Kubernetes

My company is trying to play a little catch-up in the DevOps space. I have been doing a lot of research on containerization of applications and the orchestration systems that go with it. I came across an article (one that I wish I had saved) where…
EvanM
  • 248
  • 1
  • 6