Most Popular

1500 questions
3
votes
1 answer

Is there any way to get New Relic or PagerDuty to not alert during nightly maintenance?

Initial Problem We have some badly behaved overnight maintenance jobs that cause alerts for AppDex and error rates for our apps. These are metrics that would be problematic if they happened during the day when customers are using the service, but…
chicks
  • 1,848
  • 1
  • 12
  • 29
3
votes
1 answer

How to monitor a micro-service oriented solution?

I run a micro-service oriented system, running under a private network, composed mainly of: databases (clusters) internal API's external/public API's workers (services) monitoring servers All are running Debian (7/8) and mainly using nginx and…
Alexandru R
  • 131
  • 2
3
votes
2 answers

All volumes are deleted when EC2 intance is deleted via terraform

I am using a terraform template to create AWS resources. My count is 2, everything gets created as per plan, and, I am attaching a 2nd EBS volume of 1 GB to both machines, which is also happening well. However, the only issue is when I try to delete…
Mohammed Ali
  • 151
  • 1
  • 5
3
votes
2 answers

OOM when running Bitbucket pipelines

as one (sometimes failing) step of our pipeline we setup environment via installation of docker which runs 3 containers through own docker-compose. Unfortunately we could not figure out how to impose any memory limits on individual containers in…
xvga
  • 131
  • 2
3
votes
1 answer

Docker Persisting Data During Build

I am trying to create a custom container which also contains MongoDB (hence not using the official MongoDB container). I am trying to add authentication to the database, and I think I am having an issue in persisting authentication data, i.e. in…
user11493
3
votes
2 answers

How/where are programs installed in Docker containers?

Apologies for being such a basic question but all the resources I've found seem to take this knowledge for granted. I'm brand new to docker and containerization in general. Today when opening a program for a project i.e. RStudio, Jupyter, Notebook,…
user2757598
  • 31
  • 1
  • 2
3
votes
2 answers

Is there a system which automates everything (OS release, and above) to host websites on?

This is not really a DevOps question but more of a System Automation question (which DevOps covers only a part of, by popular opinion, so I hope it's okay). I feel like some 5 USD IaaS VPS with Ansible could give me the peace of mind of technical…
user5176
3
votes
1 answer

How to find the image name corresponding to a layer digest?

Since 1.10, Docker implements a content addressable method based on a secure hash of the image and layer data: sudo docker pull redis:5.0.2-alpine sudo docker inspect --format '{{json .RootFS }}' redis:5.0.2-alpine | jq . { "Type": "layers", …
Sylvain Leroux
  • 1,550
  • 1
  • 13
  • 25
3
votes
1 answer

Run scripts which are stored in GitLab from Jenkins

I have configured Jenkins Build Jobs and Deployment Jobs from using Jenkins shell. But I put all the commands in Shell to execute. Can I store those commands in GitLab and execute from jenkins?
Janith
  • 173
  • 2
  • 7
3
votes
3 answers

How to specify a filter for Kubectl -o flag=custom-column

I want to use kubectl get -o=custom-columns to extract information with specific columns. The cropped yaml response is like this { "apiVersion": "v1", "items": [ { "apiVersion": "v1", "kind": "Pod", …
Tran Triet
  • 819
  • 3
  • 10
  • 19
3
votes
2 answers

ECS auto deploy with ECR

I'm using github, jenkins, aws ECR, aws ECS. I want to deploy automatically when github have new commit. When github have new commit, github sends a event webhook to jenkins, jenkins builds the images and pushes to ECR with tag 'latest'. I wonder…
3
votes
1 answer

How to handle large deployments using tools like gitlab and docker

How to deploy multiple instances (40+) of the same application with gitlab? (it is a simple tomcat web app) I want to be able to individually upgrade/downgrade them using web interface. We already have a working gitlab+docker pipeline that deploys…
azeko
  • 31
  • 3
3
votes
2 answers

Is it possible to consolidate notification handlers when they are very similar?

I have an Ansible role which uses handlers to restart services via the systemd module. - name: restart ntp systemd: name: ntp enabled: yes state: restarted become: true - name: restart web server systemd: name: nginx …
0xC0000022L
  • 286
  • 5
  • 19
3
votes
1 answer

Keep getting permissions error gcloud.container.clusters.get-credentials

I am trying to integrate CircleCi with gcloud Kubernetes engine. I created a service account with Kubernetes Engine Developer and Storage Admin roles. Created CircleCi yaml file and configured CI. Part of my yaml file includes: docker: …
Naor
  • 141
  • 1
  • 4
3
votes
2 answers

What's the difference between "Ops Dev" and "DevOps"?

I've heard both terms, but I can't differentiate between the two.
user10994
  • 31
  • 2