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
254 views

kustomize apply nameprefix and commonlabels to a list in path

i have this: kustomization.yaml: apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization configurations: - configuration.yaml namePrefix: app-prefix- resources: - logging-output.yaml - ...
user avatar
0 votes
0 answers
28 views

Can a Kubernetes Operator enforce Pod settings

I am developing a Kubernetes Operator and I would like to enforce some particular Pod settings whenever a Pod is referencing some custom ressource (according to a CRD - Custom Resource Definition - ...
user avatar
  • 101
1 vote
1 answer
356 views

What is the difference between Fluent Bit and Prometheus?

From what I've seen, Prometheus scrapes data and metrics and displays them and Fluent Bit collects logs and metrics and can output them. So, are they doing the same thing, i.e. should I choose one ...
user avatar
  • 13
0 votes
1 answer
336 views

Access to k3s DNS from host

I have a single node k3s "cluster" with few Services on it. Whenever I want to access to one of them, I'm forced to either do a port-forward or a describe (and get the endpoint, but it ...
user avatar
0 votes
1 answer
41 views

Internal proxy for external system

I have a web server in a Kubernetes Deployment which uses an ElasticSearch instance on ElasticCloud. I have parameterised (thanks to environment variables) my container, from a Secret, with this kind ...
user avatar
0 votes
0 answers
30 views

Restoring backed up data to influxdb pod via post-hook helm job

I have a influxdb pod created via helm chart from bitnami running in my kubernetes cluster with bind address enabled at 8088. I would like to import data into it after deployment of the pod. For this ...
user avatar
0 votes
0 answers
41 views

Mongodb Kubernetes Operator ReplicaSet change port

I have tried every configuration examples from https://docs.mongodb.com/kubernetes-operator/master/reference/k8s-operator-specification/ but no matter what i do, the port of the running ReplicaSet ...
user avatar
0 votes
0 answers
17 views

Unable to fully remove old certmanager version

A long while back, I had been using the old version of cert-manager, when it was just named certmanager. Since then, I've deleted that old deployment and all of its CRDs, and installed the new version,...
user avatar
0 votes
0 answers
45 views

Expose each individual member of a headless service to external traffic

I'm using a statefulset + headless service to stand up horizontally-scaled dedicated servers. I'm looking for a solution that will allow external traffic to be directed to a specific server and hit it ...
user avatar
0 votes
1 answer
1k views

It seems like the kubelet isn't running or healthy [closed]

What did I want to do here? I want to make 3 node Kubernetes cluster First I install Ubuntu server 20.04.3 LTS in my VMware and this way too I make 3 servers. After I install docker and Kubernetes and ...
user avatar
1 vote
0 answers
74 views

From dev to production workflow

We are creating micro services environment which needs to be delivered to prod, now we want to start the CICD design, is there any reference which talks about getting from a Commit ->PR-> tests-&...
user avatar
  • 111
0 votes
1 answer
105 views

how to schedule container in GCP

I have 5 tasks in my project that need to be run periodically. Some of these tasks are run on a daily basis, some on a weekly basis. I try to containerize each task in a Docker image. Here is one ...
user avatar
1 vote
0 answers
26 views

Kubernetes API watch from multiple replicas

I have a service that uses the Kubernetes API to watch the execution of some pods in my cluster. I want multiple replicas of this service running at the same time, to increase resilience. However, if ...
user avatar
  • 11
0 votes
1 answer
205 views

Deploying microservices in a consistent way using different gitlab repositories

I'm looking for a good organization to deploy our solution consisting in multiple apps using Gitlab and K8S. Our SaaS app that is made of : A backend app, mostly our API (django) A user app (React) ...
user avatar
  • 103
3 votes
2 answers
315 views

Ingress vs Load Balancer

I am new to kubernetes and I am trying to expose an application publicly. I am using Scaleway as the cloud provider (if it matters). From what I understand, there are multiple ways of doing this. ...
user avatar
0 votes
0 answers
8 views

Is there a way to store backups locally with Velero?

I am using k3d for a local development workflow in Kubernetes, and I am wondering if there is a way to store backups locally instead of having to use a cloud storage bucket.
user avatar
1 vote
2 answers
65 views

K8S Init Container CRD/Operator

I want to inject an init container into some pods. I know how to specify init containers in a pod's spec, but I don't want to do that directly because these sidecars are invisible to my engineers. I ...
user avatar
0 votes
1 answer
223 views

How to fix wrong /etc/resolv.conf in kubernetes pods after creating a cluster with EKS eksctl with vpc-cni plugin?

So, i've created a kubernetes cluster in EKS with eksctl, ClusterConfig: apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: exchange-develop region: us-east-1 version: '1.19' ...
user avatar
  • 101
1 vote
0 answers
14 views

Fetching a URL from a kubernetes worker pod process with lvh.me for development

This is not an issue we face in production but in development using www.lvh.me which resolves to 127.0.0.1 I am using Docker Desktop for Mac. To simplify the issue, we have 2 pods. Web application ...
user avatar
0 votes
0 answers
19 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 ...
user avatar
  • 1
0 votes
0 answers
75 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 ...
user avatar
0 votes
2 answers
50 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 ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
  • 101
0 votes
0 answers
49 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 ...
user avatar
0 votes
1 answer
24 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 ...
user avatar
0 votes
2 answers
109 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 ...
user avatar
  • 113
1 vote
0 answers
21 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, ...
user avatar
1 vote
0 answers
90 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 ...
user avatar
  • 113
1 vote
1 answer
46 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 ...
user avatar
0 votes
0 answers
16 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.
user avatar
1 vote
1 answer
63 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 ...
user avatar
0 votes
1 answer
92 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 "...
user avatar
2 votes
1 answer
109 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 ...
user avatar
0 votes
0 answers
99 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: ...
user avatar
  • 101
1 vote
2 answers
259 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
0 votes
0 answers
44 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 ...
user avatar
0 votes
0 answers
185 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 ...
user avatar
0 votes
0 answers
21 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! ...
user avatar
0 votes
0 answers
64 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 ...
user avatar
1 vote
0 answers
26 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 ...
user avatar
  • 111
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
263 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 ...
user avatar
  • 172
0 votes
0 answers
113 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 ...
user avatar
1 vote
0 answers
24 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)...
user avatar
  • 111
1 vote
0 answers
78 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 ...
user avatar
  • 133
2 votes
0 answers
129 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, ...
user avatar
  • 172
1 vote
0 answers
23 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:...
user avatar
1 vote
2 answers
374 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 ...
user avatar
  • 111
0 votes
0 answers
31 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 ...
user avatar
  • 123

1 2
3
4 5
14