Questions tagged [kubernetes]
47 questions
5
votes
0 answers
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 manage different configurations for different…
arosca
- 151
3
votes
1 answer
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 applications, split out in case the Mobile Team updated…
Marshall Tigerus
- 570
3
votes
1 answer
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.company.stripe.trialEnd to the value Stripe tells…
joshk132
- 161
2
votes
1 answer
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 algorithm to get predictions for new data…
wokiwiv
- 21
2
votes
0 answers
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 read many articles stating a good solution is to…
Forin
- 129
2
votes
2 answers
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 Kubernetes cron job. But thinking little deep it…
theinsaneone
- 220
2
votes
1 answer
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 have some issues about their…
afrikaan
- 147
2
votes
1 answer
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 part.
For example I have a Venues database and a…
tpaksu
- 249
1
vote
1 answer
Database table updates in GitOps
The scenario: I have a web application running in Kubernetes. The web application is managed and updated by Argo CD, which means a Git repo defines the state of the application.
Now the new requirement: The users should also add a phone number when…
J Fabian Meier
- 662
1
vote
2 answers
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 same city. These databases are configured in an…
Parsa99
- 121
1
vote
1 answer
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 the output in shared storage
Another pod keeps…
karthikeayan
- 135
- 3
1
vote
4 answers
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 have to get a list of all users in the group via…
das Keks
- 213
- 1
- 4
- 7
1
vote
0 answers
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 basically have this one endpoint from which you get more…
beardeadclown
- 111
1
vote
1 answer
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 starts processing for it.
Now, I require to pause…
DDM
- 11
- 1
1
vote
2 answers
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 server. It doesn't use much resource. So I've…
John Doe
- 111