Questions tagged [kubernetes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
50 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 ...
0
votes
0answers
21 views

Pattern for high throughput ingestion of events originating outside k8s cluster

I am trying to create an architecture for a system of ours to ingest data from devices. Our back end is built in Azure AKS with some PaaS services linked into the VNET. The cluster already exists, and ...
0
votes
0answers
25 views

Best practise for healchecks in Kubernetes parallel to service execution

Sorry for maybe a stupid question, but I am new to all that and I am trying to sketch an architecture for my microservice. I am developing a service that will be consuming Pub/Sub messages from GCP ...
0
votes
0answers
38 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 ...
0
votes
0answers
20 views

Managing container configuration out of the application's own datamodel

I'm not quite sure if this is the right place to ask, or even quite how to ask this. Usually there's a strict hierarchy where a tool such as Amazon ECS (or Kubernetes) manages docker containers, and ...
0
votes
1answer
45 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 ...
-1
votes
2answers
39 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 ...
2
votes
1answer
70 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 ...
0
votes
0answers
27 views

Securing a Kubernetes application - SSL on Kubernetes or container?

I have a gRPC server written in golang and containerized with Docker. I would like to deploy this application to Kubernetes with TLS (Let's Encrypt). What is the best way to secure the application? I'...
0
votes
0answers
31 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. ...
0
votes
0answers
105 views

Set ENV variables in different Environments with Kubernetes (Hooks, CI, ...)

I want to port our current Development workflow and Deployment (Multiple Repositories with Node.js and Python Microservices) from Ansible to Kubernetes, however I fail to find good resource about best-...
-2
votes
2answers
127 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?
-1
votes
1answer
131 views

How to manage microservice dependencies in local development?

I'm currently developing two microservices to be deployed on kubernetes, but already facing problems to onboard another person to work on a feature in microservice A. The dependencies are as follows ...
1
vote
2answers
70 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 ...
0
votes
1answer
162 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 ...
0
votes
1answer
46 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 ...
0
votes
3answers
307 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. ...
1
vote
0answers
16 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 ...
-3
votes
1answer
935 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 ...
2
votes
0answers
61 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 ...
-1
votes
1answer
47 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 ...
1
vote
2answers
331 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 ...
-2
votes
1answer
42 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 ...
0
votes
2answers
179 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 ...
0
votes
0answers
72 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 ...
0
votes
1answer
306 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 ...
1
vote
1answer
1k 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 ...
-2
votes
1answer
235 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 ...
-1
votes
1answer
80 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 ...
1
vote
0answers
92 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 ...
3
votes
1answer
106 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....
0
votes
0answers
96 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 ...
-1
votes
1answer
48 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. ...
-4
votes
1answer
112 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 ...
2
votes
1answer
151 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 ...
4
votes
0answers
126 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 ...