Questions tagged [devops]

65 questions
20
votes
3 answers

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. We're now about to ship 1000 of these boxes and…
hakura
  • 303
  • 1
  • 5
5
votes
1 answer

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 like. Received 0 SUCCESS signal(s) out of 1.…
3
votes
1 answer

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 kind: Job metadata: labels: …
larsks
  • 43,623
  • 14
  • 121
  • 180
2
votes
2 answers

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 -…
1
vote
1 answer

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 should always return some data. Or, at least,…
1
vote
2 answers

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 to compile or other ways of installing packages…
Definity
  • 127
  • 6
1
vote
2 answers

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 from the upstream manifests. I have deployed…
larsks
  • 43,623
  • 14
  • 121
  • 180
1
vote
0 answers

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 instances running and just change the DNS record to…
1
vote
1 answer

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 with the following configuration: Puppetmaster…
1
vote
2 answers

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 == "Windows" ? ["PowerShell", "-Command"] : ["bash"] } How would I get this to…
1
vote
1 answer

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 (2cc7968) instead of this…
Sara June
  • 451
  • 1
  • 9
  • 28
1
vote
1 answer

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), 192.168.0.132(worker1) and…
1
vote
1 answer

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 have a situation where I would like to pull…
Bernd Haug
  • 888
  • 5
  • 12
1
vote
1 answer

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

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, a SQL plural table name (e.g. users) leads to…
ndemarco
  • 213
  • 1
  • 2
  • 13
1
vote
1 answer

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 python3 epel-release; \ yum install -y…
Hiddai
  • 87
  • 1
  • 3
  • 14
1
2 3 4 5