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
20 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 ...
user avatar
0 votes
0 answers
5 views

Automate publishing .NET Core App to multiple subdomains

I posted this over at www.stackoverflow.com and they suggest I ask here. I have a .NET Core application used by many clients. Each client has its own subdomain. Each client has its own database. All ...
user avatar
0 votes
1 answer
17 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 ...
user avatar
  • 1
0 votes
0 answers
11 views

Kube MQ installation ways

(I am trying to install and use KubeMQ in a VM on a cloud, so no GUI is available.) Kube MQ has 3 ways of installing it: using kubectl using docker (standalone container) using binary files. Could ...
user avatar
  • 1
0 votes
0 answers
13 views

Kubernetes YAML with local Docker images?

I have build two docker images via docker build -t name, one is a NodeJS/React frontend and one is a Python API that the frontend should call and get messages from. This is all happening locally on a ...
user avatar
  • 101
2 votes
1 answer
43 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 ...
user avatar
1 vote
1 answer
56 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 ...
user avatar
1 vote
1 answer
49 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 ...
user avatar
0 votes
0 answers
6 views

Deploy Configuration File to Specific Path from Deployment in Kubernetes

I am trying to deploy a configuration file to a specific path in my service. I'd like to deploy this as part of a deployment or as a config map as possible. Has anyone done this before? The service I ...
user avatar
0 votes
1 answer
81 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 ...
user avatar
0 votes
0 answers
13 views

Deployment strategies and Traffic management

Canary deployments for example redirect a small percentage of the traffic to the updated instances. I can't understand how this is feasible for the final user. If we redirect for example 10% of the ...
user avatar
  • 1
0 votes
2 answers
192 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 ...
user avatar
0 votes
0 answers
11 views

Question about Jenkins deployment based on .NET Projects

So I was tasked to automate the build/deployment process for our projects and since the project stucure is rather unique, I would like to ask if an automation is even possible in my case. The project ...
user avatar
  • 1
1 vote
0 answers
51 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 ...
user avatar
  • 111
2 votes
2 answers
62 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 ...
user avatar
  • 21
1 vote
2 answers
55 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 ...
user avatar
  • 111
1 vote
0 answers
32 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 ...
user avatar
2 votes
1 answer
258 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: ...
user avatar
  • 315
1 vote
1 answer
152 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 ...
user avatar
2 votes
1 answer
151 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 ...
user avatar
3 votes
3 answers
83 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 ...
user avatar
  • 131
0 votes
1 answer
76 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 ...
user avatar
1 vote
1 answer
107 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 ...
user avatar
  • 121
1 vote
1 answer
32 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 ...
user avatar
1 vote
1 answer
475 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 ...
user avatar
2 votes
1 answer
96 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 ...
user avatar
  • 123
1 vote
1 answer
34 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 ...
user avatar
  • 141
0 votes
1 answer
313 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 ...
user avatar
  • 101
2 votes
1 answer
43 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 ...
user avatar
1 vote
1 answer
54 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 ...
user avatar
0 votes
1 answer
218 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 ...
user avatar
-1 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
204 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 ...
user avatar
0 votes
1 answer
61 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 "...
user avatar
4 votes
2 answers
2k 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: ...
user avatar
0 votes
1 answer
38 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 ...
user avatar
0 votes
1 answer
342 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 (...
user avatar
  • 1
0 votes
1 answer
31 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 ...
user avatar
1 vote
1 answer
25 views

Cannot understand jenkins deployment error

I am new to jenkins, and i am trying to make a deployment into a remote serve, but i am getting the following error: Current dependency:com.vmd positionWatchLoader latest.integration :: loading ...
user avatar
  • 121
2 votes
3 answers
1k views

How to automate the key exchange in WireGuard when you deploy a cluster of machines?

Let's assume you want to deploy a cluster of machines on Hetzer Cloud. For simplicity let's call them worker1, worker2, worker3. They need to communicate with a server called master, which will be ...
user avatar
2 votes
1 answer
46 views

Improving deployment process of agent software

I'm a developer on an agent software team, researching ways to streamline the mass deployment of our agent on clients' machines. Currently the process involves running a script to determine the exact ...
user avatar
  • 123
1 vote
1 answer
61 views

Azure deploy pipeline with/without approval on separated enviroments

I have two separate environments under my repository: development (Approvals are not configured but the environment exists) production (Approvals rules are configured via dev.azure.com UI) The ...
user avatar
  • 111
2 votes
1 answer
54 views

Why I cannot access k3s service from pod in rasbian?

I have installed K3S kubernetes on rasbian, and created a following mysql deployment on it: apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-data spec: accessModes: - ...
user avatar
2 votes
1 answer
149 views

Branching model for nightly deploys

I'm a lead developer for a small B2B SaaS company, using Django and AWS. We currently run biweekly deploys after hours with a mostly-automated custom Fabric-powered tool. We're currently exploring ...
user avatar
7 votes
2 answers
893 views

Blue Green Deployment DB transactions management

Imagining I have 2 sets of environment(Blue and Green) + | | | v +-------+---------+ | Proxy/LB | | | +--+----...
user avatar
  • 123
5 votes
1 answer
120 views

How to keep many servers (5000+) up-to-date?

Initially asked here: https://stackoverflow.com/questions/60674502/how-to-keep-many-servers-5000-up-to-date-with-git-and-its-rate-limits The initial post: We're making a php service that will run on ...
user avatar
4 votes
1 answer
62 views

What are best practices for over-committing resources in a staging environment?

Suppose there is a staging environment very strapped for resources as new development, data workloads and other applications grow. Ideally one would like to maintain production parity, even at the ...
user avatar
  • 141
2 votes
1 answer
75 views

Bitbucket pipelines: Deployment destination dependent on commit author

I'd like to create a deployment pipeline triggered on PR creation that would deploy to e.g. 'staging1' environment if it's my commit and 'staging2' if it's a commit of other team member (the idea is ...
user avatar
1 vote
2 answers
220 views

GUI over GitLab CI Environment Deployments With Multiple Instances?

Let's say I have a SaaS style project (similar to Databricks). We may make release 2.0.0 of this project, have automated testing and deployment to dev, automated promotion to nonprod, etc. In ...
user avatar
4 votes
1 answer
773 views

Is GitLab flow (or GitHub flow, etc) anti build-once deploy-everywhere?

Historically, especially in the Java world, build-once, deploy everywhere has been a very big thing for deployments. Artifacts should be built exactly one time when a release is made and stored ...
user avatar