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
16
votes
2 answers

Error restarting cluster: restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition

I am trying to start a local Kubernetes cluster using minikube start and getting the following error. Starting local Kubernetes v1.10.0 cluster... Starting VM... Getting VM IP address... Moving files into cluster... Setting up certs... Connecting to…
Satyajit Das
  • 2,740
  • 5
  • 16
  • 30
16
votes
3 answers

Terraform - should I use user_data or provisioner to bootstrap a resource?

It seems like I can use either user_data with a template file or a "remote-exec" provisioner with inline commands to bootstrap. So which one is considered more idiomatic?
Chris
  • 953
  • 11
  • 16
16
votes
3 answers

What is the difference between continuous integration, continuous delivery and DevOps?

I hear these terms together and wonder what is the difference? How are they related to continuous builds and continuous deployments?
Chaka
  • 1,709
  • 11
  • 33
  • 58
15
votes
1 answer

How can I easily make Github Actions skip subsequent jobs execution on certain condition?

I have an YAML Github Action script, which consists on three jobs. The nightly script should check if there are any user commits (which are not coming from an automatic jobs) and then perform nightly release build and deploy the build to the testing…
Patlatus
  • 1,217
  • 2
  • 16
  • 28
15
votes
3 answers

Greenlet runtime error and deployed app in docker keeps booting all the workers

RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject And all the workers are being booted. 2020-09-28T14:09:41.864089908Z [2020-09-28 14:09:41 +0000] [31]…
Vaibhav
  • 507
  • 2
  • 4
  • 20
15
votes
2 answers

Should a developer be able to create a docker artifact from a lerna monorepo in their development environment?

I've recently started using lerna to manage a monorepo, and in development it works fine. Lerna creates symlinks between my various packages, and so tools like 'tsc --watch' or nodemon work fine for detecting changes in the other packages. But…
dwjohnston
  • 11,163
  • 32
  • 99
  • 194
15
votes
3 answers

How do I get my Azure DevOps Pipeline build to fail when my linting script returns an error?

I am using the Azure Pipelines GitHub add-on to ensure that pull requests pass my linting. However, I have just made a test pull request which fails my linting, but the Azure Pipeline succeeds. Here is my azure-pipelines.yml # Node.js with React #…
zagd
  • 361
  • 1
  • 2
  • 9
15
votes
4 answers

"Ghost" kubernetes pod stuck in terminating

The situation I have a kubernetes pod stuck in "Terminating" state that resists pod deletions NAME READY STATUS RESTARTS AGE ... funny-turtle-myservice-xxx-yyy 1/1 Terminating 1 11d ... Where…
Yann Pellegrini
  • 793
  • 3
  • 7
  • 19
15
votes
3 answers

Kubernetes : dial tcp 127.0.0.1:8080: connect: connection refused

I've launched kubernetes cluster using kops. It was working find and I started facing the following problem: kubectl get pods The connection to the server localhost:8080 was refused - did you specify the right host or port? How do i solve this? It…
prranay
  • 1,789
  • 5
  • 23
  • 33
15
votes
3 answers

How to add pod dependency in kubernetes as like 'depends_on' in docker-compose.yml

I need to start kubernetes pods in a sequence like pod2 should start only when pod1 is up and running. we can do this in docker-compose.yml using depends_on
sam
  • 431
  • 1
  • 4
  • 16
15
votes
5 answers

BASH get major/minor version from string

I am quite new BASH scripting and I am trying to create my own script to download/build from source a package. However I would like to add some interaction to my script to make it future ready for newer versions. My script asks the user for the…
CrispyDuck
  • 391
  • 1
  • 2
  • 8
15
votes
1 answer

Bad file descriptor ERROR during apk update in Docker container... Why?

After running: docker network rm $NETNAME docker network create --driver bridge $NETNAME --subnet "${SUBNET}0/24" docker run --name $NODENAME -it --net $NETNAME --ip 192.168.0.2 --volume --detach $IMGNAME inside the container, as root, I run apk…
l3x
  • 30,760
  • 1
  • 55
  • 36
15
votes
3 answers

Google Kubernetes Engine: Enable HTTPS for Service type

I have an application on GKE that I wish to be available via HTTPS only, so I have gotten a signed certificate to secure the application using TLS. I have checked out a lot of tutorials on how I can do this, but they all refer to using Ingress and…
oziomajnr
  • 1,671
  • 1
  • 15
  • 39
15
votes
4 answers

unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF

I am new to docker and cannot understand these errors. So, Please let me know if any more information is needed. `$ docker --version` Docker version 1.12.6, build 88a4867/1.12.6 `$ docker info` Cannot connect to the Docker daemon. Is the docker…
Aki
  • 161
  • 1
  • 2
  • 5
15
votes
3 answers

Use host networking and additional networks in docker compose

I'm trying to set up a dev environment for my project. I have a container (ms1) which should be put in his own network ("services" in my case), and a container (apigateway) which should access that network while exposing an http port to the host's…
phzonta
  • 773
  • 3
  • 6
  • 16