As of May 31, 2023, we have updated our Code of Conduct.

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
0 answers
892 views

error execution phase addon/coredns: unable to create a new DNS service: rpc error: code = Unknown desc = malformed header: missing HTTP content-type

I am trying to install Kubernetes on my Ubuntu 22.04 machine. When I try the following command: sudo kubeadm init --skip-phases=addon/kube-proxy --pod-network-cidr=10.244.0.0/16 --v=5 I get this ...
best_of_man's user avatar
0 votes
0 answers
19 views

Is it possible to install Kubernetes locally on 1 Linux machine and specify master and worker nodes without installing a VM?

I am using an Ubuntu 22.04 machine to run and test Kubernetes locally. I want a functionality like what Docker-Desktop do. I mean it seems both master and worker nodes/machines will be installed by ...
best_of_man's user avatar
0 votes
0 answers
146 views

Where does "journalctl" read configurations from?

I have installed kubelet 1.26.0 on my Ubuntu 22.04 machine. Previously I had 1.25.2 version that I removed by apt remove kubelet command and reinstalled it with apt install kubelet command. Wherever I ...
best_of_man's user avatar
0 votes
0 answers
8 views

Environment configuration with tabular data

I keep environment-specific configuration for my system in Consul KV. For a while I'm maintaining those values directly using Consul API/UI, but looking forward to create a dedicated config repo, ...
Kombajn zbożowy's user avatar
0 votes
0 answers
122 views

Kubernetes etcd db size grows continuously and system gets unstable when using --anonymous-auth=false

I have a problem with the growing db size of etcd. This causes the entire Cluster to become unstable. Pods gets evicted and the Kubernetes-API server crashes every now and then. I identified that this ...
Nur1's user avatar
  • 101
0 votes
1 answer
501 views

Does /etc/rancher/k3s/registries.yaml affect `k3s ctr` and `k3s crictl`?

k3s ctr launches the contianerd CLI, and k3s crictl is the CRI cli. I'm told you configure k3s authentication to the image registries using /etc/rancher/k3s/registries.yaml. Does this yaml file ...
Evan Carroll's user avatar
  • 1,254
0 votes
0 answers
140 views

Where are the documented arguments for `kubectl-args` and `kube-proxy-arg` in k3s?

K3s does not have a dedicated kubelet manager. In the K3s distribution the kubelet is an embedded service. The arguments to k3s are merely described as, --kubelet-arg value (agent/flags) ...
Evan Carroll's user avatar
  • 1,254
4 votes
1 answer
2k views

Where does k3s store it's "/var/lib/kubelet/config.yaml" file?

Referencing another answer here, they suggest setting evictionHard: imagefs.available: 1% memory.available: 100Mi nodefs.available: 1% nodefs.inodesFree: 1% In the file /var/lib/kubelet/...
Evan Carroll's user avatar
  • 1,254
1 vote
3 answers
1k 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 ...
Omar Shazly's user avatar
0 votes
1 answer
130 views

Does cloud-init store the copy of the init it ran first?

I'm sending my cloud-init file to Terraform via user_data. Is this stored anywhere on the machine that runs it? I know it may get merged with other stuff before it's run.
Evan Carroll's user avatar
  • 1,254
1 vote
0 answers
50 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 <...
bobandweave's user avatar
1 vote
1 answer
210 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 ...
Night bird's user avatar
3 votes
1 answer
77 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… ...
Martin Nowosad's user avatar
1 vote
0 answers
206 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 ...
senfo's user avatar
  • 61
0 votes
1 answer
46 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 ...
Quentin Gaultier's user avatar
0 votes
1 answer
58 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 ...
andr99's user avatar
  • 1
0 votes
2 answers
150 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 ...
wertzui's user avatar
  • 101
0 votes
1 answer
99 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 ...
Nicholas Saunders's user avatar
3 votes
2 answers
401 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 ...
Amit Yadav's user avatar
1 vote
1 answer
3k 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 ...
Dodzi Dzakuma's user avatar
1 vote
1 answer
930 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 ...
Sybil's user avatar
  • 452
1 vote
2 answers
5k 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 ...
ACB's user avatar
  • 13
-1 votes
1 answer
60 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 ...
Rafael Gramoschi's user avatar
1 vote
1 answer
7k 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-...
ras212's user avatar
  • 113
-2 votes
1 answer
99 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 ...
rush's user avatar
  • 151
2 votes
2 answers
27k 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 ...
q9f's user avatar
  • 123
2 votes
2 answers
75 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 ...
rush's user avatar
  • 151
0 votes
2 answers
1k 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 ...
omkar sirra's user avatar
1 vote
2 answers
612 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 ...
ptrck's user avatar
  • 11
1 vote
1 answer
431 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 ...
CrazyCoder's user avatar
3 votes
1 answer
311 views

Where are dunder dictionaries stored in salt?

I am new to Salt-Stack wanted to know where are all the dunder dictionaries stored? For example __salt__, __opts__, __grains__, __beacons__).
Dheeraj Chelaramani's 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 ...
030's user avatar
  • 13k
4 votes
1 answer
497 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 ...
Vipin Menon's user avatar
4 votes
1 answer
80 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). ...
xeijin's 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 ...
Stephen Ostermiller's user avatar
1 vote
0 answers
879 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....
penumalla's user avatar
2 votes
1 answer
155 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 ...
mon's 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 ...
mon's 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
909 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 ...
Gaius's user avatar
  • 1,076
2 votes
5 answers
802 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 ...
burntface's 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 ...
Adonis's 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 ...
Michael B's user avatar
  • 253
2 votes
1 answer
236 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 ...
Dave Swersky's user avatar
  • 4,048
11 votes
1 answer
85 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 ...
Michael Mol's user avatar
  • 1,045
20 votes
2 answers
6k 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 ...
carcaret's 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 ...
scipilot's user avatar
  • 229
7 votes
1 answer
203 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-...
Jason J. Nathan's 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 ...
tim's 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 ...
Pierre.Vriens's user avatar
  • 7,145