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
1answer
8 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?
0
votes
1answer
14 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
36 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
15 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 ...
1
vote
1answer
15 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
37 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
0answers
16 views

Help on Setting up k3s

I wanted to learn Kubernetes so I read through a lot of articles about it and I really want to try using it. So I signed up for Azure trial and learnt few things about how to do stuffs with Azure and ...
0
votes
1answer
14 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 ...
0
votes
0answers
19 views

Kubernetes Node randomly fails with “Cannot connect to the Docker daemon”

In my kubernetes cluster sometimes a node becomes NotReady with the error ContainerGCFailed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. The node ...
0
votes
1answer
22 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
21 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
0answers
17 views

How to check Kubernetes Group RBAC using kubectl auth command?

We're using Docker EE Kubernetes and UCP allows creation of Organizations and Teams under each Org. We're using LDAP groups and authentication, noticed that some of the users in the Team are unable to ...
0
votes
1answer
34 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 ...
0
votes
0answers
9 views

Traefik HTTPS ingress for application outside of cluster

I have an application that runs in it's own vm on the same bare metal server. I also have a k8s setup which runs multiple applications behind traefik. I want to use the k8s traefik to reverse proxy ...
0
votes
0answers
10 views

How to automatically add externalips in nodeport to nginx ingress in baremetal?

We are running Kubernetes in baremetal and we are looking into nodeport and network load balancer as an alternative to MetalLb as we experienced timeouts and drops using BGP/MetalLb So we looked into ...
1
vote
0answers
18 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 ...
0
votes
0answers
12 views

Deleteing specific pods in a statefulset

I have a statefulset application, because it is important to communicate with the same pod after initiation of the communication. Every pod communicates with other potential client. When some client ...
0
votes
0answers
16 views

Run 'kubectl' commands from my localhost to GKE - but via tunnelling through a bastion host

Currently... I have a GKE/kubernetes/k8s cluster in GCP. I have a bastion host (Compute Engine VM Instance) in GCP. I have allowlisted my bastion host's IP in the GKE cluster's Master authorized ...
1
vote
1answer
36 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 ...
0
votes
0answers
23 views

http request timeout using horizontal pod autoscaler with traefik pods (Kubernetes load balancer)

Context Our production Kubernetes clusters configured to use multiple traefik pods (deployment of several replicas) and HPA (Horizontal pod autoscaler) as well as cluster node autoscaler. We notice a ...
1
vote
1answer
23 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 ...
1
vote
1answer
25 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
15 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
28 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
62 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
0answers
16 views

Auto Scaling workloads without running out of compute in kubernetes

I have a number of pods running and horizontal pod auto scaler assigned to target them, the cluster I am using can also add nodes and remove nodes automatically based on current load. BUT we recently ...
0
votes
1answer
26 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
20 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
46 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
18 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
18 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
30 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
30 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:...
0
votes
0answers
26 views

Gitlab AutoDevops: Integrate pipeline with EKS and ECR registry

I'm new to GitLab auto devOps and I'm trying to publish a NodeJs project (Gitlab example). I've an EKS Kubernetes cluster, correctly integrated in my Gitlab instance, and an ECR as container registry. ...
0
votes
0answers
12 views

Move k8s persistent volume to new aws zone

I'm trying to shrink my GitLab EKS cluster to one node right now. I have multiple persistent volumes that belong to different availability zones. If I shrink my cluster down to one node, then I'll ...
2
votes
1answer
34 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
12 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
177 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
55 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
31 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
0answers
22 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, ...
1
vote
0answers
19 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
36 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
24 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
16 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 ...
0
votes
0answers
13 views

Kubernetes how to make Deployment to update image managed in separate git repo

I want my kubernetes cluster (on google cloud) to automatically rollout new images with a specific tag, let's say dev, every time the developers publish a new container with this tag. I have already ...
5
votes
1answer
45 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
97 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
28 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 ...

1
2 3 4 5
8