2022 Developer Survey is open! Take survey.

Questions tagged [configuration]

Use this tag for DevOps related questions about configuration, which is used to specify the desired settings of a system or application.

Filter by
Sorted by
Tagged with
0 votes
2 answers
31 views

In Ubuntu, how do I change the home path of Jenkins using the CLI?

In the Jenkins web interface, under Home directory (Dashboard -> Mange Jenkins -> Configure System), the help section says the following: "By default, Jenkins stores all of its data in ...
user avatar
0 votes
0 answers
6 views

Deploy Configuration File to Specific Path from Deployment in Kubernetes

I am trying to deploy a configuration file to a specific path in my service. I'd like to deploy this as part of a deployment or as a config map as possible. Has anyone done this before? The service I ...
user avatar
0 votes
0 answers
16 views

Best Practice for Managing Ephemeral Storage on Bare Metal Kubernetes Instance?

Host OS: Ubuntu 20.04 Kubernetes: 1.23 RAM: 64g HDD: 3.7Tb Containers are failing and rescheduling due to low ephemeral storage. Ex. The node was low on resource: ephemeral-storage. Container <...
user avatar
0 votes
0 answers
8 views

What stack should I use for an MVP App platform?

A little background to show from where it comes the question. I'm a developer with a little devops knowledge. So I'm struggling in finding the right tools to start "my own platform". So I ...
user avatar
0 votes
0 answers
68 views

Gitlab Parent-Child pipeline: using branches in the parent pipeline repository for new feature implementations

Environment: Parent-child pipeline branch off of main. Branch: testBranch Expected functioning config name: .scan.yml:refs/testBranch@url/scanPipeline Working config name (this uses the default master/...
user avatar
  • 101
1 vote
1 answer
82 views

windows docker location of file env.conf

I found that on linux you can configure some settings inside file: /etc/systemd/system/docker.service.d/env.conf . I am wondering where I can find it in windows wsl?- purpose is to set those two ...
user avatar
2 votes
1 answer
64 views

How to automate initial server configuration?

I’m trying to add new nodes (Linux servers) to my cluster but I have to first configure my nodes properly, i.e. setting up the firewall, closing ports, disabling password login, setting up git, etc… ...
user avatar
1 vote
0 answers
138 views

Modifying Microk8s System Manifests

To start, I am new to Kubernetes, so please feel free to point out and correct any terminology I get wrong. In a nutshell, I want to be able to run microk8s enable ingress with custom configuration ...
user avatar
  • 61
0 votes
1 answer
31 views

is a secrets-provider-container a good idea?

I am looking for a way to provide secrets to a container running on Google Cloud Run responding to the following criteria: secure centralized & pulled based free simple working with a team, with ...
user avatar
0 votes
1 answer
47 views

How to pick a right hardware configuration setup(server) for MERN stack

I'm learning programming(MERN stack) and along with that basic DevOps(linux, containers etc). I've read a lot about software configuration setups(with NGINX, and without, etc), but can't find anywhere ...
user avatar
  • 1
0 votes
2 answers
53 views

One Repository for Kubernetes configuration or one configuration per application repository

We are currently migrating our Services to a Kubernetes environment. My question is if the configuration yaml file for each application should be in the repository where the application source itself ...
user avatar
  • 101
0 votes
1 answer
61 views

why is "docker run" used to connect to redis?

Trying to understand what's happening here: root@mordor:~# root@mordor:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
user avatar
3 votes
2 answers
253 views

Can we use Ansible for monitoring configuration?

I understand how Ansible works and what it is used for. However, I was wondering if there is a way or feature (in open-source or enterprise edition) in Ansible using which, we can make sure that the ...
user avatar
1 vote
1 answer
2k views

How to pass parameters to a container orchestrated by Kubernetes similar to running the container at the command line using the docker run command?

Background I have a docker container that I run in the following fashion: docker run --rm my-custom-container:latest --username me --password yes --url "https://my.url" The container does what ...
user avatar
1 vote
1 answer
769 views

What is Unit testing in the context of YML configuration Alerting rules?

I read a very short blog posting about Unit testing alerts with Prometheus Can you explain me why I need unit testing for *.yml? What is the benefit of unit testing for configuration files? I not ...
user avatar
  • 452
0 votes
2 answers
4k views

No Kubernetes Option in Docker Desktop for Windows

Just getting started on Docker and after installing Docker Desktop on a Windows 10 Pro machine, the option to enable Kubernetes is missing from the context menu when using Windows containers. See the ...
user avatar
  • 3
-1 votes
1 answer
55 views

Last Question on CI-CD edx.org Final Exam [closed]

The problem: An organization is developing a solution that contains a web application project class library projectS You manage a continuous integration pipeline for the application. Each time ...
user avatar
1 vote
1 answer
5k views

Error passing arguments to ansible playbook

I am trying to create a playboook that executes a python3 script with 2 parameters, name and password in localhost. However, when i try to execute the paybook with this command ansible -b --become-...
user avatar
  • 113
-2 votes
1 answer
79 views

Build one time, deploy multiple times. How does this apply to configuration?

I've heard about deployment pattern which sounds like "build one time, deploy multiple times". If I manage the configuration via e.g. ansible templates or chef or any other CM tools, I don't have any ...
user avatar
  • 151
2 votes
2 answers
19k views

Unable to parse YAML: mapping values are not allowed here

Good morning. I'm migrating from Gitlab to CircleCI and try to map out a simple pipeline ("workflow") that basically should look like this: [build] -> [tests] -> [release*] * only on tags I ...
user avatar
  • 123
2 votes
2 answers
70 views

What are sources for configuration management best practices?

I'm struggling with design for configuration management for a complex on-premise enterprise application with lots of moving parts. While it's fun and joy to go through this, there are lots of ...
user avatar
  • 151
0 votes
2 answers
859 views

How to get list of env variables from the root folder to jenkins job?

Using configure option, when we check the environment variables, we get only the variables which are available with in the folder or job. But, I want to get complete list of env variable from the ...
user avatar
0 votes
2 answers
172 views

How to make one branch public while the others remain private on GitLab?

I am currently working on a LaTeX template. I chose gitlab to host the template. Now I want to give some colleagues access to my template, but only to the master branch. I use the other branches to ...
user avatar
1 vote
1 answer
331 views

Dynamically change config files in c# Application based on environments(dev,QA,Prod) through Bamboo

I have a windows service written in .net c#. We have three different environments say dev, test and prod. I also have 3 different config files for 3 environments say devAppConfig , TestAppConfig and ...
user avatar
3 votes
1 answer
233 views

Where are dunder dictionaries stored in salt?

I am new to Salt-Stack wanted to know where are all the dunder dictionaries stored(Ex:salt,opts,grains,beacons etc). Thanks in Advance :)
user avatar
3 votes
1 answer
1k views

