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
1
vote
1answer
9 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
10 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
24 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
46 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
10 views

Automation for Harbor certificate renewal and installation process:

Can anyone please suggest options for the process to automate kubernetes harbor certificate Renewal and installation. I have an option with cert manager but i need to hv a job running on Jenkins for ...
0
votes
0answers
13 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
0answers
9 views

Helm chart: Not getting HPA for Postgres

I am using the Postgres Helm chart of Bitnami/charts, They have the Horizontal scaling feature for scaling up and scaling down the replicas of the pod, but for increasing up and decreasing down the ...
0
votes
1answer
22 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
1answer
14 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
43 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
12 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
15 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
27 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
17 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
19 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
10 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
31 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
11 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 ...
1
vote
0answers
53 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
35 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
26 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
20 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
17 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
32 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
21 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
13 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 ...
0
votes
0answers
22 views

How can I create an architecture for this application?

Dears, still trying to get my head around Microservices/clusters... I have an application which consists of a PHP part and a Java Part. It's a game and with the PHP part I do the administration of ...
4
votes
1answer
38 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 ...
0
votes
0answers
27 views

Using swap with Kubernetes (kubeadm). single node, no horizontal scaling needed

I'm using a non-managed installation of Kubernetes (kubeadm) as a single-node master, on a dedicated server (debian 10). By design, I have no intention to scale horizontally (scale up by adding more ...
1
vote
2answers
89 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
27 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
41 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
0answers
7 views

Is there a way to query whether a job is assignable in kubernetes

I have a job in kubernetes that can benefit for more GPU resources, but if I request 4 GPUs the probability that my job will be assigned in a timely manner goes down. Right now I manually try to ...
0
votes
2answers
16 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
24 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 ...
0
votes
0answers
13 views

How to find the reason a kuberntes job/pod isn't assigned to a specific node?

I sometimes have Kubernetes jobs/pods in PENDING state that I think should be assigned to a node based on a look at our internal resource availability. I'd like to answer a specific question: Why is ...
2
votes
1answer
46 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 ...
0
votes
0answers
18 views

Are windows containers supported on Minikube

I was wondering if minikube supports running Windows containers? Specifically I was trying to run a container based on the image mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-...
1
vote
1answer
41 views

Deploying a statefulSet with static volume provisioning but controller insists to use dynamic

I am trying to deploy a statefulSet that will use static volume provisioning (claim existing PVs) based on their label. However, it seems that the persistentvolume-controller is trying to provision ...
2
votes
1answer
35 views

How can I best deliver read only data assets to a Kubernetes application?

I'm migrating an HPC app to Kubernetes, and am trying to determine the best way to provide read only data assets as a configuration managed snapshot. Previously, my team had delivered our ...
1
vote
1answer
15 views

kubectl create deployment not has the option containerPort

When I execute kubectl create deployment nginx --image nginx --dry-run=client -o yaml it does not have options --port or --containerPort. My yaml is: apiVersion: apps/v1 kind: Deployment metadata: ...
0
votes
0answers
26 views

kubernetes ingress controller not redirecting http to https

I have deployed an app using Kubernetes and I used Nginx-Ingress with my own SSL certificate, but the ingress is not redirecting the http to https. I used these annotations but still not working ...
1
vote
1answer
27 views

Managed MySQL cluster - similar solution for a private cloud

Is it possible to build a similar solution to managed MySQL cluster on a private cloud (VMware vSphere / Hyper V). Even with Kubernetes. A solution which supports auto-scaling, auto-upgrade, multi-...
1
vote
2answers
39 views

Whats the point of circleci orbs?

I'm looking at: CircleCI Orb for kubernetes Whats the point of this? Whats the benefit of an orb which is a CircleCI specific feature rather than say a bash function/script (which is more ...
2
votes
1answer
23 views

GitLab CI/CD page listing many gitlab runners that no longer exist

I am running GitLab Runner using a Helm chart as described on the GitLab Runner Helm Chart page. Everything seems to be working, but after about two months of running I see on my GitLab group that ...
2
votes
1answer
9 views

Angular config maps in kubernetes

How can I integrate a config map into my angular application in kubernetes? Any useful blogs or videos implementing this would be helpful. I found a few, but they didn't work for me.
1
vote
0answers
50 views

How can I ensure Helm doesn't install a dependency twice?

If I have a chart, say ChartA, that has a dependency on ChartB, I want to only install ChartB if it hasn't been installed already. Why? Let's say I run 2 copies of ChartA, and they both need a ...
0
votes
0answers
17 views

Starting a secondary container from post start

I'm using Docker & Kubernetes for my project. Here's a doubt that I was unable to get clarified from elsewhere: I have two docker images let's call them x1,x2. Two jobs j1,j2 will have to be run ...
1
vote
0answers
23 views

Can't set up basic k3s cluster on raspberry pi setup

I apologize in advance if this is trivial as I am an undergrad and quite new to kubernetes, raspberry pis, and networking in general. I only included the fact I am working on Raspberry Pi for ...

1
2 3 4 5
8