Questions tagged [devops]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
20 votes
3 answers
2k views

Managing cluster of linux computers behind firewalls

My company's product is essentially a Linux box (Ubuntu) sitting in somebody else's network running our software. Up to now we had less than 25 boxes in the wild and used TeamViewer to manage them. ...
hakura's user avatar
  • 303
5 votes
1 answer
12k views

Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement

I am running this template in cloud formation to create auto scaling in ubuntu-18.04 machine and it will rollback the all instances automatically that is created by this template and giving such error ...
Shubham Kamboj's user avatar
3 votes
1 answer
5k views

Why does argocd keep re-syncing my Job?

I'm deploying an application using ArgoCD. The deployment manifests include a Job that performs some one-time initialization for the application. The Job resource looks like this: apiVersion: batch/v1 ...
larsks's user avatar
  • 44.7k
2 votes
2 answers
2k views

How to get the nearest subdirectory of a file as output in PowerShell?

I need to get only the nearest subdirectory and file name from the file path as follows. Ex:- (1)E:\Dump\DumpText-1.txt - Dump\DumpText-1.txt (2)E:\Dump\SubDump1\DumpText-1.txt - SubDump1\DumpText-1....
Dhanushka Ekanayake's user avatar
1 vote
2 answers
10k views

Ansible task output to a file in ansible server

I'm writing a playbook that will check the application version on different hosts and write the output to a Ansible variable. My requirement is I want to output the ansible variable to a file output....
Manikandan Ram's user avatar
1 vote
1 answer
2k views

System-wide Docker login?

Is there any way to log a whole machine / Docker daemon into a registry? Everything I see about docker login and various proprietary credentials helpers uses ~/.docker/config.json, i.e. is per-user. I ...
Bernd Haug's user avatar
1 vote
2 answers
172 views

Why doesn't everyone just use the cheapest servers when using kubernetes?

