Skip to main content

Questions tagged [deployment]

Use this tag for questions about deployment, which is about all the activities to make (part of) a system available for use in some target environment.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Kubernetes Redis Cluster with persistent node and local storage

I have a requirement to set up a Redis cluster on Kubernetes, and I'm not sure which kinds of Kubernetes specification are best for my use case. I have some very specific requirements that don't ...
Adam's user avatar
  • 1
0 votes
0 answers
31 views

Reducing downtime of Statefulset K8S

I am currently in the process of migrating applications from DO droplets (VPS) to Kubernetes (K8S). The old system applications are mostly stateful, so I am facing challenges in minimizing downtime. ...
Tristan's user avatar
0 votes
1 answer
43 views

Green/Blue Deployments with multiple development teams

I am working in Azure in an AKS cluster environment. The environment has several clusters separated from each other. Each cluster is hosting several containers of services, each of them is developed ...
CodeMonkey's user avatar
0 votes
0 answers
25 views

How Kubernetes deployment scaling down happens

I have a kubernetes deployment running. Let's call it "my-spboot-deployment". This deployment has 2 replicas running in two different worker nodes. (I have used node affinity for ...
Kasun Wimaladarma's user avatar
0 votes
0 answers
9 views

Error code 0x8007000d for any .NET IIS web app on an EC2

I'm trying to learn deployment of .NET web apps on Amazon EC2. I've created a template Blazor Server project targeting .NET7, published it in Release mode to a folder. After that, I uploaded all the ...
Val's user avatar
  • 101
1 vote
1 answer
147 views

Ansible inventory for restart on worker node

I looking to execute a simple reboot via Ansible using its playbook - name: Worker-node Reboot hosts: node1 gather_facts: no remote_user: team become: true tasks: - name: Reboot the ...
Terra's user avatar
  • 13
1 vote
1 answer
52 views

How many deployment environments are appropriate for SPA + API architecture?

My company uses Azure as our cloud-infrastructure provider, and we are making use of their Azure Webapp PaaS offering to individually deploy our SPA (react.js) and corresponding API (Golang). Haven't ...
Hassan Zaidi's user avatar
0 votes
0 answers
26 views

How to deploy files into a server that is behind NAT in CircleCI

I have a server that is behind NAT and primarily serves websites. To expose it to the internet, I utilize a low-resource VPS with an Apache reverse HTTP proxy and Tailscale. However, the setup only ...
Said Torres's user avatar
0 votes
0 answers
25 views

Should my secrets be part of my release or not? Trying to understand "V. Build, release, run" from the twelve-factor app

Ok, to start off, I am web developper that happens to have to do devOps, so I am currently reading on the subject to get better at this stuff. I was reading the V. Build, release, run, and the release ...
Lunfel's user avatar
  • 101
2 votes
1 answer
2k views

Why does running a nginx image in docker interactive mode makes nginx not working

I have made a docker container from nginx running in background this way: docker run -d --name nginx1 -p 49699:80 nginx When I go to localhost:49699 on a browser with cleared cache it works properly ...
Eugenio.Gastelum96's user avatar
2 votes
0 answers
50 views

AWS Cloudformation - managing multiple stages versioning and deployment

I'm working on a simple cloudformation stack for a web app (some lambda functions, api gateway, cloudfront distribution, etc). The cloudformation stack template is currently versioned on a gitlab ...
fudo's user avatar
  • 121
0 votes
1 answer
97 views

Release rollback approaches?

I've got an old monolithic project using MariaDB and PHP that I'm trying to put on CI/CD. The project has DB migrations to update the DB state. My current CD is built on top of AWS CodeCommit + ...
Daniel's user avatar
  • 103
0 votes
1 answer
69 views

How do you deploy a container to AWS Lambda?

I am working on this little project. https://github.com/jamesgeddes/itsbeginningtolookalotlikechristmas It's currently a work-in-progress - don't judge! As you can see, I have configured CircleCI to ...
James Geddes's user avatar
0 votes
1 answer
311 views

Deploy A War/Ear To Container Marked build As failure When Deploying To Tomcat 9 Server

When I was Deploying A Sample Application On Tomcat9 I Faced This Issue. This is the Tomact9 Users File where I added credentials do I need to add anything more, Is There Any Configuration Which I ...
Prathamesh Shukla's user avatar
1 vote
1 answer
539 views

Trunk Based Development Deployment Pipeline

We are currently working on transitioning to Trunk Based Development and starting to look at our deployment pipeline and how we can improve. Our current workflow: All engineers work on the trunk, ...
Rob Fyffe's user avatar
  • 113
2 votes
0 answers
22 views

Linux Cloud/Windows On Prem Deployments

I have sort of a unique problem where I have a cloud deployment (linux) that needs to be ported to an on-premise deployment (windows). The constraint is that this is medical software and hospitals ...
Gillespie's user avatar
  • 121
1 vote
1 answer
5k views

