Most Popular

1500 questions
23
votes
1 answer

Git clean/smudge filters for ansible vault secrets

I am trying to setup clean/smudge filter in git to have automatic encrypting and decrypting of files containing secrets thru ansible-vault command. Peculiarity of the ansible-vault command is that it is not idempotent (it creates a different binary…
ᴳᵁᴵᴰᴼ
  • 1,163
  • 10
  • 22
22
votes
6 answers

How do I hire a good DevOps, fitting my company?

Good developers should fit rule 11 of the Joel Test: Do new candidates write code during their interview? However, I know little to nothing about Docker containers, how to configure Jenkins or AWS, etc. What would be a good way to test if the…
Thomas
  • 323
  • 1
  • 6
22
votes
5 answers

How to persuade developers to start using feature flag toggles?

Assuming that feature flag toggles are a good idea, and should be implemented into code that developers write. For example Etsy swear by them as a major part of their culture. What is a good way to persuade (and enforce) developers to start using…
Evgeny Zislis
  • 8,963
  • 5
  • 38
  • 72
22
votes
3 answers

Execute multiple Ansible tasks with the same list of items

I am using an ansible playbook to configure Apache for a list of sites. The playbook has to copy the virtual host configuration template for each site into place, and then enable each site using a2ensite: - name: Install apache site conf …
Stephen Ostermiller
  • 391
  • 1
  • 3
  • 11
22
votes
2 answers

What is Value Stream Mapping?

I have heard a lot about Value Stream Mapping and how it can be used to analyse the value stream of manufacturing processes including the process of delivering software. I have never seen it successfully delivered in the context of software…
Richard Slater
  • 11,612
  • 6
  • 41
  • 81
21
votes
6 answers

What practices or tools enable Continuous Deployment of Databases?

Continuous Delivery or Continuous Deployment of infrastructure and code is comparatively simple compared to trying the same approaches for databases, specifically RDBMSs. Code and infrastructure will not change or evolve once deployment has…
Richard Slater
  • 11,612
  • 6
  • 41
  • 81
21
votes
5 answers

Copy multiple files using * wildcard from kubernetes container

I have several files named out1, out2, ... in my Kubernetes container. I want to copy them to my local computer. I am using: $ kubectl cp pod:/path/out* . But I am getting an error: tar: Removing leading `/' from member names tar:…
user674669
  • 315
  • 1
  • 2
  • 6
21
votes
3 answers

Is it possible to have multiple gitlab-ci files in a single repo?

I have a single repo handling integration tests for 4 different software projects. As those projects share common resources, I'd like to create a generic file in which all those common features are set properly for preparing the CI/CD job. The…
avazula
  • 939
  • 2
  • 7
  • 15
21
votes
1 answer

What functional differences are there between kubernetes, rancher and mesos?

What are the main feature differences the popular container orchestration tools kubernetes, rancher, and mesos? What would lead you to choose one over the other?
tayworm
  • 660
  • 3
  • 8
21
votes
3 answers

What are the limitations of Puppet in comparison to Ansible?

I would like to understand the differences between Puppet and Ansible, especially what kind of Puppet limitations has in comparison to Ansible. Are there any things you cannot do it in Puppet, but you can in Ansible? In other words, why some people…
kenorb
  • 7,841
  • 12
  • 40
  • 77
21
votes
6 answers

View all AWS S3 buckets and list each buckets storage used

I have multiple AWS accounts and I need to list all S3 buckets per account and then view each buckets total size. Currently, I can only view the storage size of a single S3 bucket with: aws s3 ls s3://mybucket --recursive --human-readable…
Kyle Steenkamp
  • 1,152
  • 1
  • 9
  • 17
20
votes
2 answers

Where should I put my application configuration?

I've been reading lately a debate about "Where should properties that depend on the environment be stored?". The classical way is to have multiple property files, one by environment, and based on an environment variable (DEV, PROD...), you choose…
carcaret
  • 301
  • 2
  • 3
20
votes
2 answers

What is Ansible's config equivalent of `--vault-password-file`?

According the help of ansible-playbook one could use --user=REMOTE_USER to define the ssh user, but one could also define ansible_ssh_user: REMOTE_USER in either the host- or group_vars. Question What variable need to be defined in either the group-…
030
  • 13,235
  • 16
  • 74
  • 173
20
votes
1 answer

How do I use docker command's "--format" option?

I can't seem to find any good documentation on how to use the docker command's "--format" option in real life. I know how to use Go templates. But specific to docker, how do I know what placeholders are available to use? I tried docker inspect on a…
Todd Walton
  • 374
  • 1
  • 3
  • 12
20
votes
4 answers

What processes or tools enable Segregation of Duties when engineers both deploy and run code?

In highly regulated environments, such as the Financial Services sector, Segregation of Duties is an essential mechanism for avoiding collision amongst individuals with development responsibilities and production privileges. Traditionally this has…
Richard Slater
  • 11,612
  • 6
  • 41
  • 81