Questions tagged [kubernetes]

For questions about Kubernetes, an open-source system for automating deployment, scaling, and management of containerized applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Is database persistence scaled outside of a container in general and Kubernetes in particular?

Kubernetes launches thousands of containers on demand. I thought this was to accommodate load and scale as needed, load balancing between all the containers. What happens to the database? Do they ...
user avatar
0 votes
0 answers
11 views

How can I limit output bandwidth on a pod with k8s?

I am trying to limit the output of a pod. This issue was not resolved or fully explained here. Please help me understand what is meant by the following or an alternative solution Both kubenet and CNI ...
user avatar
  • 123
0 votes
1 answer
19 views

When OnPrem with Kubernetes, what is the recommended way to do file storage buckets?

When you are running kubernetes on GKS, AKS, etc, you use your cloud provider specific storage bucket such as Amazon S3, google cloud storage, azure blob storage, to store your raw binary content in a ...
user avatar
0 votes
1 answer
21 views

How can I make host docker images available to k8s Deployment?

I have a k8s pod that is running docker. My issue is that for the docker images on my host machine to be available within the pod I either have to run the image as a pod or run a docker pull script at ...
user avatar
  • 123
1 vote
0 answers
12 views

PreStop container hook on Pod termination

I have two containers in my Pod (one main app container and another one is just a simple nginx reverse proxy) containers: - name: my-app - name: my-nginx lifecycle: ...
user avatar
0 votes
0 answers
13 views

integrate sonarqube with kubernetes

I am trying to integrate sonarqube on kubernetes , my sonarqube service is up and running in when i do "kubectl get services". but i am unable to fetch that url i.e. (Poratal access url). ...
user avatar
0 votes
0 answers
22 views

Argo workflows health checks failing in GKE

I am trying to expose my argo workflows deployment to a domain but I keep getting Server Error when I access the domain: argo.example.com. I setup a GKE ingress and been trying to fix the health ...
user avatar
  • 101
0 votes
0 answers
13 views

EKS: kubectl exec does not respect streamingConnectionIdleTimeout

Using EKS with Kubernetes 1.21, managed nodegroups in a private subnet. I'm trying to set the cluster up so that kubectl exec times out after inactivity regardless of the workload being execed into, ...
user avatar
0 votes
0 answers
6 views

kubernetes master node on Mac and worker node on raspberry pi

I'm new to kubernetes and trying to learn. I have enabled kubernetes through Docker Desktop on a Mac Mini (2020, M1). I've got two services running well on it. Now I'd like to add a worker node that I ...
user avatar
0 votes
1 answer
16 views

connect to kind cluster from inside and outside

Consider this: There's a linux machine running on azure. It has apache installed and browing to mymachine.com works, webpage is displayed. All ports are opened in the azure portal "networking ...
user avatar
1 vote
0 answers
20 views

upgrade k8s cluster version

I've upgraded our kubernetes cluster before to 1.22.7 and get nodes says so. kubectl get nodes ubd Ready 337d v1.22.7 Now I wanted to upgrade to 1.23.7 so I did the following steps on master ...
user avatar
0 votes
0 answers
7 views

Kubernetes cluster kube-scheduler logs in Oracle Cloud Infrastructure

I am running a cluster on Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE). I am trying to take a look at kube-scheduler.logs on OKE oracle service. In OKE, all the nodes are ...
user avatar
1 vote
0 answers
200 views

Should docker pull fail in an offline server when the specified image is already pulled?

I am trying to set-up kubernetes in an offline server. Part of the installation requires the following docker images, which I have already loaded in the offline server: # docker images REPOSITORY ...
user avatar
0 votes
0 answers
5 views

How does Kubernetes behave when the workers are isolated using VLANs?

I have a specific question for which I can't really find an answer. A potential client who develops sensitive applications contacted me to set up a fresh Kubernetes infrastructure. First they will ...
user avatar
  • 101
0 votes
0 answers
19 views

How to get Kubernetes manifest from the terraform kubernetes provider?

We have all our Kubernetes applications defined in Terraform using the terraform-kubernetes-provider. We're trying to move to a GitOps approach (using ArgoCD) but can't find a way to get Terraform to ...
user avatar
  • 101
0 votes
0 answers
7 views

Docker images vs CRI images compatibility in light of dockershim removal from Kubernetes

So at 1.24 Kubernetes removes the dockershim. I was studying docs and if I understand them correctly Kubernetes supports only images in Open Container Initiative format? And Docker image is not the ...
user avatar
  • 63
0 votes
1 answer
15 views

How to apply k8s manifest without scaling replicas