What are Pros and Cons of various VCS and CI/CD tools to store, change and deploy configuration snippets of more than 1000 customers in a VCS?

Follow-up to this question. We are in the middle of a transition to Configuration as Code (CaC). At the moment a lot of sites are configured manually. A side effect of this is that so now and then ...
user avatar
  • 12.5k
4 votes
1 answer
479 views

Why Run Concourse CI in Kubernetes

I've just started exploring Kubernetes and Concourse CI. Learning still, so I'm still understanding all the concepts. Forgive me if this question sounds naive. Why would we deploy Concourse CI in ...
user avatar
4 votes
1 answer
79 views

How can I build & maintain a personal, cross-platform 'toolkit' of commonly used applications?

I've discovered a number of open source tools over the years which have become an essential part of my personal workflow & productivity in my current day job (project manager / business analyst). ...
user avatar
  • 41
5 votes
1 answer
2k views

Ensure a line is uncommented in an XML file using ansible

How can I use ansible to ensure that a line is uncommented in an XML file? In /etc/tomcat8/context.xml I want to ensure that the section: <!-- Uncomment this to disable session persistence ...
user avatar
1 vote
0 answers
805 views

Where is the modules folder under filebeat to configure as a slave? [closed]

I have installed ElasticSearch, LogStash and Kibana on my master server following the articles: https://www.howtoforge.com/tutorial/how-to-install-elastic-stack-on-centos-7/ https://www.digitalocean....
user avatar
2 votes
1 answer
147 views

String to specify to KUBE_SERVICE_ADDRESSES (API Server configuration)

What are the strings to set to KUBE_SERVICE_ADDRESSES and their meanings? Which documentation or GitHub repo to look into to understand? Background: I have seen a few strings but not sure what these ...
user avatar
  • 363
4 votes
1 answer
1k views

Kubernetes API Server KUBE_SERVICE_ADDRESSES parameter and Pod Network configuration

