Questions tagged [devops]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 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
31 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
62 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
55 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
52 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
44 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
69 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
350 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
0 votes
1 answer
211 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
149 views

kubectl get nodes --kubeconfig admin.kubeconfig returns "No resources found"

I am a newbie in Kubernetes. I am not even very familiar with basic kubernetes commands, but the installation is a starting point for my learning journey. I wanted to avoid installing something like ...
Debapriya Roy's user avatar
0 votes
0 answers
693 views

How to get output of STDOUT to GCP cloud logging

Hey I have a job running on a gcp VM where some imported libraries are logging to stdout with the print or python logging library, and I also have written a lot of code where the output is logged to ...
Matt Elgazar's user avatar
0 votes
0 answers
115 views

Azure Devops AgentPools to perform this action: Administer Permissions

I Have Azure DevOps on-prem Version Azure DevOps Server 2020 Update 1.1 I have a project collection administrator privilege. when I try to create a new agent pool or add an agent to the current agent ...
Ahmed Sobeeh's user avatar
1 vote
0 answers
141 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
0 votes
0 answers
243 views

(111: Connection refused) while connecting to upstream nginx with docker

I am trying to dockerizing a angular universal app using nginx, and it's giving me really hard time. I have looked everywhere and haven't found a solution. Dockerfile FROM node:14-alpine AS builder ...
M Safdar Ali Khan's user avatar
0 votes
1 answer
165 views

apache "Options Indexes" working localhost but not with public DNS name

I have a Kubernetes cluster and a very basic container. I am trying to access it through the internet and the task is very simple, I just need to list the index of the directory. Here is my basic ...
Yousuf's user avatar
  • 37
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
0 answers
82 views

How to run the following commands on the master node before executing any pipeline in Jenkins. can't find any option to run pre build step

How to run the following commands on the master node before executing any pipeline in Jenkins. can't find any option to run pre build step. docker system prune --all docker volume prune
Nishanth's user avatar
1 vote
1 answer
575 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
0 votes
0 answers
803 views

Error occurred while creating a cluster using Kubespary

I want to create a Kubernetes cluster using Kubespary. I have created three nodes. I am using the official documentation: https://kubernetes.io/docs/setup/production-environment/tools/kubespray/ I ...
ead79's user avatar
  • 1
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
0 votes
1 answer
770 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
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
466 views

My website is working when https://www.example.com but not when https://example.com

I have purchased the domain from Godaddy. My website is working when https://www.example.com example.com www.example.com Not working when https://example.com I want to know where I need to add ...
Muhammad Umar's user avatar
0 votes
1 answer
299 views

Delay A pipeline For 24Hours

Hello Im using Azure piplines for some tasks Here is a simiple example of what im trying to achieve : what im trying to do is to to trigger pipline2 after pipeline1 complition (this is done) and once ...
ossama assaghir'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.6k
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.6k
0 votes
0 answers
34 views

How vps instance like aws, google cloud,... scale with containers?

As I understand. K8s will use the blueprint to create multiple containers on the same machine. But how this gonna help the scalability. For example, my laptop got 2 pods of backend servers and they ...
Minh Lê Phan Công's user avatar
0 votes
0 answers
82 views

Incoming apiserver requests

is there any option to see what request is reaching apiserver? I'm struggling with error authentication.go:104] Unable to authenticate the request due to an error: x509: certificate has expired or is ...
RedBluff's user avatar
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
1 vote
0 answers
146 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
0 votes
1 answer
919 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
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
0 votes
1 answer
1k views

Can not redirect https with upstream directive

With such config a I get redirecting to google.com server { listen 80; proxy_ssl_server_name on; rewrite_log on; location / { proxy_pass https://google.com; } } but if I ...
Artem's user avatar
  • 101
0 votes
1 answer
6k views

Jenkins Shell script not working. Yarn: command not found

I am running jenkins to build a react app and executing shell commands to build the app automatically. I following are the bash commands cd /var/www/FarmGroWeb sudo git reset --hard sudo git pull ...
Riwaj Chalise's user avatar
0 votes
0 answers
112 views

Individual Local Accounts on AWS

I'm my scenario, Currently, we have all developers connect to ec2 instances using the ec2-user account. Is there a better way to do this so we can see which actions developers take on the machines? I'...
samtech 2021's user avatar
1 vote
1 answer
304 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
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 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
0 votes
1 answer
861 views

Ansible playbook - defining var based on condition

I want to create a var based on condition so I created the below : hosts: test vars: vtarget_backup_folder_in_progress: "{{ "{{ folder }}/{{ target }}/test{{ hostvars['localhost']['tstamp']....
Sam's user avatar
  • 1
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
795 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
0 answers
43 views

deciding on docker architecture setup and performance

I will need to virtualize a jenkins software architecture and I don't know which architcture will be more efficient. I need : a jenkins server an opensuse server for c/c++ 64 bits compilation an ...
sancelot's user avatar
  • 101
0 votes
0 answers
341 views

AWS cdk environment strategy: one per branch, one per developer, or only dev/staging/prod?

we're currently setup with a dev, staging, and prod environments on aws. We're finding it hard to do QA properly, since often many commits happen in a short span of time, and are all included in a ...
samlaf's user avatar
  • 101
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
272 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
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
1 answer
479 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
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
0 votes
1 answer
733 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