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
0answers
13 views

Data Aggregation Strategies: How to avoid duplicate values when using multiple app instances?

I am building a data aggregation environment on Kubernetes. In my use case I am aggregating blockchain history one block at a time incrementally. To speed things up, I am deploying multiple instances ...
0
votes
0answers
15 views

Problem with kong's keep alive (api gateway)

I have 5 k8s worker nodes that each of them run a kong instance. I also have 24 upstream servers. One month ago the number of my threads on the upstream servers increased dramatically, therefore, I ...
0
votes
2answers
22 views

Automate starting and stopping of multiple containers on single production server

I am doing a project for my university where I have the following requirements: I want to start and stop (docker) containers with different apps I have a singe (university) server to my disposal I ...
0
votes
1answer
12 views

Apache Camel-k metrics in rancher embedded prometheus

I have a Kubernetes running Rancher 2.4.3. I have the cluster monitoring enabled in rancher, so that exists a Prometheus instance running, so as a Prometheus Operator. Recently I deployed a Apache ...
0
votes
0answers
18 views

Kubernetes & etcd Stability

I'm running into some stability problems with Kubernetes and etcd and I was hoping someone could give me some guidance. This isn't a new problem, but an ongoing one that was observed with current and ...
0
votes
1answer
11 views

Azure Kubernetes pod is inaccessible from another pod

Internally we have a Spark Executor and Spark Driver running in Kubernetes. When you run a Spark Job in Kubernetes, Spark will create 2 types of pods Spark Drivers and Spark Executors. The Spark ...
0
votes
2answers
28 views

Prodding Helm to refresh a deployment?

I am using Flux to automatically deploy a Helm Release from a git repository to a Kubernetes cluster. If I directly edit a resulting deployment object's spec (using k9s or kubectl edit, e.g. to ...
1
vote
0answers
16 views

Can kubernetes `--force` delete of pods be disabled by administrators?

Using kubectl delete pods PODNAME --force removes the pod from the Kubernetes API without checking the underlying pod deleted successfully. In most cases this means resources are locked indefinitely, ...
1
vote
0answers
21 views

Why is hpa scaling in the wrong direction?

I have two Horizontal Pod Autoscalers, for different deployments with identical metric value and target, and they are scaling in opposite directions. The condition of one ("dev") is ...
1
vote
1answer
20 views

Kubernetes: when does a deployment kill its pods?

I know that a pod may die for various reasons. For example in case of a node failure the pod is lost. However I can't find an answer to this question: are there any cases where the pod is alive and it ...
0
votes
0answers
6 views

K8s using Calico or VPC-cni to isolate namespaces on EKS

I need to isolate k8s namespaces on EKS (not Fargate), The only container that need to send requests to my server is ingress and communication between the same namespace.
1
vote
1answer
16 views

Kubernetes readinessProbe: do health-checks run forever?

I have some doubts about the HTTP readinessProbe: Suppose that the probe fails several times (failureThreshold) and a pod is marked as NOT READY. Will k8s keep trying the readinessProbe forever and ...
0
votes
1answer
15 views

evenly distribute pods over nodes

I've got an on-premise cluster with 1 master and 3 workers. Now there's a deployment with 3 replica's and they MUST be evenly distributed over all the nodes. Now we can use "...
1
vote
1answer
26 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
0answers
18 views

How to install Microk8s on Oracle Linux Server 7.9

I want to install Microk8s on an Oracle Linux Server 7.9 virtual machine, but I get an error using snap: $ sudo snap install microk8s --classic 2021-11-02T18:57:19Z INFO Waiting for restart... error: ...
1
vote
2answers
47 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
1answer
10 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 ...
0
votes
0answers
29 views

Deploying an app on EKS with kubectl and yaml, LB Instance status OutOfService

I have many services running in EKS with type: Loadbalancer. I'm trying to deploy another but the healthcheck keeps failing, so the LB does not forward any traffic because it thinks all the instances ...
0
votes
0answers
12 views

cni0 already has an ip address

I've got a k8s (on-premise) cluster with 1 master and 3 workers, all ubuntu, latest LTS version. 2 workers are running fine, but pods getting scheduled to one stay in the ContainerCreating state with ...
0
votes
0answers
18 views

Will the data be gone gone if the node goes down when using persistent volume? And how to prevent if that's the case?

I have created a cluster in Gke. I have created a presistant volume. In the host path I have given the path. And as I can understant It will be created in a worker node. What if the node goes down! ...
0
votes
0answers
18 views

Install cilium as network plugin for K8s

ITNOA I install K8s control plane node with kubeadm init with custom IP for control plane endpoint address and custom IP for API server address I try to install cilium as network plugin for K8s I run ...
1
vote
0answers
23 views

Launching VM instances only when needed

