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.
173
questions
1
vote
1
answer
60
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 ...
0
votes
1
answer
39
views
Gradual rollout management for client applications
I want to rollout software to clients (1m+) devices in a gradual fashion due to high risk. Ideally i would be able to target users based on analytical data i posses and decide if they should receive ...
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 ...
0
votes
0
answers
12
views
How to deploy all services for a preview environment without rebuilding them all when one changes
I am trying to create a preview environment for each pull request. We are using a monorepo with about 2 dozen microservice. To have a fully functional preview environment we need all the services to ...
0
votes
2
answers
75
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 ...
0
votes
1
answer
231
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 ...
2
votes
1
answer
655
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 ...
1
vote
1
answer
40
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 ...
0
votes
0
answers
50
views
Helm deploy takes long time when there are many running Pods
Topics:
Helm deployments
helm timeout
kubernetes HPA tuning
kubernetes min/max replicas tuning
kubernetes HPA threshold tuning
I'm running Kubernetes in GKE, so if I refer to "Console" -- ...
0
votes
0
answers
14
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 ...
0
votes
0
answers
48
views
What are the tools that allow Deployment of Docker images?
Let's consider a Continuous Integration & Delivery pipeline that builds and push a Docker image to a Docker registry. I'd like to be able to:
Manually deploy this Docker image, on demand, ...
0
votes
0
answers
24
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 ...
0
votes
0
answers
20
views
How to auto-scale a web application in Kubernetes without overprovisioning?
Consider a traditional web application.
Under no load, the application does not require or utilize too many resources. The CPU usage grows linearly with the number of users/requests per second.
If I ...
2
votes
2
answers
1k
views
Octopus server installation on Linux
I learnt that,
Octopus server can be installed on Windows 2008, 2012, 2016 server editions
I see msi packages on Download page
Can Octopus server be installed on Ubuntu?
Can tentacle software be ...
1
vote
1
answer
523
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 ...
2
votes
0
answers
32
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 ...
0
votes
1
answer
58
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 ...
0
votes
1
answer
70
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 + ...
2
votes
2
answers
76
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 ...
0
votes
0
answers
39
views
Which tool to use for deploying Docker containers when scalability and availability are not a concern?
I'm looking to deploy some code in Docker containers into production and need to be able to deploy and schedule containers as required.
I had a look at Kubernetes and it would generally suit my use ...
0
votes
0
answers
40
views
One pod inside a deployment or many deployments with one pod inside?
Is it correct to put multiple pods inside one deployment? As I understand the correct way to do this is to create multiple containers inside a pod which is inside one deployment, but this does not ...
0
votes
0
answers
14
views
Deploying a personal project - Sql, AspCore EF6 CodeFirst and Unity Webgl
apologies for the amateurish question. I'm really struggling to get my head around deployment options, particularly as it's a small hobby project.
I have built a project which is running just fine ...
0
votes
0
answers
6
views
What is the best approach to deploy N number of ML models as a scalable service in the Cloud?
I've N (~50) number of sentiment models of different languages, which were fine tuned on HggingFace's transformer models. Each of the models as 2-3 GB in size approx. Now, how can I deploy all these ...
0
votes
0
answers
64
views
How should I deploy a Flutter app on a Kubernetes cluster?
I am just wondering to know how should I create a docker file for a Flutter app then deploy it on a Kubernetes cluster?
0
votes
0
answers
78
views
How to use a local cluster by "Skaffold" while using "Kubeadm" for the "Kubernetes"?
I am trying to deploy my NodeJS application on a local Kubernetes cluster, using skaffold but I get the following result:
DEBU[0018] Pod "expiration-depl-7989dc5ff4-lkpvw" scheduled but not ...
1
vote
1
answer
3k
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 ...
1
vote
1
answer
306
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, ...
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: ...
1
vote
0
answers
240
views
Best practice for database migration with Kubernetes and docker
Is there a best practice for initializing and managing database schema(and seed data) for containerized backend applications?
I'm currently developing an on-premise application deployed at the ...
1
vote
1
answer
325
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 ...
2
votes
0
answers
21
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 ...
3
votes
1
answer
346
views
Where are dunder dictionaries stored in salt?
I am new to Salt-Stack wanted to know where are all the dunder dictionaries stored?
For example __salt__, __opts__, __grains__, __beacons__).
3
votes
1
answer
226
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 ...
3
votes
2
answers
169
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 ...
0
votes
0
answers
26
views
Is there a generally accepted method/workflow for storing open source project secrets for production environments?
Pretty my much the title, but some caveats:
My project is a simple Laravel app hosted on a spare laptop on my own network (Nginx on Ubuntu).
The repo is public, but doesn't yet have any sensitive ...
5
votes
0
answers
433
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 ...
2
votes
1
answer
4k
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 ...
1
vote
1
answer
152
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 ...
0
votes
1
answer
141
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 "...
0
votes
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 ...
2
votes
2
answers
202
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 ...
1
vote
2
answers
160
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 ...
1
vote
0
answers
148
views
Deployment with Docker tensorflow/serving fails when training the model on another machine
I'm following the Coursera TensorFlow Serving with Docker for Model Deployment course.
You have to train a simple Tensorflow model and export it in Protobuf.
tf.saved_model.save(model, path)
Then you ...
13
votes
1
answer
2k
views
How to support releasing new versions of the code, running in parallel with the last stable release?
I have one service in production (on AWS), which follows the immutable server pattern. Its deployment looks like this:
Create a new AMI with Packer.
Create a new CloudFormation stack, starting with ...
1
vote
1
answer
357
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 ...
2
votes
1
answer
588
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 ...
3
votes
3
answers
172
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 ...
0
votes
1
answer
161
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 ...
1
vote
1
answer
203
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 ...
1
vote
1
answer
38
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 ...