Most Popular

1500 questions
17
votes
1 answer

How to measure human utilisation?

In The Phoenix Project the single graph in the entire book shows that as a person's workload increases into the high 90%s the wait time on them increases exponentially. In fact in the book it claims that: Wait Time = (Percentage Busy/Percentage…
Liath
  • 547
  • 3
  • 11
17
votes
2 answers

How to deal with docker compose's naming convention of named volumes?

When defining named volumes in docker-compose.yml, their names are prepended with their parent folder name. This causes a problem when scripts outside of docker compose have to interact with them. The question is, what is the best way to deal with…
Moritz
  • 1,227
  • 2
  • 11
  • 24
17
votes
1 answer

A systematic way to test RESTful APIs with curl?

I have noticed during integration testing that I actually work on recurring use cases with restful APIs (or in general HTTP interfaces) I check here and there with bash+cURL. It starts looking quite messy and gets harder to maintain. Why deliver…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
17
votes
5 answers

Terraform: Is there a concise syntax for specifying multiple tags for a resource?

To attach multiple tags to a resource, I currently use multiple tag blocks: resource "aws_autoscaling_group" "instance" { ... tag { key = "Name" value = "${var.cluster_prefix}" propagate_at_launch =…
Philipp Claßen
  • 1,675
  • 3
  • 18
  • 30
17
votes
2 answers

How to order physical backup of S3 data?

I'd like to order backup of data to be copied out from S3 to a physical drive (SATA HD) and to be shipped to the address. I know it's possible using Amazon Glacier, however I cannot find such option anywhere. What would be the easiest way to do…
kenorb
  • 8,011
  • 14
  • 43
  • 80
17
votes
4 answers

Jenkins: Permission issue using Docker as build environment

I installed Jenkins on an Ubuntu 16.04 machine. The Jenkins itself is not run in a container. What I want to do is simply call yarn install using a node image. So here is my Jenkinsfile: pipeline { agent any stages { stage('install…
Michael
  • 271
  • 1
  • 2
  • 5
17
votes
2 answers

Terraform apply output only

I'm trying to apply only the output variable definition. Here is the "output" I want to apply. output "environment_information" { value = { foo = "value1" bar = "value2" } } Altough I added the "bar" as a new variable, I cannot…
Turkdogan Tasdelen
  • 273
  • 1
  • 2
  • 4
17
votes
4 answers

How do I configure SSH keys in a Vagrant multi-machine setup?

I have 4 VMs in my Vagrantfile - 3 application servers and an Ansible control host. I only use Vagrant to create the VMs as I provision them manually from the ansible control host because I am still creating/editing the ansible scripts. I can do…
opticyclic
  • 489
  • 2
  • 4
  • 12
16
votes
1 answer

What is the difference between php-cli and php-fpm, why 2 php variants and why choose one or the other?

Looking at https://hub.docker.com/_/php I can see reference to php-cli and php-fpm. Now, I am aware of the concepts of PHP FPM - Fast CGI Process Manager. I'm also aware the PHP can be run in the command line and for php composer and Symfony…
therobyouknow
  • 355
  • 1
  • 3
  • 11
16
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
  • 201
  • 1
  • 2
  • 10
16
votes
3 answers

How to check AWS spot pricing automatically?

I've been thinking about a Jenkins job to check the pricing for the agent boxes we spin up; every so often the price spikes and it'll be an hour or two before anyone notices that no new agents are coming up, and then we have to go in manually and…
Alex
  • 4,612
  • 6
  • 29
  • 49
16
votes
3 answers

How to avoid "retry storms" in distributed services?

A "retry storm" is caused when clients are configured to retry a set number of times before giving up, a retry policy is necessary because of packets loss will occur in normal operation of a service. Take this example: If for example the services…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
16
votes
5 answers

Is scrum or kanban really useful for SRE teams?

Agile practices like scrum and kanban were primarily designed for software development. Interrupt and unplanned work is a significant component of what most SRE (Site Reliability Engineering) or DevOps teams do. While it is always useful to use a…
codeforester
  • 391
  • 1
  • 5
  • 29
16
votes
3 answers

One Jenkinsfile or multiple?

So I have a Jenkinsfile defining a build pipeline and then a Jenkins job (not pipeline) with a very simple deployment script for our Docker stacks. Seeing that Jenkinsfiles can become as complex and powerful as one's coding skills are (seeing that…
Worp
  • 689
  • 4
  • 11
  • 19
16
votes
1 answer

Dockerized Flask: Connection reset by peer

Trying to connect to a dockerized Flask app fails with error 104, 'Connection reset by peer' using this minimal example: app.py: from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ ==…
mcnesium
  • 375
  • 1
  • 2
  • 7