Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
27 views

Angular in kubernetes internal communication is failing

I happen to have a test project that is created in angular 17 and communicates with a python backend. The thing is that I would like the communication to happen internally through the python service ...
algarciagg's user avatar
0 votes
0 answers
16 views

Airflow Scheduling Error it skipping one day for processing file

I have Scheduled my DAG and its getting triggered everyday at 1 am but for input file its skipping one day file instead of taking 15 date input file 14 date file is getting processed default_args = { ...
Isha Ranawat's user avatar
0 votes
1 answer
40 views

airflow db init is not adding necessary files to database when setting things up

This is the error that I am getting. I do not see any files created in the airflow directory I manually created: ''' (airflow_env) vk@Vivians-Air airflow % airflow db init /Library/Frameworks/Python....
Vkara's user avatar
  • 7
0 votes
0 answers
38 views

Why does the PID reported in a dmesg log message differ from that returned by os.getpid() in Python?

When debugging an OOM error in a Python multiprocessing script I noticed that a dmesg log will report [Mon Jun 17 15:26:04 2024] Memory cgroup out of memory: Killed process **1079355** (python3) total-...
Ian Danforth's user avatar
0 votes
0 answers
28 views

I have an issue with k8s startup probes where when it meets mongoClient (pymongo), my pods will stuck in unready state

def test_mongodb(conn_str): logging.debug("testing Mongo...") try: start_time = time.time() # Start timing client = MongoClient(conn_str) ...
projectl's user avatar
0 votes
0 answers
35 views

Python subprocess run hanging with psql result in kubernetes pod

I'm trying to get a list of databases from a Kubernetes pod. This works and databases are printed in the terminal: result = subprocess.run(['kubectl', '--context', 'my-context', '-n', 'mynamespace', '...
martincho's user avatar
  • 4,687
0 votes
1 answer
44 views

upload large file to s3 through a Flask REST API | don't want to use s3 presigned url

I am developing a Flask API which take the file in input as PUT/POST request and uploads the file to s3 bucket. I am using upload_fileObj method of boto3. **Note - I don't want to use s3 presigned url....
thelostsoul's user avatar
0 votes
0 answers
27 views

Cannot access the media files in production via Nginx

I am trying to access the media files using Nginx. The file exists in the directory: /usr/src/app/backend/media/profile/c4ebe33d-7da1-4a62-bb17-8da254d69b36, where the part profile/c4ebe33d-7da1-4a62-...
Mateusz Szczepek's user avatar
0 votes
0 answers
53 views

Error Parsing Swagger UI Definition after Flask REST API Deployment on Rancher Server

I have developed a Flask REST API utilizing Flask-RESTx to create endpoints and integrated Swagger UI for documentation and testing purposes. While the setup functions flawlessly on my local ...
Di3Z1E's user avatar
  • 11
0 votes
0 answers
28 views

unable to retrive number of helm releases as an integer using python

I am using python to interact with a kubernetes cluster. I am trying to retrieve the number of releases by using the following code: number_of_releases = subprocess.getoutput(f"helm history ...
George Ji's user avatar
0 votes
0 answers
46 views

APScheduler+Kubernetes, Error getting due jobs from job store 'default': Authentication required

I'm a beginner for kubernetes and trying to use APScheduler with FastAPI in Kubernetes. The jobs are stored in redis. FastAPI with APScheduler is running in pod A, Redis is running in pod B, so I need ...
SenkuuX's user avatar
-1 votes
1 answer
88 views

Latest version of helm building on python 3.8

I am currently in the processing of moving our airflow instances to a K8 cluster. I have been installed the latest version of the helm chart (1.13.1), which gives airflow 2.8.3. I am running this ...
Ben Scott's user avatar
0 votes
1 answer
45 views

Failing Kubernetes Pod creation from Python script executed in Init Container?

Is it possible to fail/terminate pod creation from a Python script executed from an Init container? Init container: apiVersion: v1 kind: Pod metadata: name: myapp-pod labels: app.kubernetes.io/...
robtot's user avatar
  • 981
0 votes
0 answers
34 views

Airflow - K8s- Unable to mount HostPath using KubenetesPodOperator

I have a ADF's Airflow managed instance provisioned. And, I'm trying to schedule a DAG. In this DAG, I'm trying to run a shell script which is present in the HOSTPATH "/opt/airflow/dags" ...
Tad's user avatar
  • 851
0 votes
0 answers
34 views

Unable to successfully deploy a Flask app to Kubernetes (`net::ERR_CONNECTION_REFUSED`)

I am trying to make make a calculator where each operation is a microservice. I'm trying to deploy the first, divide service to Kubernetes. Here's the code: from flask import Flask, request, jsonify ...
Adar Katzir's user avatar

15 30 50 per page
1
2 3 4 5
76