All Questions
Tagged with kubernetes docker
7,782
questions
1
vote
0
answers
38
views
Unable to access server running in k8s pod from WSL host with docker-desktop installation
I'm running docker-desktop with WSL2.0 ubuntu on windows. I created a k8s deployment in the wsl ubuntu host. The deployment has one pod where I'm running a simple server program(runs forever, accepts ...
0
votes
0
answers
32
views
inotify limit reached in Docker (k8s)
We have an dotnet6 app that has been running in k8s for quite some time and only recently it started producing the following error, but only on some of the pods.
System.IO.IOException: The configured ...
-1
votes
0
answers
30
views
Access kubectl commands within my jenkins container
I have a Jenkins container running in docker compose.
Inside my jenkins container I want to access kubectl, so far this was part of my docker-compose.yaml
- /usr/local/bin/kubectl:/usr/local/bin/...
0
votes
0
answers
26
views
Cannot run sample flask app in Kubernetes - could not import index error
I am trying to run sample Flask app in kubernetes.
I've done the required changes and tried in local linux VM. i can see flask app is running successfully inside a container.
But when I deploy the ...
-1
votes
0
answers
28
views
How to run MongoDB and Mongo-express with Kubernetes? [closed]
I was running MongoDB and Mongo-express with Kubernetes (by following tutotial by famous Nana)
I am not able to open the external service i created. On seeing the logs of Pod I found following.
Sun ...
0
votes
0
answers
30
views
Kafka NodeJS Application running in Minikube fails with "connect ECONNREFUSED 127.0.1.1:9092" when Producing an event
I'm running Kafka through Zookeeper on my local Linux machine and my NodeJs application is running in a Pod of Minikube on the same machine.
I set the code up like below:
server.ts:
const fanoutKafka =...
0
votes
0
answers
20
views
Minikube not getting started after being installled on windows 11 after installation of docker,kubectl
C:\Windows\System32>minikube start
W0719 09:32:32.201445 13512 main.go:291] Unable to resolve the current Docker CLI context "default": context "default": context not found: ...
0
votes
0
answers
14
views
How to tell Tilt to identify a deployment / service created by an existing pod?
In my Tiltfile, I create a frontend and backend deployment, with a service for each one. I also configure the images used in each deployment to synchronize live updates:
# Identify deployment and ...
-1
votes
0
answers
18
views
Pod recycle /restarting causes Network error
Once the Pod gets to the limit the new pod starts. But it takes so long that requests start to timeout whilst waiting to be serviced so when the pod 2 (new pod) gets request it throws error as it ...
-1
votes
0
answers
71
views
+50
Jenkins on EKS, mount EFS in DIND
I am running Jenkins master and agents on K8S. Some of CI workloads require a docker image to be build and pushed to ECR. I installed Jenkins using its Helm chart and running the DIND agent as a ...
0
votes
0
answers
53
views
invalid_token_response -An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response: PKIX path building failed
I am trying to run spring-security-azuread from spring tutorials, i am able to run this in windows system as its spring boot application, but when i am trying to run in docker container from redhat ...
1
vote
0
answers
31
views
Comunicate to a k3s cluster from other docker container on the same network
I have a golang test that setup multiple stand alone docker containers using dockertest lib, and a k8s cluster that I setup using k3s.
As part of the test, I'm creating a docker network with name &...
0
votes
0
answers
37
views
kubectl can not connect to docker desktop kubernetes cluster
I have 2 machines. A is m1 macbook pro with ip 192.168.2.152. B is a ubuntu vm running on a windows machine with ip 192.168.2.186.
I enable the kubernetes cluster in Docker Desktop on A and I can ...
0
votes
1
answer
29
views
Read data from Kafka running on docker using a spark application running on kubernetes
I have a kafka broker set on docker using docker-compose. My goal is to create a spark application which will run on a kubernetes cluster and read data from this kafka broker. I am using the below ...
-1
votes
1
answer
27
views
Emulating Docker on Kubernetes cluster
I've got a very little experience with Kubernetes, but I have a good one with Docker and I'd like to have the same behaviour with both two environments. Let's take an example with this docker compose ...