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
1 vote
1 answer
22 views

kubernetes daemonset fails to pull docker image from the cluster

I am having issues with my Kubernetes cluster daemonSet. I have deployed this yaml file on my cluster. It looks like the daemonSet is failing to pull the docker image from the registry. apiVersion: ...
0 votes
0 answers
9 views

etcdserver: request timed out

I've backed up my etcd and after restoring it, i can't Create/Update/Delete anything in my cluster! I've exactly went through the docs Here are my steps: Backing up etcd Save the snapshop sudo ...
0 votes
0 answers
13 views

Round robin for multiple egress IPs on Azure Kubernetes cluster

I have an Azure AKS cluster setup, in which there're multiple pods executing logic that eventually calls an external 3rd party service using HTTP. Currently there can be up to 100 calls per minute, ...
0 votes
0 answers
10 views

Can helm print pod name if deployment is failed?

If I deploy a deployment to kubernetes using helm install ... --wait --debug, the installation can be failed because of failing of the pod (the command failed or timeout exceeded). But there is no pod ...
0 votes
1 answer
21 views

How can I get everything to use the same load balancer on DigitalOcean?

I have a LoadBalancer service, and an Ingress that routes to various ClusterIP services. I've given both of them the following annotation: annotations: kubernetes.digitalocean.com/load-balancer-id: '...
1 vote
1 answer
13 views

Combine Helm charts or leave separate?

I'm new to Helm and my first task was to recreate a simple pipeline. This pipeline is just: PostgreSQL -> Spark, with ELK monitoring the instances. Someone mentioned I may be able to combine all of ...
0 votes
1 answer
15 views

Kubernetes Job Metrics in Prometheus

I want to create a Kubernetes Job object like the example: https://kubernetes.io/docs/concepts/workloads/controllers/job/ Now imagine I want to have the result (in this case the value of Pi: 3.14159......
0 votes
0 answers
13 views

Can I use Istio as an API Gateway?

We have lots of ingresses in our K8s environment that are associated with our publicly available load-balancer in AWS EKS. Thus these services are publicly available, something we don't like for ...
1 vote
2 answers
415 views

Unable to configure cert-manager. Wrong status code '403', expected '200'

I', trying to configure a cert-manager in a Baremetal server. I followed this link & this one the k describe challenge my-domain.com-xqwh4-4005106243-2059835058 get Status: Presented: true ...
0 votes
1 answer
22 views

What is the best way to reverse port forward information from a Kubernetes cluster to localhost?

I am attempting to reverse port forward information from a Kubernetes pod 192.168.49.2:30085 to my locoalhost:8000 but I am having issues. The goal is to get the same response as curl 192.168.49.2:...
2 votes
1 answer
126 views

Gitlab pipeline + Jump host + execute HELM

What is worked: Steps: directly go to server via SSH (behind the JH) via SSH to another server pull from Artifactory for testing only executing HELM chart to pull from artifactory and deploy on k8s ...
0 votes
0 answers
9 views

How to properly escape brackets in ArgoCD?

I have an ArgoCD + Argo Workfows setup. In my manifests files, I am trying to escape double brackets since I have some helm apps, and if I manually edit the Argo workflow file with the expression ...
0 votes
1 answer
46 views

NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

We have a cluster with 4 worker nodes and 1 master, and the flannel CNI installed. 1 kube-flannel-ds-xxxx pod running on every node. They used to run fine, but 1 node suddenly entered NotReady state ...
0 votes
1 answer
15 views

Is there a "tracing" service that comes with Istio?

This page: https://istio.io/latest/docs/tasks/observability/gateways/#option-2-insecure-access-http Shows how to setup external visibility to the telemetry addons for Istio. One of those is shown to ...
-1 votes
0 answers
13 views

Kong Nginx timers in pending state

Greeting, prometheus query kong_nginx_timers exposes 0 running timers and static number of pending timers all the time. Any explanations? how to test? What query to use in order to alert on too many ...
1 vote
3 answers
290 views

How to expose a service ( Experssjs Api ) deployed on minikube ( 192.168.49.2 ) to be able to access it from another device in the same network?

I've created a service inside minikube (expressjs API) running on my local machine, so when I launch the service using minikube service wedeliverapi --url i can access it from my browser with ...
0 votes
1 answer
11 views

Proper technologies to create a horizontably scalable index search