Recently, I have been learning a lot about Kubernetes and learned that Kubernetes can horizontally auto-scale your containers and add servers to your node pool when needed (the cloud provider should ...
Jonathan van de Groep's user avatar
1 vote
1 answer
482 views

What are the benefits and issues of naming Linux user groups as singular vs. plural? [closed]

Conventionally, a group is plural, so it would follow to name a Linux group with the plural of a noun (e.g. 13 accountants in the accountants group). This may have unintended consequences. For example,...
ndemarco's user avatar
  • 213
1 vote
2 answers
4k views

What is the difference between Cloud-Init and Autoinstall?

So I have been trying to essentially install Nixos from the official site with a Cloud-Init for Ubuntu Server 22.04. I want to really understand how to install packages that I potentially might have ...
Definity's user avatar
  • 137
1 vote
2 answers
1k views

Hashicorp Vault How Do I Login Headless From STDIN Using Bash Shell?

Given a Bash Shell say in a Docker container running on Gitlab, for example, how would I get the password to get passed in? When I login with this: $ vault login -method=ldap username=myusername It ...
Frederick Ollinger's user avatar
1 vote
2 answers
1k views

Terraform: How to Detect and Branch on Operating System?

Given this block of pseudo code from Terraform: resource "null_resource" { provisioner "local-exec" { command = "echo hello" interpreter = local.os == ...
Frederick Ollinger's user avatar
1 vote
1 answer
1k views

How to win_ping to hosts with inventory and group_vars files?

I'm trying to write a correct command line that will ping to all hosts that are detailed in my inventory file my dockerfile: FROM centos:7 RUN yum check-update; \ yum install -y gcc libffi-devel ...
Hiddai's user avatar
  • 95
1 vote
1 answer
125 views

how to monitor a secure lab's machine and product's log files from my organization laptop?

I'm trying to find a solution that will help me to monitor the product's machines and log files in each one of them. here are some fact about my working environment: I have a product that's installed ...
Hiddai's user avatar
  • 95
1 vote
1 answer
307 views

How to check application responding in Kubernetes

I have a .net framework application written in C# running in K8s orchestration. I simply want to check in fixed interval (lets say in every 300sec) that my application which is running inside pod is ...
solveit's user avatar
  • 265
1 vote
1 answer
1k views

parsing debug information from ansible k8s_info module

I'm testing the ansible k8s_info module and having a challenge parsing the result in a register variable. The playbook gets pods from all namespaces. My objective is to print only the spec.containers ...
dcrearer's user avatar
  • 143
1 vote
0 answers
149 views

Replicating foreign keys with AWS DMS Full load Ongoing replication - MySQL

I am using AWS DMS Full Load Ongoing Replication (CDC) to replicate data from a MySQL RDS to an on-prem MySQL server (both of them running MySQL 8). Before starting the replication process I'm dumping ...
Mircea's user avatar
  • 11
1 vote
1 answer
587 views

Proof that aws cloudwatch get-metric-statistics works

I am learning to use the aws cloudwatch get-metric-statistics subcommand in the AWS command line tool. To prove to myself that I am using the tool correctly, I would like a simple example command that ...
John Skiles Skinner's user avatar
1 vote
0 answers
147 views

Amazon OpenSearch Service stably or less downtime?

Can anyone point out, What is the best way for the elastic search to run stably? We frequently get messages about it requiring updates and that an update requires some downtime. Could we have 2 ...
Santosh Baruah's user avatar
1 vote
1 answer
311 views

Puppet manifest configuration for docker image verification

I’m quite new to devops/ci/cd, so bear with me. Currently, I’m getting a puppet manifest configuration set up for docker image verification. Let me try to layout it out: I have a puppet master server ...
Jorge Mauricio's user avatar
1 vote
1 answer
1k views

How to tag docker image with git commit code short id, in azure devops?

I saw few links where I can tag my docker image using ${Build.SourceVersion} in azure devops pipeline. But it is using the complete ID of the commit. But I want to use only the short ID. I mean this (...
Sara June's user avatar
  • 521
1 vote
1 answer
277 views

how to configure ingress controller in kubernetes cluster over bare metal system?

Is there any way to assign static IP to Kubernetes cluster, in which any user can able to access its application over static IP only. for an example, I have set up a cluster over 192.168.0.131 (master)...
Bhargav Lalaji's user avatar
1 vote
0 answers
92 views

Open shift internal registry lost connection with the cluster

As a result getting image pull error while submitting the deployment to the kube API. Even the docker registry pod IP is in connection but VIRTUAL IP of docker registry lost connection with the ...
user14805338's user avatar
1 vote
1 answer
44 views

Unsure how to proceed from DigitalOcean droplets and CircleCI deployments to just automating the whole setup

I work within a small dev team and our current infrastructure is setup with GitHub for code, CircleCI to deploy these to our DigitalOcean Ubuntu droplets whenever something is merged into the develop ...
Sherry's user avatar
  • 11
1 vote
0 answers
51 views

What is the standard way to install jdk for wildfly on production?

There are options like, install from repo, install from rpm and install from tar/zip/etc archive What are the pros and cons? One con of installing from archive is, you don't get security updates. Is ...
gk_2000's user avatar
  • 111
1 vote
2 answers
2k views

Serving ArgoCD behind Traefik in Kubernetes

I would like to run ArgoCD behind Traefik such that I can both access the ArgoCD web ui and interact with the API using the argocd command line tool. I have deployed ArgoCD into a Kubernetes cluster ...
larsks's user avatar
  • 44.7k
0 votes
1 answer
313 views

Is it good practice to out MySQL or Apache in /opt/ folder?

So at my company they want to put all the application software in The /opt/application folder. This strikes me as odd because they consider server daemon like Apache and MySQL as application ...
Seamus Brandis's user avatar
0 votes
1 answer
229 views

Ansible lineinfile replace with system variable

I'm encountering an issue while using Ansible to dynamically modify a Zabbix agent configuration file. Specifically, I'm attempting to employ an ansible lineinfile module with a loop to update ...
Yousuf's user avatar
  • 37
0 votes
1 answer
1k views

What does "COPY --from=build-env /app/build/web /usr/share/nginx/html" do?

I have a Dockerfile as following: # Install Operating system and dependencies FROM ubuntu:22.04 AS build-env RUN apt-get update RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 ...
best_of_man's user avatar
0 votes
1 answer
810 views

Best solutions for auto deployment of multiple server applications

I'm still a newbie to devops and overall sysadmin, and a few days ago I wanted to completely reinstall everything on my server and properly setup services and deployment for apps, now my problem is ...
TheStachelfisch's user avatar
0 votes
1 answer
465 views

How to reduce "RAM Cache + Buffer" size due to scrapy

I am running a couple of spiders in parallel by scrapyd 1.2. Each process will raise the Buffer during the crawl significantly as seen in the chart. What is this value and how can I reduce the ...
merlin's user avatar
  • 2,172
0 votes
1 answer
1k views

Forwarding apache logs from k8s Pod to Syslog server

I am new to Kubernetes, I know there are multiple ways to log collection. but I am specifically asking about my scenario. we have a Syslog xyz.com port 8090. now we want our pods to send logs to our ...
Yousuf's user avatar
  • 37
0 votes
1 answer
800 views

ansible print folder path from register variable

I'm trying to print just the path of a register var that has multiple values, however I can only print a specific value. how can I print multiple values? --- - name: find directories find: ...
rigged's user avatar
  • 1
0 votes
1 answer
261 views

Deploying monorepo without SSH

Full Disclosure: I'm a DevOps noob. I am running a MERN mono repo on an EC2 instance. Originally, I would always SSH into my machine, pull from the repository, and build again. But there are problems ...
Divyansh Goenka's user avatar
0 votes
1 answer
931 views

AWS Policy to Read/write RDS

In my scenario , I want a policy that will allow reading and writing of abc-database-backups/rds/postgresql-backup on S3? We'll want the my servers to have that access added. Is creating a role and ...
samtech's user avatar
0 votes
2 answers
4k views

How to enable local image registry on OpenShift Single Node Cluster installation

I've recently completed an installation of a Single Node Cluster using OpenShift 4 but I'm running into issues when trying to spin up some of the example container / projects they have available. I ...
davidburtton's user avatar
0 votes
1 answer
744 views

What are common variables to mention in an inventory ansible yaml file?

I try to build a pipe-line to install my product. My product is installed in a lab with at least 8 machines (on-prem lab). I have several labs on-prem, several labs on cloud Each machine has a role, ...
Hiddai's user avatar
  • 95
0 votes
1 answer
4k views

Ansible to rename a file only if exists

I need to rename /jp/Test to /jp/test only if /jp/Test exists , otherwise i dont need to perform this task. if Both exists i need to merge both into /jp/test I get below error {"msg": "...
celcoprab's user avatar
0 votes
2 answers
2k views

Jenkins Integration with Android studio

Descrip : I created a jenkins job to integrate jenkins with Android studio for generating artifacts, While building the project in Android studio, The build is successfull.. But When i build the same ...
Manikandan Ram's user avatar
0 votes
1 answer
738 views

converting nginx from http to https

i am hosting a website on aws lighsail server. it is single server and i am running 4 docker container on it. 1-nginx , 2-node js, 3- spring bot, 4 - mysql. As for now my website is loading great with ...
varun saini's user avatar
0 votes
1 answer
169 views

Migrate to Azure DevOps

My Dev team has created an Azure DevOPS on their own personal account and want to move it to our centralized Azure Tenant. I have access to the the Azure Tenant where I wish to host the devops. note ...
Luke Celente's user avatar
0 votes
1 answer
427 views

Linux/Ubuntu - Use AD groups in Ansible before the computer is on the domain

TL;DR How do I reference an AD group for folder permissions before my computer has joined the domain? I'm setting up an Ubuntu system to interface with the orgs Active Directory. I've read that ...
Black Dynamite's user avatar
0 votes
0 answers
73 views

Website's file types all set as HTML when going through HaProxy

When I open "my-website.com", the full page never loads because the .css and .js files seem to be served as html. This only happens when accessing the website through my loadbalencer. I have ...
João Robalo's user avatar
0 votes
0 answers
33 views

Cors issue when deploying a mernstack app on minikube

I have a mern stack app (react vite + nodejs) web app that is working fine as i enabled cors middleware to allow my frontend to send requests to the backend but the problem is when i tried to deploy ...
Achref's user avatar
  • 1
0 votes
1 answer
65 views

How to create ops-agents policy that will install ops-agent on all Ubuntu 22.04 VMs?

I have created this ops-agent policy to install ops-agent on all my running Ubuntu 22.04 VMs, but the policy exists in the Cloud console when I navigate to Monitoring -> Dashboards -> VM ...
devops on the road's user avatar
0 votes
2 answers
57 views

I can't seem to point the correct nameserver to my VPS

I'm hosting my domain on Namecheap and im trying to point my nameservers to connect to my VPS using Webuzo (on Hostinger) it shows this error on my VPS on Webuzo: " This system does not control ...
Demetris's user avatar
0 votes
0 answers
67 views

Deploying Typescript + Angular app to Azure App Service via Azure Devops pipeline (ng modue not found)

Got this typescript + angular app that works great locally. Trying to set up a deployment pipeline on Azure Devops that builds and releases to App Service (linux nodejs webapp). The plumbing works, ...
soundcake's user avatar
0 votes
0 answers
46 views

Seeking Expert Advice on Terraform Deployment Cleanup

I've been successfully using Terraform for various deployments, managing to create multiple environments for different clients using a single Jenkins job. However, I've hit a roadblock when it comes ...
Yousuf's user avatar
  • 37
0 votes
1 answer
83 views

Missing rabbitmq.conf file in RabbitMQ installation

I recently installed "RabbitMQ 3.12.10:Erlang 26.2" on a Linux VM. Upon checking the server status using the command [systemctl status rabbitmq-server], the console output logs confirmed ...
eku's user avatar
  • 1
0 votes
1 answer
404 views

Playbook not use sudo command - Ansible Semaphore in Docker Container

So I'm learning DevOps tools. I installed Ansible Semaphore in a Docker container on my home server and created playbooks. I created a sudo user on a remote server and added an SSH key. However, my ...
Talhak's user avatar
  • 11
0 votes
0 answers
16 views

Mapping versioning for config and infra corresponding to application code version

I have an application that has something like below structure Service A - application and environment configuration, infrastructure dependencies (Queue, DB etc) etc. Service B - application and ...
user14013917's user avatar