We have a manifest file that defines a set number of replicas and an autoscaler that scales them up. The problem we have is when we apply the manifest, it immediately scales the replicas down to the ...
user avatar
  • 111
1 vote
0 answers
10 views

Error with persistent volume on NFS

I'm learning about pv and pvc in Kubernetes, I'm using minikube with one node I run NFS service on my laptop, and exported correctly I can mount the NFS exports inside minikube, run minikube ssh then ...
user avatar
  • 31
0 votes
1 answer
11 views

How can I unevenly distribute pods across Instance Groups

What I'd like to do is distribute 10% of my pods to one instance group with the other 90% on the other group. I would like to experiment with using different AWS instance types (AMD, graviton, etc) ...
user avatar
1 vote
1 answer
21 views

EKS - Get availability zone of pod deployment from pod

In my EKS cluster, I have a few node groups that cover availability zone A and B. The pods running on the nodes are consumers/producers on various Kafka topics (MSK). There isn't any internal ...
user avatar
1 vote
1 answer
32 views

How to do maintenance work in kubernetes cluster

We just moved to kubernetes, but the engineer that helped launch it is on paternity leave before we had hoped (never trust a baby not to be eager!). Now we're trying to do maintenance tasks and one ...
user avatar
  • 111
0 votes
1 answer
153 views

k3s: The connection to the server localhost:8080 was refused - did you specify the right host or port?

When I run any kubectl commands, I'm getting The connection to the server localhost:8080 was refused - did you specify the right host or port?
user avatar
0 votes
1 answer
19 views

AKS Network Policy - cannot deny traffic to namespace