I am looking for the right tool to launch VM instances on a cloud platform only when I need them. Once launched, they should run a containerized script (let's call it a job) that runs for about 5 to ...
0
votes
0answers
8 views

MS SQL 2019 operator in k8s is ready for production?

ITNOA I am searching about MS SQL Server 2019 K8s operator very much, but I don't find any comprehensive documentations or help pages I just found Availability Groups on Kubernetes in SQL Server 2019 ...
0
votes
0answers
42 views

Istio Virtual Service Routing for RabbitMQ amqp protocol

I have setup my services using Istio Virtual Services. The URLs that applications external to the Kubernetes cluster use are controlled by a set of Gateway and Virtual Service resources that allow me ...
0
votes
1answer
54 views

Can any one suggest some good sites(free) that will help me improve my knowledge in Kubernetes?

I am kind of new to DevOps but I am really trying to improve my skills mainly in Kubernetes. It would be great help if you guys suggest some valuable references.
0
votes
0answers
20 views

How to access mysql pod in another pod(busybox)?

I am given a task of connecting mysql pod with any other working pod(preferably busybox) but was not able to that. Is there a way to do this task. I referred many places but the explanations was bit ...
1
vote
0answers
15 views

Is traffic routed through Rrancher when Rancher is used to setup a cluster?

I am learning k8n and want to clarify that I am understanding the traffic flow correctly. I setup Rancher on domain a.com (single node for now) and create a new Cluster (RKE) via it (master, 2 workers)...
1
vote
0answers
34 views

How do I use a raw volume with a database on Kubernetes?

I'm trying to figure out how to launch a web application in a Kubernetes cluster on AWS. Right now I'm not certain about a database. I can see that one can use raw block volumes, which are supposedly ...
1
vote
0answers
30 views

Create a Kubernetes Service that loads an external host url AND port

I have a url like this: http://myserver.mydomain.com:98765 I need to have this url be a Kubernetes service so I can address it in Kubernetes like this: my-service.mynamespace.svc.cluster.local. (So, ...
1
vote
0answers
18 views

calling shell commands on host from container

I've created a daemonset which adds a systemd unit and timer file to every host in the cluster. apiVersion: apps/v1 kind: DaemonSet metadata: name: logclean-updater spec: selector: matchLabels:...
1
vote
2answers
94 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
0answers
8 views

Openshift: Worker nodes /dev/mapper/docker_data filling up

I have a openshift cluster, my nodes move to a not ready state, and i always get the alert that my filesystem is filling up /dev/mapper/docker_data. how can i clean up the space in the worker nodes? I ...
2
votes
1answer
35 views

What parts of Kubernetes can have IP addresses?

Our network team says there an IP address in a subnet is being claimed and released seemingly at random. They are wondering if Kubernetes could be doing it. I know that Pods, Services and Nodes can ...
2
votes
3answers
39 views

What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR

We are using CircleCI to automate the building of images when merges are detected on our release branch. Those images are then being pushed to ECR, but I am unsure of the best way to refresh some or ...
4
votes
1answer
86 views

What is the best practise way to expose a service over https in kubernetes without exposing it to the internet?

Coming from Docker When I was still using Docker for running my services I had an nginx reverse proxy that handled issuing and signing certificates through letsencrypt automatically. Using this setup, ...
1
vote
2answers
85 views

Monitoring Kubernetes CronJob & Job in Grafana for today day only

I'm trying to create a Dashboard in Grafana that will show the status of Cronjob & Job success & fail. Currently i'm using kube_job_status_succeeded to get a status job, but the issue here ...
1
vote
1answer
45 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
2answers
45 views

Explaining ingress installation with HELM

I was trying to install ingress helm charts but found a couple of tutorials but they just insert the different steps without proper explanation, But I want to know what exactly each step means: ...
2
votes
2answers
37 views

How to structure/combine the installation of helm + deployment files

I have a Wordpress Helm chart, and a seperate ingress definition to go along with it, which I specified in a wordpress-deployment.yaml file. My workflow for installing would be: Install the helm ...
2
votes
2answers
58 views

How do developers handle developing large scaled dockerized applications locally?

I am currently working on a fairly large scale project (upwards of 250 docker containers), which has complexe dependencies on multiple APIs and front-end applications. The staging and production ...
3
votes
3answers
74 views

Kubernetes pod eviction and traffic draining for to be evicted pod

I'm trying understand to Kuberentes pod eviction behaviour and when it decides to terminate a pod how it manages that no request should be in process state when it is going to terminate a pod. It is ...
0
votes
1answer
25 views

kubectl retrieve update time for the resource

I'm wondering whether it's possible to get the time where my resource was updated? e.g. via $ kubectl describe deployment/myapp I can see CreationTimestamp but I want to know the last time new ...
0
votes
0answers
21 views

Creating empty ConfigMaps but not overwriting existing ones

I frequently have this problem when doing Kubernetes or OpenShift deployments (with or without helm, but in this question I'd like to focus on a solution involving helm): Most of our microservices ...
0
votes
0answers
68 views

GKE - Persistent Volume not able to mount to the if cluster have less than 4 nodes

I have a simple storage setup: [ GKE [ NFS Server -> PV -> PVC -> Deployment (Min 2 pods-HPA) ] ] GKE version: 1.19.12-gke.2101 The GKE cluster has 4 nodes before and I resize down to 3 nodes ...
0
votes
1answer
27 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?
2
votes
1answer
35 views

How to get public key from cert-manager?

I need to get a public key from cert manager from bash. How to do it properly? I can see the private key in kubernetes secrets; how to get public key that can be safely shared?
0
votes
0answers
25 views

K8s hosted services external access using dns name

Here is my setup : I have multiple influxdb running inside k8s (deployment), which are currently exposed via a ingress (nginx). My k8s is on-prem. Here is what I'm trying to achieve : I'd like to ...
0
votes
1answer
17 views

Scaling a stateful service which has primary/secondary architecture by setting a property

I have a java web stateful service which connects to mongodb and currently it is being deployed as a jar directly on the VM. This service has a property in properties file i.e. primary. If we set ...
0
votes
1answer
28 views

connection refused from webserver in container

I've got a simple python http server running on port 8080. class Handler(BaseHTTPRequestHandler): def do_GET(self): print(self.path) self.wfile.write(b'\n') return class ...
1
vote
2answers
53 views

k8s pods not load balanced

I've got a service running in an on premise k8s environment. It is basically an nginx image, and a call takes like 10 seconds. replicas is two and of course two pods are running. But almost if not ...

1
2 3 4 5
12