Most Popular

1500 questions
12
votes
5 answers

How to solve 'upstream connect error or disconnect/reset before headers. reset reason: connection termination' in Istio?

I try to setup an aws load balancer (ELB) with SSL follow the instruction at #6566 Certificate was attached on ELB. However, I got the issue "upstream connect error or disconnect/reset before headers. reset reason: connection termination" when…
pcuong
  • 261
  • 1
  • 2
  • 6
12
votes
2 answers

Separate SQL Server or just separate SQL Database for test and production?

I'm new to SQL Server, so this may be more of a SQL Server management question. I'm creating test and production databases for a service, and I imagine I'll be wiping the test database quite a lot. Additionally, I'm going to want different…
Anonymous1
  • 305
  • 2
  • 7
12
votes
5 answers

Are configuration management tools appropriate to use as deployment tools?

Off the back of my answer to the question: How can DevOps help to improve Software Escrow procedures? Tensibai had the question: What would necessitate Capistrano on top of puppet or chef? My response was to post a link to Noah Gibbs' article "Do…
Richard Slater
  • 11,612
  • 6
  • 41
  • 81
12
votes
2 answers

How to explicitly kill the process with PID 1 from inside a container?

For demonstration purposes, I would like to kill the process with PID 1 from inside a container. But apparently, kill 1 doesn't work: $ sudo docker run -it centos [root@3752d3a44f10 /]# ps PID TTY TIME CMD 1 pts/0 00:00:00 bash …
Sylvain Leroux
  • 1,550
  • 1
  • 13
  • 25
12
votes
2 answers

How to storing encrypted secrets in code for a serverless.com project?

With serverless.com, the easiest way to expose a secret to an AWS Lambda function is to store it in the serverless.yml file (encrypted with KMS, for example). But committing encrypted secrets to Git is not the best thing in the world. Requires code…
Assaf Lavie
  • 1,241
  • 11
  • 17
12
votes
1 answer

How to restrict filesystem access in Atlassian Bamboo builds?

We have Atlassian Bamboo running on Ubuntu. When a developer is setting up a build, then he or she has the possibility to run shell script tasks. This is useful to run (custom) commands on the codebase you are building. However, the scripts that run…
7ochem
  • 974
  • 10
  • 22
12
votes
5 answers

What are reasons for not not using Bitbucket-server for storing artifacts?

I'm working with a company setting up a brand new project, and we're talking about what tools to use for what. I was talking about Artifactory or Nexus for storing built artifacts (APKs in this case), and they asked why they can't just use Bitbucket…
dj_segfault
  • 223
  • 2
  • 7
12
votes
2 answers

Docker tags for multi-stage builds for series of Docker images out of one Dockerfile

Thanks to Docker multi-stage builds, we can compile some artefacts in one environment and put them for execution in other one. As result, there are two images, where the final corresponding to the last stage and provided tag gets tagged as defined;…
Ta Mu
  • 6,772
  • 5
  • 39
  • 82
12
votes
2 answers

Ansible Playbook Localhost Invocation Working Directory

I want to run an ansible playbook locally (host is localhost, like -i "localhost,") and inside the Playbook obtain the working directory from which the ansible-playbook command was invoked. However, when I read out the current working directory in a…
hakre
  • 223
  • 1
  • 3
  • 6
12
votes
2 answers

Load balancing Nexus artifact repository

Load balancing Nexus is currently not supported by Sonatype, except by putting a Nexus instance in front of two with smart-proxying enabled or via a newer feature. Still, I gave it a shot, by sharing the filesystem with GlusterFS for the /storage,…
ᴳᵁᴵᴰᴼ
  • 1,163
  • 10
  • 22
12
votes
2 answers

Which Release Management aspects help explain the difference between Waterfall and Agile?

When explaining DevOps to somebody, it happens that a question comes up like: How does Release Management using the Agile methodology differ from Waterfall? So what kind of criteria can you use to explain these differences to such audience?
Pierre.Vriens
  • 7,205
  • 14
  • 37
  • 84
12
votes
3 answers

How to safeguard Ansible deployment to mitigate accidents?

Recently the Amazon S3 had a major outage in the us-east-1 region. It looks like it was likely caused by a spelling error when running a maintenance playbook in Ansible or a similar tool. You can put a shell script wrapper around ansible-playbook to…
Jiri Klouda
  • 5,807
  • 1
  • 21
  • 53
12
votes
2 answers

How to send notification only in case of job output being non-empty

We are using rundeck to scan logfiles for a service, and take action depending on what is found there. Basically, for each item found, for which a records does not exists, a git repository is initialized and a few rest endpoints are called, but…
ᴳᵁᴵᴰᴼ
  • 1,163
  • 10
  • 22
12
votes
6 answers

Adam Smith vs. fullstack developers - and productivity in DevOps?

By Adam Smith, labour division can make you by 240 times more effective (on example of a pin factory producing pins in 18 steps). Why then are multi-skilled roles are so in demand if this actually reduces productivity - or was Smith just wrong, why…
Ta Mu
  • 6,772
  • 5
  • 39
  • 82
12
votes
4 answers

Jenkins installed on aws unable to launch on browser

I have a fresh aws instance with Ubuntu 14 installed. I am trying to install and run jenkins on it. I did the following steps. Installed java8 wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb…
user28157