Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [kubernetes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

Deploying two major versions of a spring boot java app with the same pod in kubernetes

We have a spring boot java application that is deployed using kubernetes . It mostly runs background jobs. We have two different groups of customers . The requirement is that when we do a major ...
teki's user avatar
  • 1
0 votes
0 answers
47 views

isolating user run scripts on docker without performance impact

Scenario: We have a application (web based), in a small part of this application a users is able to create a small python script to mutate (in memory) data. Currently all of these scripts (if it is ...
Vincent's user avatar
  • 375
0 votes
2 answers
172 views

Fault tolerance in aggregated distributed state

I have a scheduling system that is horizontally scaled, and stores shared state in a redis key. The purpose of the system is to implement something similar to classic rate limiting, but a bit ...
NadavShmayo's user avatar
0 votes
0 answers
52 views

Batch Processing to use multiple pods

We have a frontend application in React and a backend application in .NET Core which were deployed in a single Kubernetes cluster of 3 pods (it can autoscale). Before the application, we have a load ...
Chethan SR's user avatar
1 vote
2 answers
94 views

What is the starting point of a geo-distributed server farm?

Scenario: A web application that wants to implement geographically high availability (HA), has multiple web servers in different cities around the globe. Each server is connected to a database in the ...
Parsa99's user avatar
  • 121
-2 votes
1 answer
84 views

How does one monitor the monitoring tools of a cluster?

We have a DB Service (Apache Druid) running along with prometheus,druid-exporter and Grafana deployments all being managed in the same namespace using k8s. We often see our prometheus or Grafana ...
a.utfull.day's user avatar
0 votes
0 answers
88 views

How to manage configurations for on-premise kubernetes services?

I have a series of .NET kubernetes services that all need to retrieve dynamically a series of configurations from a database, since the deployment of this infrastructure is going to be on-prem for ...
Jiulia's user avatar
  • 207
0 votes
1 answer
350 views

Implementing active/standby pattern with Kubernetes

I have a replicaset with two pods in an onpremise kubernetes. Is it possible to setup an active standby setup so only one pod receive requests and the second one stay in standby mode and takes ...
John Smith's user avatar
0 votes
0 answers
81 views

sync over async in K8S

We build up a microservice architecture which is called from above by a REACT SPA. All is deployed in the AWS Cloud, that is to say in an AWS EKS (K8S). We have at most 600 users in parallel. Do you ...
kladderradatsch's user avatar
1 vote
1 answer
79 views

How to improve this synchronous job execution design?

Here is the design step by step: User opens a webpage Inputs few details in the form Click submit Request goes to API server API server creates a pod in Kubernetes Pod executes a script and stores ...
karthikeayan's user avatar
0 votes
1 answer
2k views

Multithreaded processing of single REST requests

Background: We're providing an API that provides information about all users within a given group. Our API is a high level facade over another low-level REST API. To gather those information we first ...
das Keks's user avatar
  • 203
0 votes
1 answer
174 views

Needed suggestions for key-value storage in Kubernetes

We have a requirement to store key value pairs (KVP) in Kubernetes and looking for possible options here. The requirements are as below: KVP are small sized - 200 characters together. KVP are short ...
Pavan Kumar's user avatar
0 votes
0 answers
36 views

Handling competing requests for the same "id" in different Kubernetes PODs

I have the following problem, I am implementing a delivery management service and a single order can be competed between N deliveryboys, this service is being executed on Kubernetes with 5 PODs of ...
Carlos Rodrigues's user avatar
-2 votes
1 answer
368 views

Ho do I implement Database per Service pattern in Kubernetes?

Assuming I wanted to implement the Database per Service pattern or one of its related patterns like Private-Tables-, Schema- or Database-server-per-service (https://microservices.io/patterns/data/...
user avatar
0 votes
1 answer
44 views

How to check for docker specific code and APIs in an application for later migration to containerd?

So I have a couple of Java RESTful microservices, and since the past few years I have basically been using Docker to build them and deploy them over to a Kubernetes cluster. Our team is upgrading ...
Palaash Atri's user avatar
0 votes
0 answers
61 views

Do datacenters have conditions that might throttle component clock speed (either intentionally or automatically)?

Here is the question. On a 2.2 GHz processor with 6 physical threads and 6 hyperthreads, I see performance on the order of 3-10s for a particular job involving OpenCV. I do not specify that the ...
Chris's user avatar
  • 109
0 votes
0 answers
218 views

Managing concurrent TCP connections with Go, Docker and Kubernetes

I need to consume several APIs concurrently. In order to do that I decided to containerize each API client code and manage them using Kubernetes. Some of those APIs need to be "walked". They ...
beardeadclown's user avatar
0 votes
1 answer
53 views

How to design an application for stalling file processing?

I have an application that is receiving a live stream of files, I am using active MQ for listening to the file arrival in s3. As soon as the file arrives in s3 my application downloads the file and ...
DDM's user avatar
  • 1
-1 votes
2 answers
144 views

Delaying pods creation or recreating pods until tasks in other pods are completed

I need some help with better kubernetes resource deployment. Essentially, I've 2 components. C1 and C2. My task is to not deploy C2 pods or any resources until the tasks which are running in C1 are ...
vishalK's user avatar
2 votes
1 answer
1k views

Kubernetes cronjobs - triggering one after another completes - best practice?

I have a micro-service based system running in kubernetes bare-metal. The key aspects are: download data from a datasource nightly and add to a database get any new data from the database, run a ML ...
wokiwiv's user avatar
  • 21
0 votes
0 answers
40 views

Kubernetes auto scaling

We are currently in the process of doing an infrastructure overhaul. A bit of background of what our business model currently is: We are an aggregator of bills and payment services for businesses. ...
kelvinleeweisern's user avatar
-2 votes
2 answers
145 views

Should servers exit with 0 or 1 in case of caught errors?

What is the best practice in case a service has an error which we caught and handled? Do we exit code 1 or 0?
Stav Alfi's user avatar
  • 297
1 vote
2 answers
290 views

AWS Kubernetes - MySQL DB instance - RDS or Docker Mysql Image

We're trying to migrate to either a cheap hosting or aws Kubernetes to cut costs. Our website is a game site and has around 100 users. The servers include 2 mysql db, 2 tomcat server and a management ...
John Doe's user avatar
  • 111
3 votes
1 answer
975 views

Routing Kubernetes to Different Versions of an API

At a previous job, we had a lot of excessive issues with versioning of our APIs, to the point where we had whole server farms for our services that were running specific versions for specific ...
Marshall Tigerus's user avatar
0 votes
1 answer
82 views

Distributed processing of a large number of queues

I have a rather basic application hosted on Kubernetes, which connects to a Mongo database. The app has a wallet feature. A user can put money in their wallet using real-world payments (e.g. via ...
Avius's user avatar
  • 397
0 votes
3 answers
471 views

Is microservices architecture a good candidate for a pipeline?

I have a monolithic application which can be divided into multiple steps and different steps have variable scaling requirement, however the input of the next step is the output of the current step. ...
Deepak Mishra's user avatar
1 vote
0 answers
30 views

Supplying Kubernetes pods with data from a persistent volume and writing back

To keep it simple, I have this service that stores data in a persistent volume. There are pods that are created by an API which use a subset of the stored data to perform an operation and generate new ...
Jurgy's user avatar
  • 111
-3 votes
1 answer
2k views

How to implement time triggered batch processing in a K8s/Java Spring Boot environment?

Environment: Kubernetes Cluster with Spring Boot microservices. One microservice contains a database with a date in one column of a read-only table. Problem/Requirement: When the date is reached, an ...
Datz's user avatar
  • 95
2 votes
0 answers
87 views

Initializing Cassandra schema

Recently I have started working on a project in which we are using Cassandra. It's a quite a new project, so we haven't decided how to initialize the schema. We are using Docker and Kubernetes. I've ...
Forin's user avatar
  • 129
-1 votes
1 answer
179 views

Show a service's status to the user

Some design thoughts on an application that is mostly event driven using kubernetes and docker. The application is a web based application, a single page one. It shows updates from the back-end such ...
ring bearer's user avatar
2 votes
2 answers
810 views

Kubernetes Cron Job is expensive?

I have to implement a feature in an existing application, which requires calling an API every minute. My app's microservices runs in Kubernetes environment. To achieve this, my first thought is ...
theinsaneone's user avatar
-2 votes
1 answer
74 views

What are the benefits of running Apache Spark on Kubernetes?

When running Apache Spark one submits jobs to a Cluster Manager. The cluster manager is delegated with the task of accepting / declining requests for resources. The cluster manager could either be ...
vi_ral's user avatar
  • 121
0 votes
2 answers
723 views

How to manage kubernetes configmap values in version control across environments?

I am looking for a way to automate deployment of configmaps to our dev/qa/prod environments. Right now our applications rely on kubernetes configmap/secrets that we manually apply in the cluster using ...
alex's user avatar
  • 283
0 votes
0 answers
497 views

Sending and receiving data from a Kubernetes Job

I'm working on this containerized API where in two steps (one asynchronous and one synchronous) the user can interact with the output generated by the first step trough a front-end service. I wasn't ...
Jurgy's user avatar
  • 111
0 votes
1 answer
588 views

What's a good liveness probe for a Hangfire background job server?

We're in the process of moving everything to K8s and one of our applications is a small .NET Core 2.2 console app that runs a Hangfire background job server. At the moment the app runs as a Windows ...
Cristi's user avatar
  • 187
1 vote
1 answer
3k views

Microservices and 3rd party APIs

I recently joined a team who is trying to use "microservice" pattern for their new application. They've already started to implement API's. In the end it should be an API for both mobile and web UI. I ...
afrikaan's user avatar
  • 137
-2 votes
1 answer
628 views

How microservices db are updated and sync when scale? [closed]

Scenario: In Case I have MS "MS-1" Orchestration detect high volume Orchestration create additional node with cloned MS "MS-2" "MS-2" get request and update its DB Question : How MS "MS-1" will ...
the_farmer's user avatar
-1 votes
1 answer
152 views

Containers Across Operating systems

Curious how containers are portable across development/testing/cloud environments with no worry needed about the underlying infrastructure. Does the Docker Engine essentially standardize operating ...
CloudQuestions's user avatar
1 vote
0 answers
177 views

Can/should multiple application contexts share a common microservice in a single namespace?

My current employer has a single namespace into which all microservices for all projects are deployed. Projects A, B and C all use microservice x in this common namespace: Rather than each design ...
8bitjunkie's user avatar
3 votes
1 answer
127 views

Run a job every hour with Lambda or something else?

I am working on a SaaS project that will have a trial when the trial is ending I get a webhook notification when 3 days are remaining. I do some stuff with this and one of the things is I update user....
joshk132's user avatar
  • 161
0 votes
0 answers
124 views

How can I economically scale to 100+ instances of my .Net Core app without using 1 container per instance?

Currently I have a .NET core application, which fires up a new thread to hold each customer account. Each thread instance: Is long running for many months or more Holds open SignalR Websockets and ...
Holland Risley's user avatar
-1 votes
1 answer
54 views

What happens to network connections to the web app running in a pod, when a pod is down in a Kubernetes node?

Each pod represents single instance of the web application in a node of Kubernetes. Lets say 100 users are signed into a web app like Stackoverflow and connected to Pod1 of NodeA. Pod1 is down now. ...
sofs1's user avatar
  • 101
-4 votes
1 answer
125 views

How was industry dealing with containerizations and container orchestration before Docker and Kubernetes? [closed]

Before Kafka, we had RabbitMQ, ActiveMQ etc. Mostly there use to be a something before version, in technology. But What was industry using something similar to Docker and Kubernetes, before they ...
sofs1's user avatar
  • 101
2 votes
1 answer
242 views

About databases in docker containers

I'm trying to understand containerized apps and databases and I'm trying to understand the microservice architecture using kubernetes. One thing that I couldn't get my mind convinced is the database ...
tpaksu's user avatar
  • 249
5 votes
0 answers
201 views

What are best practices for deploying different configurations per environment in Kubernetes/OpenShift?

Kubernetes provides a very elegant mechanism for managing configuration for pods using ConfigMaps. What's not clear from the documentation is what the recommended practice is for using ConfigMaps to ...
arosca's user avatar
  • 151