Questions tagged [devops]

This tag is for programming questions about DevOps ("development" and "operations"), which is a software development method that stresses communication, collaboration, integration, automation, and measurement of cooperation between software developers and other IT professionals. Non-programming related questions should be asked on the DevOps Stack Exchange site.

DevOps acknowledges the interdependence of software development, quality assurance, and IT operations, and aims to help an organization rapidly produce software products and services and to improve operations performance.

Venn diagram

DevOps integration targets product delivery, quality testing, feature development, and maintenance releases in order to improve reliability and security and provide faster development and deployment cycles. Many of the ideas (and people) involved in DevOps came from the enterprise systems management and Agile software development movements.

The adoption of DevOps is being driven by factors such as:

  • Use of agile and other development processes and methodologies
  • Demand for an increased rate of production releases from application and business unit stakeholders
  • Wide availability of virtualized and cloud infrastructure from internal and external providers
  • Increased usage of data center automation and configuration management tools

The goals of the DevOps workflow are best described as The three ways of DevOps

  1. Work flows from Business->Development->Operations->Customer as fast possible
  2. Increasing the feedback loops from Business<-Development<-Operations<-Customer
  3. Using fast feedback to build a culture of continuous experimentation and learning

While programming questions about DevOps are on-topic here, other questions should be asked on the DevOps Stack Exchange site.

Dev ops: WikiPedia

What is DevOps?

Related Tags

7915 questions
26
votes
5 answers

Should Dockerfile execute "npm install" and "npm run build" or should it only copy those files over?

I'm a little new to Docker and trying to wrap my head around some of the concepts. In a lot of tutorials and articles (actually, almost all of them), this is a typical Dockerfile for a create-react-app and nginx configuration: # CRA FROM node:alpine…
Mike
  • 355
  • 1
  • 3
  • 7
26
votes
2 answers

What is the difference between Label and Selector in kubernetes?

After reading the official documentation on kubernetes.io, I am still wondering what exactly is the difference between label and selector in Kubernetes? Editing: For example consider the following Kubernetes object, what is the difference between…
Theophane Fotso
  • 313
  • 2
  • 4
  • 13
25
votes
6 answers

kubernetes configmap prints \n instead of a newline

I am trying to deploy a configmap onto a cluster - name: Make/Update all configmaps on the cluster kubernetes: api_endpoint: blah url_username: blah url_password: blah inline_data: apiVersion: v1 kind: ConfigMap metadata: name:…
hashmim
  • 261
  • 1
  • 3
  • 3
25
votes
3 answers

How to pass Variables to Terraform modules via CLI or tfvars file?

(Please note: after receiving initial answers, this issue seems to not be just an issue with passing the variables, but with modularizing my configurations, note at the bottom where I hardcode the values yet the UI prompts me to provide the…
24
votes
4 answers

Azure DevOps Project pipeline not able to access NuGet package from Artifact Feed in different Project

Updated 20-Feb-2020 Summary Azure DevOps pipeline build not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/OurCompany Under that, we have multiple…
24
votes
6 answers

Azure Web App (ASP.NET MVC) becomes cold every ten minutes and takes +10-20s to load

I have a very weird issue with an Azure Web App, and I'm getting quite frustrated with it. We experience our app is very fast and responsive when using it, however, if we don't use it for roughly ten minutes, it has a very cold start (~10-20…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
24
votes
3 answers

How do I run a webpack build from a docker container?

The app I'm making is written in ES6 and other goodies is transpiled by webpack inside a Docker container. At the moment everything works from creating the inner directory, installing dependencies, and creating the compiled bundle file. When running…
AJ_1310
  • 3,303
  • 3
  • 19
  • 26
24
votes
3 answers

Set the pipeline name and description from Jenkinsfile

I am trying to do a poc of jenkins pipeline as code. I am using the Github organization folder plugin to scan Github orgs and create jobs per branch. Is there a way to explicitly define the names for the pipeline jobs that get from Jenkinsfile? I…
HarshaB
  • 403
  • 2
  • 5
  • 10
23
votes
5 answers

Why does kubectl cp command terminates with exit code 126?

I am trying to copy files from the pod to local using following command: kubectl cp /namespace/pod_name:/path/in/pod /path/in/local But the command terminates with exit code 126 and copy doesn't take place. Similarly while trying from local to pod…
kkpareek
  • 450
  • 1
  • 5
  • 15
23
votes
3 answers

Error deleting Target Group: ResourceInUse when changing target ports in AWS through Terraform

I am currently working through the beta book "Terraform Up & Running, 2nd Edition". In chapter 2, I created an auto scaling group and a load balancer in AWS. Now I made my backend server HTTP ports configurable. By default they listen on port…
aef
  • 4,498
  • 7
  • 26
  • 44
23
votes
3 answers

docker swarm mode multiple services same port

Suppose you have two services on your topology API Web Interface Both suppose to be running on port 80. On docker swarm when you create a service if you wanna to access it outside the cluster you need to expose and map the port from the service to…
bitgandtter
  • 2,179
  • 6
  • 31
  • 60
22
votes
5 answers

Gitlab integration with SonarQube

I am pretty new to Development community and specifically to DevOps practices , as a part of project we are trying to integrate SonarQube with Gitlab , did some R& D on SonarQube and Git CI ( Continuous Integration ) and look like plugin is released…
Adi
  • 221
  • 1
  • 2
  • 3
22
votes
3 answers

Creating different eslint rules for local development

Here's a motivating example: I am developing some code and want to figure out what's going wrong, so I have function foo() { console.log("Look its 2016 and I'm still printf debugging"); } Except... our build process runs esLint as part of the…
AnilRedshift
  • 7,937
  • 7
  • 35
  • 59
21
votes
4 answers

invalid from flag value build: pull access denied for build, repository does not exist or may require 'docker login'

I am trying to build a simple docker console project at azure DevOps pipeline, but i am unable to build the project. When i try to copy the code i get this error: invalid from flag value build: pull access denied for build, repository does not…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
21
votes
4 answers

Remove Docker images from Nexus Repository Manager OSS 3.0.1-01

I've been using Nexus to publish my Docker images for a couple of months and I really like the features it adds to a classic Docker Registry. Recently, the number of images we're storing caused disk space issues. I looked around the graphical…
Brice Argenson
  • 802
  • 2
  • 8
  • 13