I am trying to implement Network Policies in my test Azure Kubernetes cluster, but I cannot get them to work. I have two namespaces - default and nginx (and others as well, but they shouldn't be ...
user avatar
0 votes
0 answers
76 views

fetch all secrets from vault using external secrets operator

I've deployed the external secrets operator https://github.com/external-secrets/external-secrets and Hashicorp vault in the same cluster via helm. I've authenticated externalsecrets to vault using the ...
user avatar
  • 1
0 votes
0 answers
103 views

nginx in Docker - returns "server" directive is not allowed here

I have dockerized an Angular application with the following Dockerfile and nginx.conf. The container works fine in Docker desktop. When deploying in Kubernetes cluster, the container fails to start ...
user avatar
  • 101
0 votes
0 answers
12 views

Missing values: gaps during deployments

Some context: I have little experience with ci/CD and manage a fast paced growing application since it saw the light of the day for the first time. It is composed by several microservices at different ...
user avatar
1 vote
1 answer
31 views

Make a readiness probe to fail when there is a newer version of the app being rolled out

How to make a readiness probe fail when there is a newer version of the app available Stack: Node.js, GKE Context Clients are connected to pods via websockets. During a rolling update, clients that ...
user avatar
0 votes
0 answers
16 views

Allowing going trafic with Egress and Denying it with Ingress in NetworkPolicy in Kubernetes

I hope you're all doing well and being safe. I have two pods A and B in two different namespaces. I wish that pod A in namespace-a has access to every pod on other namespaces so I ve deployed this ...
user avatar
0 votes
0 answers
14 views

Sharing AWS EFS Access Points across Persistent Volumes

I have an Access Point created on AWS EFS and now I do need to share it across multiple Persistent Volumes in Kubernetes which would eventually be used by multiple namespaces. Is there a way that I ...
user avatar
0 votes
0 answers
21 views

Cert-manager letsencrypt pending with cert-manager and traefik

i have a cluster on AKS, that is using traefik to serve a simple http service. I'm trying to use letsencrypt, the DNS is setted up and resolves to aks public ip address correctly but all certificate ...
user avatar
1 vote
0 answers
21 views

How to colorize kubernetes logs?

It's easy enough to enable colorful logs on docker containers (by setting TERM=xterm-256color and running with tty: True). Still, I'm not getting any color when I run kubectl logs/stern on the ...
user avatar
  • 11
0 votes
0 answers
9 views

k8s job specification doesnt work

I have a pod definition file: apiVersion: v1 kind: Pod metadata: name: redis-master namespace: sandbox labels: app: redis spec: containers: - name: master image: redis ...
user avatar
0 votes
0 answers
13 views

Communication failling between Kubernetes' node

I'm learning Kubernetes but I have some issues to establish a communication between 2 pods from 2 different nodes. I've initiliazed my cluster (1 master and 2 workers) thanks to kubeadm, I'm using ...
user avatar
  • 1
0 votes
0 answers
18 views

Launch EKS without aws-node

EKS seems to launch aws-node daemon on every new cluster. How can I prevent this? Context - I'd like to start a cluster with Cilium out of the box, running aws-node prevents this.
user avatar
  • 111
0 votes
0 answers
40 views

ArgoCD once only hook

I'm converting our existing deployment process to ArgoCD and using our existing helm chart but I'm not sure how to handle our existing hooks due to Argo not having as many as helm does. We have three ...
user avatar
0 votes
0 answers
20 views

Any good pattern to deploy and maintain multiple helm-released API version routes along with Istio Virtual Service routing?

I am deploying multiple API versions (helm chart) from automated pipeline and I want to deploy an Istio virtual service to establish routing to those version (/v1, /v2, etc.). Each of these API helm ...
user avatar
0 votes
0 answers
14 views

Using vespa ai in kubernetes environment behind an ingress

I am trying a vespa ai Quick Start Kubernetes tutorial. Using the same kubernetes configs, but instead of port-forwarding I want to use an ingress with a configuration: apiVersion: networking.k8s.io/...
user avatar
  • 101
0 votes
0 answers
24 views

HaProxy 2.5 with docker for load balacing 3 physical node cluster

I have k8s cluster 3 physical node and trying to configure load balancing for k8s cluster using haproxy-2.5 docker container in 4th physical node. I want to achieve something like this. I know if I ...
user avatar
3 votes
0 answers
564 views

Kubernetes deployement with minimum disruption to websocket connections

Problem statement: Make a deployment with minimum disruption to clients connected via websockets. Stack: GKE (Regional cluster - 1.22.8-gke.200), helm, Node.js/websockets, HPA, Rolling Update. Our ...
user avatar
0 votes
0 answers
54 views

basic authentication prometheus pod

I'm trying to add basic authentication for prometheus pod but when I deploy the pod with the below config I get the error: "Readiness probe failed: HTTP probe failed with statuscode: 401", I ...
user avatar
0 votes
0 answers
10 views

Portworx and Pure Storage

I am currently running a POC on a rancher Kubernetes cluster where Portworx is used in combination with Pure flash arrays as a storage solution. I currently struggle to synchronize a volume over two ...
user avatar
  • 1
0 votes
0 answers
24 views

vGPUs & Kubernetes

I am looking for a way to share the same Nvidia GPU to multiple pods in Kubernetes. As far as I know, it is not possible to do it directly, so I am looking for alternatives to do that. With Nvidia ...
user avatar
  • 1
1 vote
0 answers
40 views

Dokku and Kubernetes: How to Build A PaaS?

I am fairly new to the world of DevOps. I am trying to build a platform that is similar to Heroku. I have gotten introduced to Dokku and Kubernetes and thought I might be able to install dokku on ...
user avatar
0 votes
0 answers
15 views

Can You Run Dokku Containers on a Kubernetes Pod? If So, How?

I am playing around with Kubernetes and Dokku to build a platform like Heroku. My initial idea is to allow users to deploy their applications to Dokku containers that live inside Pods or Nodes (...
user avatar
0 votes
0 answers
8 views

load list to pod running redis, from external source

I have a job which is running redis pod.: apiVersion: batch/v1 kind: Job metadata: name: redis-job spec: parallelism: 1 ttlSecondsAfterFinished: 10 template: metadata: name: redis-...
user avatar
1 vote
0 answers
11 views

capability to pull docker images to host

We've got a docker container running with a mount to /var/run/docker. It's a daemonset pulling an image every day to the host the pod is running on. containers: - name: updater image: ...
user avatar
0 votes
0 answers
50 views

How to configure registries.yaml to point to several Harbor proxy cache registry?

I have configured a Harbor (with SSL and FQDN: harbor.example.com) as a proxy cache for several docker registries (docker.io, quay.io and k8s.gcr.io). I can pull any images without any problem from ...
user avatar
  • 113
1 vote
0 answers
30 views

HashiCorp Vault SideCar stuck on Init

I am creating a Monstache Deployment in Kubernetes which uses some Vault secrets, which will be injected via the sidecar. But the Deployment is stuck on Init, and I don't get any error. Can someone ...
user avatar
1 vote
0 answers
14 views

Kubernetes Vetical Pod Autoscaler wont recreate pods

I'm running the Kubernetes VPA on a GKE project. It has Vertical Pod Autoscaling enabled and I've run the vpa-up.sh script from their Github VPA. Furthermore, the pods running are JupyterHub notebook ...
user avatar
  • 11
0 votes
0 answers
17 views

Kubernetes pods is failing with error Back-off pulling image "arey/mysql-client"

My machine is offline which has no connectivity to external site, images are pulled from another machine and loaded to the offline machine. arey/mysql-client image is loaded to docker images with tag ...
user avatar

1
2 3 4 5
14