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

Private EKS behind corporate Proxy - with Terraform

I have built a private EKS cluster, im now going through the motions of trying to attach a Managed Node group to the cluster using Terraform. Looking through lots of resource the Node group required ...
0
votes
1answer
26 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 ...
0
votes
0answers
29 views

Deploy to kubernetes cluster using helm with smoke tests

I'm working on moving our micro-service to kubernetes cluster using helm charts. Flow will be Deploy the app Run automated smoke test If the test passes, route traffic to a new set of pods. If the ...
1
vote
1answer
42 views

How to run a single one-time command on a kubernetes instance/pod

Currently I have a setup on AWS with 4 EC2 machines. They provide a web interface that among other things also has a database search. My recent project was to move the database search to AWS Elastic ...
0
votes
2answers
81 views

Is it possible/fine to run Prometheus, Loki, Grafana outside of Kubernetes?

In some project there are scaling and orchestration implemented using technologies of a local cloud provider, with no Docker & Kubernetes. But the project has poor logging and monitoring, I'd like ...
0
votes
1answer
28 views

How to deploy MySQL server repeatedly

From fifty-thousand feet, how are, for example, multiple MySQL containers handled? In the context of my limited experience, simply running the container is insufficient, with additional configuration ...
2
votes
0answers
36 views

Grafana K8s microservices availability dashboard based on actuator uptime

I need to create a dashboard that is using micrometer prometheus spring actuator endpoint to show all services for a given namespaces in green boxes or red boxes depending on status, the boxes should ...
1
vote
1answer
52 views

What are the “User Mode” tools in kubernetes lens?

I have been using kuberentes lense and noticed under the cluster settings page an optional package called "user mode". Does anybody know what this means?
1
vote
1answer
20 views

Kubernetes used to orchestrate Containerized Machines

0 I am using k8s to orchestrate an environment on a local network. My idea is to deploy a number of linux machines each of which should have its own "External" IP. Right now I found guides ...
2
votes
1answer
445 views

How to add timeout to a helm chart?

I have a helm chart which pulls a lot of images from various registries and deploys a lot of pods. It runs a lot of k8s jobs before getting the pods up. Overall, helm install command takes huge time, ...
0
votes
0answers
111 views

How to automate Asterisk on Kubernetes with Ansible?

From thirty-thousand-feet, how would I use an existing ansible playbook in the context of Asterisk using Kubernetes? Or, coming at this in a step-wise fashion, what's the smallest indivisible portion ...
2
votes
1answer
503 views

Properly shutdown k3s on local machine

I've just installed k3s on my notebook (Ubuntu). Works fine. Great project. However, i do not need it to run 24/7 so, how do I properly shutdown the k3s cluster. Oddly, I cannot find anything about ...
1
vote
1answer
50 views

How to handle services when the developers provide incorrectly in k8s