I am sorry for the newbye question. Im trying to figure out the best architecture / set of technologies to implement some very specific system: I have several databases indexes (used for searching ...
1 vote
1 answer
148 views

Cannot start Kubernetes Dashboard

I'm trying to install Kubernetes Cluster with Dashboard on Ubuntu 20.04 TLS using the following commands: swapoff -a # Remove following line from /etc/fstab /swap.img none swap sw 0 ...
0 votes
0 answers
11 views

Kubernetes etcd db size grows continuously and system gets unstable when using --anonymous-auth=false

I have a problem with the growing db size of etcd. This causes the entire Cluster to become unstable. Pods gets evicted and the Kubernetes-API server crashes every now and then. I identified that this ...
0 votes
0 answers
12 views

Dev/prod tagging strategy with large docker images

I am currently implementing a CI/CD pipeline for a machine learning docker image that is to be deployed on a Kubernetes cluster after the image is built and sent to a Harbor image registry. There is a ...
0 votes
0 answers
15 views

failed to acquire lease: subnet "10.244.0.0/16" specified in the flannel net config doesn't contain "192.168.0.0/24"

I'm trying to configure Kubernetis with web dashboard. I use these steps: swapoff -a Remove following line from /etc/fstab /swap.img none swap sw 0 0 sudo apt update sudo apt ...
0 votes
1 answer
10 views

Limit and request decleration

it's needed to add "" OR '' to the request/limit configurations? For example: resources: limits: cpu: 100m memory: 300Mi requests: cpu: 1m memory: 50Mi vs. ...
0 votes
2 answers
42 views

Container logs for helm install

Is it possible to print to helm install (or helm upgrade) output the logs of the deploying containers (logs that are available by kubectl logs command)?
0 votes
2 answers
40 views

What is the supported method for installing Kubernetes on OpenStack?

If I want to install Kubernetes on OpenStack, is there a supported method to do this?
1 vote
1 answer
28 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 ...
0 votes
0 answers
10 views

How to Scale Down Nodes on GKE if there are Cluster-Wide Minimal Resource Limits?

I am pretty new to Kubernetes and GKE. I have a cluster which has two node pools and I get a notification for them: Can't scale down nodes because it would violate cluster-wide minimal resource limits ...
3 votes
2 answers
44 views

K8s cluster not deploying deployments across all the nodes

I am a beginner in kubernetes. I have a cluster running with 4 nodes. All the nodes are currently running fine. They are not tainted, or drained. Every time I deploy a deployment it will only deploy ...
0 votes
0 answers
74 views

Why does limiting CPU cause Kubelet delaying pulling

When I limit the CPU limit of a Kubernetes job via spec.containers[].resources.limits.cpu, I'm observing a substantial delay between the Pod being scheduled, and the image starting pulling. What is ...
0 votes
1 answer
27 views

Kubernetes deployment with multiple containers

I have two containers, worker and dispatcher. I want to be able to deploy N copies of worker and 1 copy of dispatcher to the cluster. Is there a deployment that will make this work? dispatcher needs ...
1 vote
1 answer
11 views

Setup Folder When Setting up Kubernetes Storage

I am trying to setup automation around my Kubernetes storage and hitting some problems. I thought I would ask if there is a solution for this in the community. The two Kubernetes storage options I am ...
0 votes
0 answers
5 views

Kubernetes AAD system managed identity?

I've looked all over Google, and everything seems to point to usee-assigned managed identity, which is great, but a hassle to maintain. Does anything support system-assigned Identity, at a pod level? ...
0 votes
1 answer
26 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). ...
0 votes
0 answers
14 views

How do I "abstract" services like Ingress and secrets containers with Helm to make them configurable by clients?

I have some clients that want to use a couple of my services that I plan to bundle as containers with a Helm chart. I want to be able to deliver these without making assumptions about where they ...
0 votes
1 answer
246 views

How can I deploy a Kubernetes cluster onto OpenStack with Terraform?

I know OpenStack has a supported method of installing a Container Container Orchestration Engine (COE) like Kubernetes using Magnum. I can not use Magnum because I am not an administrator on OpenStack ...
0 votes
0 answers
11 views

Istio set token claims as header to upstream

I have done istio configuration for JWT security by adding Authentication and Authorization policies. My token gets validated against the JWKS URI successfully and authorization rules restrict the ...
0 votes
1 answer
74 views

micrometer exposing actuator metrics vs kube-state-metrics vs metrics-server to set pod request/limits

micrometer exposing actuator metrics to set request/limit to pods in K8svs metrics-server vs kube-state-metrics -> K8s Mixin from kube-promethteus-stack Grafana dashboad It's really blurry and ...
45 votes
6 answers
120k views

What does "Does not have minimum availability" in k8s mean?

What does "Does not have minimum availability" mean? A GitHub discussion was found, but it is not clear to me what the error message means.
0 votes
0 answers
20 views

Lacework vs Snyk for Container Scanning

I'm looking for a comparison on kubernetes container scanning tools. We use Amazon EKS. My company already uses both Lacework and Snyk's other products. The goal is to scan an image on deploy and ...
0 votes
1 answer
22 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 ...
0 votes
1 answer
17 views

HorizontalPodAutoscaler scales up pods but then terminates them instantly

So I have a HorizontalPodAutoscaler set up for my backend (an fpm-server and an Nginx server for a Laravel application). The problem is that when the HPA is under load, it scales up the pods but it ...
0 votes
0 answers
12 views

How to Isolate USB devices that are attached to kubernetes pods running with privileged mode

K8s Node has 10 pods running. The current issue is if I attach a USB to any one pod that is visible on all other pods running on the same Node. I am looking for a solution to isolate the USB that ...
1 vote
1 answer
38 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 ...
0 votes
1 answer
16 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) ...
0 votes
2 answers
85 views

Group authentication in kubernetes

I am trying to implement group based authentication in k8s with RBAC. My requirement is as below: There is a linux group named "readonly". There are 3 users reader1, reader2 and reader3 in ...
0 votes
0 answers
16 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 ...
0 votes
1 answer
26 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 ...
1 vote
1 answer
48 views

Should we deploy Storage Class Per Application OR one Storage Class for All applications?

I am using aws-ebs-csi-driver on k8s for persistent volumes. I came across a scenario where I can create ebs storage class once and then use it across all the statefulsets deployments to create ...
0 votes
1 answer
46 views

ImagePullBackOff err while pulling docker image in different project in Google Cloud

I am trying to pull a private image from Artifact Registry repo in Google Cloud from a kubernetes cluster running in a different Google Cloud project using kubectl. kubernetes version 1.20.15-gke.1000 ...
0 votes
1 answer
43 views

Kibana kubernetes all containers dashboard

How to create dashboard which will show all running containers in a namespace along with how many different channel (header in route/rest api calls) calling the routes of that container?
1 vote
1 answer
50 views

TCP communication blocked during Pod termination in Kubernetes

I have a cluster running on AWS EKS, v1.20.7-eks-d88609 I have a Pod and a NodePort Service to expose it to the outside. Some clients will connect to it through a TCP connection which will be kept ...

1
2 3 4 5
14