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

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

Terraform has the ability to provision resources on OpenStack: I have this working. Is there any easy way to provision multiple resources and to configure a Kubernetes cluster on top of OpenStack? I'm ...
0
votes
1answer
11 views

How to run short-lived command using kubectl

I was trying to measure pod startup time buy running the following: % kubectl run --image busybox --attach test -- date error: timed out waiting for the condition At first it seems like this command ...
0
votes
0answers
3 views

How traffic and scaling is handled when doing canary deployment in ArgoCD?

As the title suggests, I’m confused about when doing canary deployment using ArgoCD:
 What happens if I do - setWeight: 0 and test the canary. Full traffic will be going to the stable pods which ...
0
votes
1answer
19 views

Ingress and liveness probes unable to connect to pod, but works via port-forward

I'm having a really strange issue with a particular application that's using the same Helm chart as many other apps in our cluster, and all the others are working fine. The pods are running the ...
0
votes
1answer
8 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
vote
1answer
39 views

Helm: Long Running Jobs vs Long Running Hooks

I was wondering which would be more appropriate / idiomatic when writing a Helm-Chart: Perform long running operations (such as db-migration) as part of the helm install process via helm hooks and ...
0
votes
0answers
11 views

Making Istio Gateway accessible from another machine

I have a minikube cluster with Istio and I have configured an Istio Gateway as described here. If I curl from the machine, where the cluster is, to the gateway everything works fine. However I want to ...
0
votes
0answers
22 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 - ...
0
votes
0answers
22 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 - ...
1
vote
1answer
26 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 ...
0
votes
1answer
37 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 ...
0
votes
1answer
28 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 ...
0
votes
0answers
7 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
13 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,...
0
votes
0answers
15 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 ...
0
votes
1answer
44 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 ...
1
vote
0answers
68 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-&...
0
votes
1answer
25 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 ...
1
vote
0answers
18 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 ...
0
votes
1answer
41 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) ...
3
votes
2answers
127 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. ...
0
votes
0answers
5 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.
1
vote
2answers
24 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 ...
0
votes
1answer
62 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' ...
1
vote
0answers
8 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 ...
0
votes
0answers
15 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
27 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
41 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
15 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
31 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
17 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
59 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
19 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
23 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
8 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
18 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
36 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
50 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
28 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
71 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
30 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
48 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
19 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
30 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
25 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
10 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
88 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 ...

1
2 3 4 5
12