I provided the script to provision a new feature environment inside k8s it will create all the configs required, namespaces, resources and whatever... in my script, I described this param: parameters {...
0
votes
1answer
69 views

config.yaml is not setting up a new context

I have a kubernetes Config file such as: apiVersion: v1 kind: Config preferences: {} contexts: - context: cluster: test-sim-development namespace: test-sim user: developer name: test-sim ...
1
vote
2answers
52 views

Spread pods over cluster

Current using AWS's auto-scale policy to start EKS worker nodes (min+desired 10, max 15) on a fixed time every day. There are 120 pods and 30 deployments. Obviously, only one node will be up firstly. ...
0
votes
1answer
105 views

Jenkins Helm Chart - kubernetes-plugin pulling image from a private gcr

I am failing to pull images from a private gcr repo through helm jenkins on a private k8s repo. I am getting: rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have ...
0
votes
1answer
90 views

Can't hit redis using DNS name in multi-container pod on Kubernetes

Can anyone shed some light on why this might not work? I can access redis just fine using the pod's IP address, $ rdcli -h 10.152.183.65 10.152.183.65:6379> but when I try to use the DNS name, I ...
0
votes
0answers
20 views

Should I run a database instance for each application? [duplicate]

I have multiple applications that all run in the same Kubernetes cluster. All are different side projects. They all have their own MongoDB instance separated by a namespace. Is that a good practice or ...
0
votes
1answer
359 views

Installing ingress controller, services and pods on K8s via Ansible

I've 3 Debian-10 VMs on a bare metal Proxmox host in my network and installed via Ansible the roles geerlingguy.docker and geerlingguy.kubernetes with complete default settings. The kubeadm on the ...
1
vote
0answers
26 views

How to use tcpdump to kubernetes loadbalancer assigned services

My k8 cluster has MetalLB. Now I want to get a tcpdump to check inter-communication. As described here In this mode a service is owned by one node in the cluster. It is implemented by announcing that ...
1
vote
1answer
390 views

SSH connection to jenkins server

I have a absh script which connects and exexutes programs from my local to remote server and now this should be executed from jenkins build so for this jenkins is taking continous changes from git for ...
1
vote
1answer
46 views

Deploying a single-page web application with a java backend on kubernetes and haproxy

My team (full stack) team develops single-page web applications using react as a client and spring-boot java apps as back-end. We deploy the applications on kubernetes. However, we have troubles ...
2
votes
1answer
175 views

Create service per pod in statefulset

I have a statefulset app which can have any number of replicas. The pods produced should be able to communicate to external comptures. Those pods must act statefully when clients communicate with them....
2
votes
1answer
16 views

Control GKE CICD from a Jenkins in a lab with private network?

For a test purpose I need to use my locally provisioned Jenkins with Vagrant in order to connect to GKE and use pods to build. Is that possible, because from what I read K8s will need access to ...
1
vote
0answers
34 views

How can i deploy docker image into kubernetes cluster using Jenkins single job run

Certificate will be generated by a tool Jenkins instance installed. Need to automate certificate renewal process for kubernetes cluster.
3
votes
1answer
73 views

How can I expose Ingress service on 80 and 443 to the outer world

I used google compute engine to setup a Self Managed Kubernetes, While exposing ingress service via NodePort/LoadBalancer/EnternalIP, it is using default 30000 port range, But I want to expose it on ...
0
votes
1answer
31 views

How does Kubernetes terminate an instance after helm upgrade

I have a node.js application that is running on a Kubernetes cluster, I am using helm to manage it currently. I have ran into a bit of an issue, when the application starts it connects to a service ...
1
vote
0answers
30 views

K8s sig-storage-local-static-provisioner hostDir against /vagrant mount?

I am trying to set storage sig-storage-local-static-provisioner to /vagrant mapped folder on windows host, my expectation is that the localstorage calss will automatically provision pvs based on pvc ...
2
votes
0answers
82 views

How to deploy StatsD listening on UDP in kubernetes with external loadbalancer on AWS?

Our goal is to have StatsD deployed on k8s cluster running on AWS. Currently all existing applications using UDP to send StatsD metrics. As we understood from the kubernetes docs and tests we ...
1
vote
0answers
71 views

Lock down Kubernetes cluster to Github-hosted runners (GH Actions)?

After building a new container image in a GitHub Actions workflow, I would like to deploy it to a Kubernetes cluster (hosted in AKS) via the k8s-deploy action. This requires the cluster to be ...
1
vote
1answer
19 views

Monitoring K8s Pods in case of outage

K8s has self-healing builtin features, if a pod crash then it will be replaced with the new pod but its log is gone. So what is the best way to monitor K8s pods in case of outage?
1
vote
2answers
41 views

How do I list pod name/version across multiple clusters in Kubernetes

I have multiple clusters that I want to query and in each cluster I want to find and list the versions of the pods running in there. I've written a shell script that sets the namespace and then ...
2
votes
0answers
130 views

Confluent Kafka helm chart - broker pods not being able to communicate to Zookeper overtime

We are running confluent helm chart on a lot of clusters, we occasionally get brokers pods failing after some time and no self-heal after is following, the error in the broker usually is the following:...
2
votes
1answer
38 views

components in kubernetes master node?

I'm still a newbie learning the kubernetes and trying to clarify the details. I've read this document about the components and would like to know the structure of kubernetes master node: is it ...
1
vote
0answers
18 views

K8 / Cert-Manager / Errors and Possible YAML misconfiguration

I am attempting to get cert-manager working with Let's Encrypt and I am running into some interesting errors, such as cert-manager not being able to access resources. I am also seeing two certificates ...
2
votes
1answer
505 views

How do I delete a default AKS node pool when I get an error saying it's the “backend address pool of the basic load balancer”

I'm attempting to replace a node pool in Azure Kubernetes Service with a new pool (that has a larger VM size). The current pool was deployed using an ARM template that uses version 2019-06-01 of the ...
2
votes
1answer
409 views

Can a kubernetes pod be forced to stay alive after its main command fails?

After starting a long running kubernetes job we've found that the final result will fail to upload to its final location. We would like to force the pod to stay open after the main process fails so we ...
2
votes
0answers
56 views

Enable SSLv3 in Minikube Nginx Ingress

I have some problems with enabling SSLv3 in my Nginx Ingress used as a Minikube addon. I have read in docs how to do it. It should be as simple as adding single map. Unfortunately I haven't had much ...
1
vote
1answer
59 views

Pattern(s) to scale node.js based ETL

I have a node.js ETL application that transforms data from 1..n locations and from each location there will be 0..m transactions. The application is started via cron on a configurable interval, ...
2
votes
1answer
34 views

Why I cannot access k3s service from pod in rasbian?

I have installed K3S kubernetes on rasbian, and created a following mysql deployment on it: apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-data spec: accessModes: - ...
2
votes
1answer
42 views

How do I install local application dependencies in a Kubernetes manifest?

In a container, there are RUN statements that you can add to a containerfile (such as a dockerfile) to add further dependencies using the package manager like APT or DNF within a container. What is ...
1
vote
1answer
60 views

Best AWS EC2 instance class for general Kubernetes cluster

Hi We are deploying a fairly standard multiple purpose (data replication workers and some nginx web proxies) in an EKS cluster, and wondering what EC2 instance class people recommend for this workload....
0
votes
1answer
20 views

Istio Virtual service - enforce specific api version

I am having troubles creating an object within specific api group it gets switced from alpha to beta, why? networking.istio.io/v1beta1 vs networking.istio.io/v1alpha3 Note: I can control in the crd ...
5
votes
2answers
529 views

How is it a good practice to version your helm charts for each deployment?

I'm trying to set up a process to release a web app with helm in my company and I can't find a satisfying way. Basically each for each push in a feature branch, I want to: Build a docker image and ...
1
vote
2answers
114 views

How do we move to a modern CICD approach

This may also be a general pulse; but here lies the issue We use EKS, we have Jenkins, we have Ansible, we have Terraform, we have BitBucket; but none of these really form a pipeline and I'm stuck ...
3
votes
1answer
34 views

How does Kubernetes determine which node to use?

I am researching using Kubernetes on baremetal for our application. There's an issue I can't find info about. If a worker node dies, how does Kubernetes determine which node(s) to redirect its ...
3
votes
2answers
97 views

What is the way to update images in a configuration git repository when doing gitops?

i'm trying to do gitops I have a Configuration repo containing k8 manifests and different app repos. 1) App repo's CI build docker images and pushes into registry. 2) App repo's CI commits into ...
0
votes
2answers
35 views

EKS - created cluster from console with federated IAM admin - how to access

I have no programmatic access for the user who created the cluster only graphical. I tried a lot of things and I always get access denied on kubectl as I have to use another IAM identity that has ...
1
vote
1answer
28 views

Default StorageClass set up for Docker EE Kubernetes

We're using Docker EE Kubernetes on-prem set up and noticed that cluster(s) don't have default StorageClass set up. To the best of my knowledge this is supposed to be set up during install/set up, but ...
3
votes
1answer
57 views

Why do I need tools like minikube or microk8s to run k8s locally?

I'm just getting started on k8s and got stuck on running k8s locally (it's running, but I don't understand exactly) Pretty much all the tutorials on running k8s locally use minikube and I'm a little ...

1 2
3
4 5
10