Most Popular

1500 questions
5
votes
1 answer

Is the root user in a Docker image/container the same as the root user of the machine?

Is the root user in a Docker image/container the same as the root user of the machine? I am curious about the security implications of using the root user in the Docker image. TMK, the container is run by a non-root user (often the user is called…
Alexander Mills
  • 395
  • 1
  • 3
  • 11
5
votes
2 answers

helm install causes nil pointer

I'm really a beginner with kubernetes and really struggle with this simple tutorial from baeldung.com The only thing I did different (intentionally) was using a google cloud cluster instead of minikube. Basically this is what I did so…
Martin
  • 53
  • 1
  • 1
  • 4
5
votes
2 answers

Downloading multple files from remote using chef resource

I am wondering if there is a resource to download multiple files from remote using chef resource. I want to use: remote_file 'Download remote file' do path /opt/ source http:///xxx mode '0644' action :create end ...for one file. What if I…
pandey
  • 949
  • 2
  • 9
  • 18
5
votes
1 answer

parameter-store values show '***' instead of actual value

I am using CodeBuild to access the Systems Manager Parameter Store. In buildspec.yml, I have the parameter-store configured to access some values in Systems Manager (I certainly have the /mysite/dev/mongodb_uri created in parameter store): version:…
Daniel Viglione
  • 217
  • 3
  • 9
5
votes
3 answers

Jenkins Pipeline downstream job; exit unless it hasn't run in the last x hours

Is there a way in Groovy directly or by integrating Jenkins plugins to have a downstream job complete only if it hasn't been run in the last X hours already? Let's say I have unit tests, when green, kick off a job to create an image. I want to put…
Alex
  • 4,512
  • 6
  • 27
  • 47
5
votes
1 answer

How can I develop and support mainframe software without going broke?

Mainframe (zOS) software is still very much in use right now. Many of the most critical applications of banks, insurance companies, airlines, global companies, etc are running on (good old) mainframes. However, for companies that are in the business…
Pierre.Vriens
  • 7,205
  • 14
  • 37
  • 84
4
votes
2 answers

How to define dynamic parallel stages in a Jenkinsfile?

In declarative pipelines, Jenkins allows the definition of parallel stages. It further allows scripted pipeline general purpose scripts to create and manipulate the artifacts of the declarative pipeline. For example, it can create stages…
Jörn Guy Süß
  • 151
  • 1
  • 1
  • 7
4
votes
1 answer

How to install aws cli on a self-hosted azure DevOps Windows agent?

I have quite some difficulties installing aws cli on a self-hosted Azure DevOps Windows agent as part of a pipeline. Does anyone have a working solution? What I have tried so far: a) install aws cli via pip Firstly, I install Python (tried both;…
hey
  • 141
  • 1
  • 4
4
votes
2 answers

How to get memory usage per process with sar, sysstat?

Can I get memory usage per process with Linux? we monitor our servers with sysstat/sar. But besides seeing that memory went off the roof at some point, we can't pinpoint which process was getting bigger and bigger. is there a way with sar (or other…
kokito
  • 161
  • 1
  • 1
  • 3
4
votes
1 answer

Consul: how to remove dead client nodes quickly

Background: When running Consul client-mode in AWS, EC2s are constantly getting replaced, which results in a lot of dead client nodes when looking at the Consul UI or via consul members. Already tried to enabled reconnect_timeout, leave_on_terminate…
Casper
  • 141
  • 1
  • 4
4
votes
2 answers

feature flags vs versioning for APIs

We are looking at moving to a trunk based development branching strategy rather than gitflow that we currently use. I understand that feature flags are crucial to trunk based development. However, is there still a place for versioning APIs if I am…
VKR
  • 71
  • 3
4
votes
1 answer

Laptop Internet connection monitoring

I have a need to monitor laptops both Linux and Windows that are deployed to remote locations which we don't have physical access to all the time. The laptops are used for different services but need Internet access, what we would like to have is a…
Grimlockz
  • 149
  • 1
4
votes
1 answer

Using requisite injection to order states

Given three states, /root/a, /root/b and /root/c, I want /root/c to execute before /root/b, and /root/b to execute before /root/a. Given a Salt SLS file salt://ordertest/init.sls: /root/a: file.managed: - source: salt://ordertest/a - user:…
Michael Mol
  • 1,045
  • 1
  • 8
  • 19
4
votes
1 answer

Why is developing Ansible Playbooks using Roles a best practice?

It's a best practice to develop Ansible Playbooks with reusable roles. From what I've seen, people end up putting all their roles into a single complex files anyways. So it doesn't really fix the problem there. I've read they can be split into…
4
votes
1 answer

Deploying and testing features on a server by more than one developer

I have 4 environments (prod/preprod/SIT/DEV), also two main branches (Master & Develop), two developers work on features (One & Two). Developer One creates a feature (Feature A), he then merges the feature into the Develop branch. Developer Two also…
Rym
  • 41
  • 1