60,003 questions
-3
votes
0
answers
17
views
Getting limit.cpu for a container without limit defined in projected volume [closed]
Environment: https://killercoda.com/playgrounds/scenario/kubernetes
pod conifg: https://kubernetes.io/docs/concepts/storage/projected-volumes/
apiVersion: v1
kind: Pod
metadata:
name: volume-test
...
0
votes
0
answers
29
views
the kubernetes scale did not work after renew the kubernetes cluster certificate [closed]
After I renew the kubernetes certificate, now I found the kubernetes cluster scale did not work(I delete the pod and the desired pod did not create automatically too). when I turned the desire pod ...
-3
votes
0
answers
25
views
Terraform Helm release fails in Azure DevOps: “Kubernetes cluster unreachable: the server has asked for the client to provide credentials” [closed]
I have an AKS cluster that is deployed using Terraform.
After the AKS deployment finishes, I run a post-deployment step in an Azure DevOps Release Pipeline to install NGINX Ingress using the Terraform ...
-2
votes
1
answer
42
views
Kubernetes: I want to import a docker image, what i miss? [closed]
I have follow this "way" to import my ftp docker image in kubernetes.
First from docker server (is another node, on another net)
docker save -o ftp1.tar user/ftp1
then I rsync tar to ...
-5
votes
0
answers
40
views
Memory management in Kubernetes [closed]
I'm running a cluster in AWS (EKS).
I'm experiencing an issue with a pod hosting an import service (Python FastAPI endpoint).
The pod restarts upon file import.
Reason : OOMKilled - exit code: 137
The ...
Best practices
0
votes
0
replies
34
views
Resource propagation on multi-cloud environment using Karmada
As far as i know, resources created on karmada-api-server would propagate to member clusters. ( based on propagation policies )
But i need to create a multi cluster synchronization.
e.g. When a ...
1
vote
0
answers
37
views
Microsoft.ML C#: GPU not found in K8s/Docker container
I have created a .NET app that uses Microsoft.ML.OnnxRuntime.Gpu for interference. Now I'm trying to integrate it with Azure Kubernetes.
We have made the setup with Tesla T4 GPU and we confirmed it's ...
1
vote
0
answers
31
views
Socket with SignalR and kubernetes
I encountered a problem when deploying a socket application using signalr. I connect with the longpolling method and it still works, but the websocket gives an error: Error: Failed to start the ...
0
votes
0
answers
38
views
Why I get pod has unbound immediate PersistentVolumeClaims. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling? [closed]
Why I get this error message :
pod has unbound immediate PersistentVolumeClaims. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling
?
storageclass created:
raphy@raohy:~/....
-2
votes
0
answers
43
views
VS Code: Is the yaml red hat plugin not working correctly with helm? [closed]
I'm using VS Code to work with Kubernetes and Helm YAML files. I have the Red Hat plugin installed. Everything was fine until today. I always had simple files, but today I opened a file with if/else/...
0
votes
0
answers
31
views
Issue with Custom Engine Agent for Copilot – Service Not Responding After Deployment to Kubernetes
I'm trying to create a Custom Engine Agent for Copilot. I have set up a bot, an app registration, and a manifest file. When I run the service locally using DevTunnel, everything works fine—the bot ...
Advice
0
votes
0
replies
34
views
Does an EC2 instance automatically run my Dockerfile if I copy it onto the server, or do I need to reboot it first?
If I scp my Dockerfile into an EC2 instance, does it automatically become a container, or do I need to reboot the instance first? Also, is there a preferred AZ for this, or will us-east-2b do? I need ...
Advice
0
votes
0
replies
30
views
How does Java containers react when container runtime updates containers cgroup settings
Kubernetes v1.33+ supports in-place pod resize. I am trying to understand how latest JDK versions react to an in-place pod resize i.e; when container runtime updates containers cgroup settings and ...
0
votes
0
answers
23
views
Using Federated Credentials Flow with Webclient in Springboot [closed]
What we have and want:
Currently we make use of the standard clientCredentials flow like it's explained here: https://www.baeldung.com/spring-webclient-oauth2#1-client-and-provider-configurations
We ...
0
votes
1
answer
38
views
ActiveProcessorCount is showing "-1" even after specifying CPU limits in Container
I have my application running on an AL2023 node in EKS cluster.
Below is the snippet of the Container resources in the Pod definition
resources:
# memory ~ heap space +10%
# CPU ~ no more than 1/8 of ...