Most Popular
1500 questions
54
votes
5 answers
How is Ansible different from simply running a provisioning bash shell in Vagrant?
A team of IT sysadmins that have exprience using shell scripting to solve their problems, are contemplating to start using Ansible instead.
Are there substantial differences and good reasons to start using Ansible vs. to continue writing shell…
Evgeny Zislis
- 8,963
- 5
- 38
- 72
53
votes
3 answers
How do you calculate the compound Service Level Agreement (SLA) for cloud services?
Cloud services hosted by Amazon Web Services, Azure, Google and most others publish the Service Level Agreement, or SLA, for the individual services they provide. Architects, Platform Engineers and Developers are then responsible for putting these…
Richard Slater
- 11,612
- 6
- 41
- 81
53
votes
6 answers
What does "Does not have minimum availability" in k8s mean?
What does "Does not have minimum availability" mean?
A GitHub discussion was found, but it is not clear to me what the error message means.
030
- 13,235
- 16
- 74
- 173
52
votes
3 answers
What are the reasons Docker should not be used for databases?
I'm having a discussion with a friend about use cases for Docker. One guy in the team wants to use Docker for everything - like a kind of universal unix process wrapper. The other thinks that Docker should only be used for stateless applications…
hawkeye
- 1,143
- 1
- 9
- 14
51
votes
6 answers
How to test a Terraform Configuration?
If you had a Terraform configuration that had a moderate degree of complexity, how would you write tests around the configuration that could be executed as part of a Continuous Integration / Continuous Delivery pipeline?
As an example, you may have…
Richard Slater
- 11,612
- 6
- 41
- 81
50
votes
5 answers
What is Serverless?
All the cloud providers are marketing their "serverless" solutions. The promise is that serverless is going to replace the way developers are currently develop their software, and operations manage it in production.
What is "serverless"?
Where can…
Evgeny Zislis
- 8,963
- 5
- 38
- 72
50
votes
2 answers
Passing secrets to a Docker container
I have a base docker image which is used to run image analysis software. For each container created from the image, there are a set of configuration settings, some of which are secrets (encryption keys, customer information, etc.), that are used by…
Preston Martin
- 3,278
- 4
- 17
- 39
48
votes
7 answers
What are best and comprehensive practices to consider when running docker in production?
Finally, you are so much in love with Docker that you want to move your online business-critical production systems with sensitive customer data to a Docker Swarm. Some might even already have done so. The other organization can't afford it by a…
Ta Mu
- 6,772
- 5
- 39
- 82
44
votes
7 answers
What's the difference between DevOps and Automation?
I see that whenever someone does DevOps, it's mostly about automating things like deployment etc.
But where does automation end and DevOps begin?
pinkpanther
- 559
- 5
- 10
43
votes
3 answers
Why is one not allowed to use a Boolean in a docker-compose.yml?
Defining a boolean in a docker-compose.yml file:
environment:
SOME_VAR: true
and running docker up results in:
contains true, which is an invalid type, it should be a string, number, or a null
Attempts to solve the issue
If true is changed to…
030
- 13,235
- 16
- 74
- 173
40
votes
7 answers
How to safe restart Jenkins?
I need to make some configuration changes on our Jenkins instance that will involve restarting Jenkins a couple of times. However, our developers are committing frequently enough that I haven't seen Jenkins without jobs running in three days.
Is…
Alex
- 4,512
- 6
- 27
- 47
38
votes
2 answers
What is an artifact repository?
What is an artifact repository? If it's just a place to store files, can't I just use a source control system?
Dave Swersky
- 4,068
- 2
- 20
- 33
37
votes
6 answers
How to test provisioning and configuration in Ansible setup?
Looking at trying to build some resilience into our Ansible setup which deals with provisioning and configuration.
I understand a few methods of testing on the configuration side of things but I'm wondering how best to implement testing on the…
Naphta
- 627
- 6
- 9
37
votes
4 answers
What is the purpose of AssumeRolePolicyDocument in IAM?
I'm confused as to what the purpose of AssumeRolePolicyDocument is.
It seems like to create a role all you need is a parent name that you can attach policies to.
It seems like AssumeRolePolicyDocument is that parent name but somehow there's more to…
Dr. Chocolate
- 605
- 1
- 6
- 9
37
votes
5 answers
docker-compose invalid type, it should be a string
I have the following environment variable configured in a docker-compose.yml file:
version: '3'
services:
server:
ports:
- 13045:3000
environment:
- NODE_CONFIG: '{"DATABASE_URL":"http://db:5984"}'
When trying to run…
Tri Nguyen
- 471
- 1
- 4
- 5