Does `helm upgrade` use rolling restarts for `deployments`, yes/no? if not then what is the default?

I ask because: I want to know what is the default helm upgrade behavior I might need to change the default helm upgrade behavior Does helm upgrade use rolling restarts for deployments? If not then ...
Trevor Boyd Smith's user avatar
3 votes
2 answers
254 views

K8s cluster not deploying deployments across all the nodes

I am a beginner in kubernetes. I have a cluster running with 4 nodes. All the nodes are currently running fine. They are not tainted, or drained. Every time I deploy a deployment it will only deploy ...
hxugox97's user avatar
0 votes
2 answers
92 views

Docker Compose on AWS

I have no experience with AWS and I would like to know what the best approach is when it comes to embedding an environment built using Docker Compose (a simple application with two services, API and ...
DevOpsBeginner's user avatar
2 votes
2 answers
92 views

What are the core differences between DevOps and Agile ? And Is both two different approach to solve the similar problem?

I read some articles related to DevOps and Agile and found both are two different methodologies for software development. My questions is, If both methodology is solution for same problem then what is ...
Jimmy's user avatar
  • 119
5 votes
0 answers
610 views

Does the GitHub Container Registry provide something like a Deploy Key?

Currently I push to the GitHub Container Registry (GHCR) with my Personal Access Token. Is there a method to deploy a PRIVATE project "GitHub Container Registry" such that a token will only ...
Evan Carroll's user avatar
  • 2,241
1 vote
1 answer
449 views

Setup multiple Raspberry Pi different network configurations

For multiple projects we are setting up 2 to 6 RPi's per project. Each project runs on a different network and for some of these networks we can use DHCP, for others the RPi's have to connect using a ...
Postie's user avatar
  • 113
3 votes
1 answer
299 views

how to specify the dependency in the deployment?

This is a design question. I am not sure this is the right place. We have multiple microservices deployed using a blue/green pattern in Azure DevOps pipelines. What I am trying to achieve is I want to ...
prakashrajansakthivel's user avatar
2 votes
1 answer
5k views

How can I set up Deployment to run at least one pod on each node?

I need to set my deployment to have at least one pod on each node so that the system will continue uninterrupted in case the node goes down. I can set this to run one pod per node with daemonset or ...
Enes Uysal's user avatar
1 vote
2 answers
236 views

Is it possible to split traffic by fixed ratio among two Deployments using only Service

Context: Kubernetes (1.23), 2 Deployments of the same app with different version/config/etc., 1 Service Let's say I have a web application deployed in Kubernetes using a Deployment. I want to add a ...
David Lukac's user avatar
0 votes
4 answers
2k views

When a Google Cloud Function fails to deploy, code and settings used for the deployment get lost. Can I revive the last deployment state?

I always have to save code at least in clipboard and sometimes make a screenshot or some other backup of the settings before I deploy a Google Cloud Function, which seems strange to me, perhaps there ...
questionto42's user avatar
1 vote
2 answers
2k views

Terraform workspaces vs isolated directories?

I'm reading the "Terraform: Up & Running, 2nd Edition" book by Yevgeniy Brikman, the author is going through a lot of work to NOT use workspaces? Is this sound? It seems like really ...
Evan Carroll's user avatar
  • 2,241
2 votes
2 answers
234 views

How to structure/combine the installation of helm + deployment files

I have a Wordpress Helm chart, and a seperate ingress definition to go along with it, which I specified in a wordpress-deployment.yaml file. My workflow for installing would be: Install the helm ...
Sander's user avatar
  • 21
1 vote
2 answers
206 views

How to track deployments of multiple interconnected repositories

We are working with a ERP system (called Odoo, but that does not matter so much). It consists of many building blocks. Some of this modules/addons are dependent on others, some are standalone, but ...
AnJ's user avatar
  • 111
2 votes
1 answer
2k views

What's the best practice for managing / deploying multi-environments in production app?

I'm spinning up a production site and wanted to get advice on the latest best practices to manage and deploy multiple environments. At a high level, I'd like to have a good balance between keeping ...
user30768's user avatar
6 votes
1 answer
2k views

Where does the string docker.example.com in my GitLab CI job come from?

I am trying to have a Docker image deployed to my server by GitLab CI, but it only worked once¹ and then dies with the error message below. Here is the .gitlab-ci.yml snippet: deploy-image: image: ...
mcnesium's user avatar
  • 375
1 vote
1 answer
382 views

Unable to use AWS ECS docker context in bitbucket pipelines deployment step

I'm trying to add a deployment step to bitbucket pipelines that works successfully when I simulate locally but fails when executing the steps in bitbucket. I have created a simple docker image that ...
Jason Redwood's user avatar
2 votes
1 answer
804 views

Deploy an application using dll files to IIS on a VM

I hope I am posting this in the correct forum, but to me at least, it seemed that the focus was more on deployment. I am currently stuck after having successfully refactored an application by ...
Sasquatch's user avatar
3 votes
3 answers
222 views

Should I shut down the staging environment when the deployment test ends?

I have a small application deployed on an EC2 instance. I need a staging environment so I've thought of two choices: Deploy the same app again on the same instance, and that would be a staging ...
mr L's user avatar
  • 131
0 votes
1 answer
200 views

Kubernetes deploy workflow

I have an application (Django web app alongside couple of microservices) and have done deployment previously via Ansible tasks. Playbook was invoked from Ansible Tower and essentially breaks down into ...
Most Wanted's user avatar
1 vote
1 answer
210 views

Deploy to Ubuntu server with python script and awsebcli fails

Just yesterday everything worked fine on our AWS ElasticBeanstalk continuous deployment, but today suddenly fails with the following errors: $ pip install awsebcli -q --upgrade DEPRECATION: Python 2.7 ...
magnump0's user avatar
  • 121
1 vote
1 answer
41 views

What is it called to deploy major changes for limited number of customers first?

Is there a common name for this deployment strategy which is to avoid deploying major updates across all the customers straight away but rather limit the initial number to see their feedback, find any ...
Greendrake's user avatar
1 vote
1 answer
868 views

ansible-playbook: how to dynamically, conditionally set a large deployment environment (variable space) in a playbook?

I am using an ansible playbook to deploy a php web application in aws. The deployment is repeated many times, with a different environment, for each customer. The different scenarios range from ...
Life5ign's user avatar
  • 160
2 votes
1 answer
113 views

Should I struggle for minimalistic context in GitLab CI jobs?

I'm designing a build & deploy pipeline for our project. We have two jobs: build -- builds a docker image with our app and pushes it to a container registry. deploy -- communicates with an ...
Himura's user avatar
  • 123
1 vote
1 answer
37 views

What are the cost effective ways to deploy services using Kubernetes on multiple deployment environments?

We are converting a traditional docker-compose based service stack to a Kubernetes based services Before the conversion we had three deployment environments Local : Basically this is the developer's ...
inckka's user avatar
  • 141
2 votes
1 answer
693 views

kubernetes quota vs limit. What are they? How are they different? When should I use one or the other?

I have been reading through the docs but it still is not clear as to why I should use one or the other. They have great examples of how to configure them but don't answer the why for quotes or limits ...
nelaaro's user avatar
  • 121
2 votes
1 answer
55 views

Is there a better model for my CI/CD cycle?

I am having some troubles finding a better model for my CI/CD cycle. This is mainly gitflow issue. My current model : We have 2 bitbucket branches : master and develop. Both are linked via webhooks to ...
Ahmed Hamad's user avatar
1 vote
1 answer
85 views

Is there a way to combine helm with some other tool for k8s configuration management without conflicts?

Currently I have a k8s project with multiple services which are managed by a helm chart. Said helm chart is installed on my local machine and I want to keep it this way if it's possible. But now I ...
fourslashw's user avatar
0 votes
1 answer
934 views

how to set automatic git pull from bitbucket and complie project on ec2 instance create event with auto scaling

I have just started reading about AWS services. I have a project where the backend is created with Spring-Boot, front-end is created with React and PostgreSQL is used as database. Both backend and ...
Ahashan Alam Sojib's user avatar
-1 votes
1 answer
4k views

Cannot resolve services with service name inside a kubernetes pod

I cannot access a pod from another pod with its service name. Getting error as cannot resolve host svcname When i try to view the information of /etc/resolv.conf, i do see ec2.internal as searches ...
ADHITHYA SRINIVASAN's user avatar
2 votes
1 answer
698 views

Separation of CI and CD processes

Is it appropriate to keep the DevOps resources in a different repo from the git repos where the project source codes are placed for the execution of DevOps processes? some benefits i expected ...
Murat Cabuk's user avatar
0 votes
1 answer
161 views

Error 502 before execute Ansible playbook

I execute an Ansible playbook with an ansible user. The playbook executes properly, with no errors in the application log, no errors in the Ansible log. This .war usually deploys with user "...
Andrew De leon's user avatar
6 votes
2 answers
6k views

Kubernetes configuration with yaml anchors

I have a deployment.yaml file and want to reuse the environment for all my deployments like this: apiVersion: apps/v1 kind: Deployment metadata: name: beat spec: selector: matchLabels: ...
Most Wanted's user avatar
0 votes
1 answer
174 views

How to deploy static website from public repo via Github Actions to private web server

I like to start an open-source project via Github where topics (markdown pages) can be created from the community. Via PR the changes get merged to the main repo and then it triggers a Github Action ...
Marko A.'s user avatar
1 vote
1 answer
834 views

What part of the Bamboo pipeline should generate a Docker image?

We are using Bamboo to build and deploy a number of Java web applications. Right now, the Build Plans generally produce a WAR file, which is deployed by the Deploy Plans. We are moving our hosting (...
Eric's user avatar
  • 11