Questions tagged [kubernetes]

39 questions
4
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…
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
  • 550
  • 5
  • 13
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…
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
  • 1
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
  • 5
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
  • 2
  • 7
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
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
  • 1
1
vote
0 answers

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 data that has to be stored. Both the supplied…
Jurgy
  • 111
  • 2
1
vote
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
  • 210
  • 1
  • 6
1
vote
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
  • 137
  • 7
1
vote
0 answers

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 and implement their own microservice that performs…
8bitjunkie
  • 261
  • 1
  • 9
0
votes
0 answers

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 see an urgency to apply primarily a sync over…
0
votes
1 answer

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
  • 203
  • 1
  • 3
  • 6
0
votes
1 answer

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 lived - 5 mins max, we don't need it beyond and…
Pavan Kumar
  • 101
  • 1
1
2 3