Questions tagged [devops]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
24 views

General infrastructure artchitecture/best practice: Developing locally against and azure hosted postgres

General infrastructure artchitecture/best practice: Developing locally against and azure hosted postgres I've created an infrastructure on azure using terraform that is the following: public virtual ...
mike01010's user avatar
0 votes
0 answers
118 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
90 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
  • 35
0 votes
1 answer
534 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
  • 35
0 votes
0 answers
74 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
282 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
562 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
2k 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
  • 127
0 votes
1 answer
432 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
0 answers
29 views

Updating the `/etc.ufw/before.rules` file to allow `ufw` firewall redirection

I need to Configure My Server so that the ufw firewall running on it can redirect port 8080/TCP to port 80/TCP. From quick research, I know I can do it in Two ways; one is to run a command similar to; ...
greez''s user avatar
  • 1
0 votes
0 answers
92 views

Is there anyway i can build iOS app using Jenkins without using MAC machine (even without using slave MAC mechine)

In our organisation, we have Jenkins master server running on Linux, and able to build the Android apps and deploy it to app store. But how to use the same Jenkins server to build the pipeline for the ...
Rajsekar Reddy's user avatar
0 votes
1 answer
951 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
0 answers
92 views

git and/or azure devops treat folders that start with . as submodules

I have a problem with the pipeline where it wouldn't checkout the .iac folder. However, when I changed it to iac (from .iac)it worked. Additionally I am seeing that the .azuredevops folder isn't being ...
Joy1979's user avatar
  • 111
0 votes
1 answer
345 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
186 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
3k 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
  • 43.8k
1 vote
2 answers
1k 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
  • 43.8k
0 votes
0 answers
32 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
66 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
233 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
142 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
736 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
1 answer
932 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
882 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
5k 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
90 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
216 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
804 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
  • 451
0 votes
1 answer
524 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
3k 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
659 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
41 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
283 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
0 votes
2 answers
7k 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
255 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
1k 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
340 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
  • 87
0 votes
1 answer
608 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
  • 87
1 vote
1 answer
124 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
  • 87
-1 votes
3 answers
4k views

Adobe Reader DC automated install using PowerShell

I wanted to automate the installation of Adobe Reader DC using an existing executable file (AcroRdrDC1501020060_en_US.exe) present in my local computer with a PowerShell script in non-interactive ...
user14876683's user avatar
1 vote
1 answer
242 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
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 votes
1 answer
592 views

OpenShift internal docker registry inaccessible

I am trying to connect with the internal docker registry of an openshift cluster with /bin/docker login -u user -p password` `oc get svc -n default | grep docker-registry `:5000 Getting the following ...
monty's user avatar
  • 1
1 vote
0 answers
80 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
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
1 vote
1 answer
39 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
49 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
  • 11
0 votes
1 answer
263 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