Most Popular
1500 questions
12
votes
1 answer
How to deterministic and reproducibly assign increasing port numbers in Ansible?
I am new to Ansible, but I have to maintain a set of playbooks, which correspond to services to be setup in a given environment. They need to be assigned a port, certificates, etc. This results in many files with lists of essentially always the same…
midor
- 221
- 2
- 8
12
votes
2 answers
How to implement the immutable server pattern without loosing the ability to do post-mortems?
The immutable server pattern is a deployment discipline favouring the reproducibility of deployments. It is characterised by the fact that “a server that once deployed, is never modified, merely replaced with a new updated instance” and…
Michaël Le Barbier
- 2,620
- 1
- 15
- 26
12
votes
1 answer
What is recommended to document an IT technology stack, including their relationship to one another, in a graph database?
Working for a large company with over 500 IT staff and over a 1,000 servers, with each server running its own business applications, we have a tremendous information and co-ordination challenge in knowing which IT staff member to contact for which…
Grant Durr
- 156
- 6
12
votes
1 answer
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
When I run commands under k3s kubectl, I get
$ k3s kubectl version
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file…
Evan Carroll
- 2,091
- 3
- 22
- 65
12
votes
2 answers
How to configure Docker tooling on Eclipse?
The Eclipse plugin "Docker tooling" seems to expect the installation of Docker Machine, or a network connection.
But, on Windows 10 things seem different from what this plugin expects so I can't browse for the required executables.
Also, how could I…
Ta Mu
- 6,772
- 5
- 39
- 82
12
votes
2 answers
Is it possible to build docker images using docker-compose concurrently?
When one runs docker-compose up --build then the docker images are created sequential. Is it possible to build these images concurrently using docker-compose?
There are multiple issues including this, but it is unclear whether it is possible or not.
030
- 13,235
- 16
- 74
- 173
12
votes
7 answers
How Do I Log Task Output To A File?
One of my ansible tasks imports an Oracle database using impdp.
This generates a lot of output to the console so I have set no_log: True.
However, when this fails I want to see the log!
How can I make this particular task log to a file and not to…
opticyclic
- 491
- 2
- 4
- 12
12
votes
2 answers
What is the purpose of running PHP-FPM in its own container instead in the same container as apache2/nginx?
I'm fairly new to Docker so excuse any obvious ignorance or misunderstandings. That said, I've been coding and configuring web applications for a long time now. I have recently been dabbling with some more sophisticated (Docker and "traditional")…
K8sN0v1c3
- 195
- 1
- 9
12
votes
1 answer
Reconciling Continuous Deployment with strict change management policies
I'm curious how others architect their DevOps practices in a strict change management environment, such as with a Change advisory board (CAB) approval process.
I understand that automation can improve your audit process by guaranteeing a more…
Erik Funkenbusch
- 241
- 3
- 8
12
votes
1 answer
Pass string to Jenkins job from Slack
In an ideal world our less tech-knowledgeable employees could just use a Slack command to run a job and get the results slacked back to them, negating the use of the Jenkins GUI. I found Start a build in Jenkins using a Slack Command on GitHub, but…
Alex
- 4,512
- 6
- 27
- 47
11
votes
1 answer
Best practice when automating Drupal (or other soft) installation regarding database settings
Suppose I have Drupal and CiviCRM installations to automate.
These, however, need particular configs for working together (some file edits and database configs)
Should I make a fixed version install (eg. Drupal 4.7.5 + CiviCRM 4.5.6), install them…
JorgeeFG
- 253
- 1
- 6
11
votes
1 answer
How do I configure Travis CI build testing for a Java Eclipse project?
I have an Eclipse Java project on GitHub. I would like to set up auto-build testing with Travis CI. However, when I enable build testing for my project, compilation always fails with the following error.
Buildfile: build.xml does not exist!
Build…
Stevoisiak
- 1,297
- 1
- 8
- 16
11
votes
3 answers
Rename build pipeline .yml files in Azure DevOps
I have a .NET Core application that has three build pipelines. (Windows, Linux, macOS)
In each of them, the application gets assembled a little different. This part works so far.
Azure created for each pipeline a .yml file in the root folder of the…
Ned Flanders
- 325
- 1
- 2
- 13
11
votes
2 answers
How to calculate disk space required by Prometheus v2.2?
We are trying to calculate the storage requirements but is unable to find the values needed to do the calculation for our version of Prometheus (v2.2).
Prometheus(v2.2) storage documentation gives this simple formula:
needed_disk_space =…
MCoetzee
- 113
- 1
- 1
- 7
11
votes
2 answers
Is it possible to pass environment variables to multibranch pipeline job in a time of generating it via DSL?
I want to pass some environment variables in the time of generating the multibranch pipelines, so upon the build start, it will already have these variables.
The only thing I found was this envInject plugin which is not supported by multibranch DSL…
mate200
- 111
- 1
- 4