Question Where is the Kubernetes documentation regarding KUBE_SERVICE_ADDRESSES parameter of API server and Pod network configuration? Background KUBE_SERVICE_ADDRESSES parameter value needs to go ...
user avatar
  • 363
0 votes
1 answer
2k views

How to Configure jenkins email notification for some commercial email services?

For configuring jenkins email notification with some corporate email server or commercial email services. How we can get mail server setting details like mail server name, port number, using SSL, etc....
user avatar
1 vote
1 answer
825 views

Accessing attributes from within recipes

Let us say I do knife node edit mynode and within the normal section I edit the JSON to add "myattribute": "myvalue",. I save this and verify that it has taken effect by issuing knife search node -a ...
user avatar
  • 1,076
2 votes
5 answers
626 views

Same Docker image, multiple configurations

I got an application server image built with Docker. However, this image contains an OpenVPN client which needs a different certificate for each client, among other minimal configuration files. I ...
user avatar
5 votes
5 answers
2k views

Bad edit to sudoers file on EC2 instance, how to fix it?

While writing a script to edit the sudoers file without using visudo, the script did not check for issue, and I have introduced some bad edits into the sudoers file, and thus cannot use sudo at all ...
user avatar
  • 153
4 votes
1 answer
1k views

Salt Stack environments ignoring saltenv

I have a salt master with four environments configured (base, dev, staging, prod) I am initially trying to set a pillar item to track which envrionment is in use, namely core:env However when I ...
user avatar
  • 253
2 votes
1 answer
207 views

Where to Store Container Configuration

(I reviewed this question but the one answer doesn't offer practical solutions.) The general wisdom when it comes to containers appears to be: "Make them immutable and identical." I take this to ...
user avatar
  • 3,943
11 votes
1 answer
77 views

Assertions and constraints

I'm constructing a template to build a configuration file, and the service that consumes this file places constraints on identifier lengths. If an identifier is longer than, say, 6 characters, the ...
user avatar
  • 1,005
20 votes
2 answers
5k views

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 ...
user avatar
  • 301
2 votes
1 answer
3k views

Where is the apache2 filebeat module configured?

I am setting up the Elastic Filebeat beat for the first time. I have followed the guide here, and have got the Apache2 filebeat module up and running, it's connected to my Elastic and the dashboards ...
user avatar
  • 229
7 votes
1 answer
190 views

How to integrate multiple "feature" react apps into monolithic PHP repo?

We have a mono-laravel-repo and are in the process of migrating to a cleaner, easier to maintain dev reboot. We have recently moved towards migrating our existing PHP based views into multiple React-...
user avatar
11 votes
2 answers
2k views

Tool for storing per environment configuration

I have a requirement to store configuration information on a per environment basis in a tool. This is a tool with a GUI for adding/updating configuration values (e.g connection strings). This should ...
user avatar
  • 111
8 votes
1 answer
1k views

Can GitHub's Pull Request model be used for implementing post approvals?

The accepted answer to "What are possible implementations (or examples) of the four-eyes principle?" suggests that GitHub's Pull Request model is a possible implementation. And my own answer to "How ...
user avatar
  • 6,878
8 votes
3 answers
1k views

How to implement a frozen test environment?

Here is a partial quote from an answer to the question about "How to avoid continuous integration-caused instabilities in test environments?": This environment usually freezes during the tests. My ...
user avatar
  • 6,878
11 votes
2 answers
1k views

How should I store my environment variables?

This is a very broad question about methods and advice regarding environment variables / structure. But ultimately I'm looking for answers for the very specific question of 'How should I store my ...
user avatar
  • 617
13 votes
2 answers
1k views

How to implement the four-eyes principle for emergency fixes?

Consider this scenario (any comparison with real world situations is purely by accident): 3:07 am: incoming support call "Something in production went down, I need your help!". 3:12 am: connected to ...
user avatar
  • 6,878
23 votes
3 answers
3k views

What are possible implementations (or examples) of the four-eyes principle?

Michael Grünewald recently posted this comment: A very important method you do not mention is the “four-eyes principle” which is used in the finance – either as a regulatory obligation or as a safe-...
user avatar
  • 6,878
5 votes
1 answer
375 views

How can I validate GoCD configuration before applying it

We have a GoCD installation where we like to keep the pipeline configuration XML files (cruise-config.xml) in a separate git repository, and install it (preferably via a pipeline and automatically) to ...
user avatar
  • 1,547
36 votes
6 answers
6k views

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 ...
user avatar
  • 617