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

What reasons should I NOT use a private DNS zone and CNAME services in my AWS/K8s environment?

I have a Kubernetes cluster in AWS, with apps that talk to AWS services like RDS, Elasticache, Elasticsearch, DynamoDB, etc. For the services where it's available (Elasticache and RDS, and more ...
0
votes
0answers
12 views

How to troubleshoot Pod-to-Pod communication cross nodes?

Prerequisite: I use VirtualBox to setup 2 VMs. VirtualBox version is 6.1.16 r140961 (Qt5.6.2). The OS is CentOS-7(CentOS-7-x86_64-Minimal-2003.iso). One VM as kubernetes master node, named k8s-...
1
vote
2answers
17 views

Kubernetes configuration with yaml anchors

I have a deployment.yaml file and want to reuse the environment for all my deployments like this: apiVersion: apps/v1 kind: Deployment metadata: name: beat spec: selector: matchLabels: ...
0
votes
0answers
4 views

What are possible backup status in velero?

I am using velero for k8s cluster backup. I was looking for possible backup status in velero. I couldn't find any proper documentation on this. Can someone please help
0
votes
0answers
4 views

Best pv storage solution for on-premise k8s cluster

I have on-premise cluster with 3 worker nodes, I have confluent kafka installed and I need it for 3 namespaces, what is the best storage solution I can use to manage the persistence here, I am trying ...
0
votes
0answers
20 views

How to get CPU and Memory usage of nodes in a specific Kubernetes instance group?

I have a couple separate instance groups, and kubectl top nodes will display the CPU and Memory usage of all nodes. I'd like to be able to just ask for the information for a specific instance group if ...
0
votes
0answers
9 views

Remove resource from Kustomize base?

I have a kustomize base that I'd like to re-use without editing it. Unfortunately, it creates a namespace I don't want to create. I'd like to simply remove that resource from consideration when ...
2
votes
1answer
19 views

Data processing infrastructure

We are building a system for data science in AWS and our flow is pretty simple. Get the data - From redis get the model - From FSx/EBS run. This process script should take something like 5-10 ...
0
votes
1answer
18 views

Helm Installation fails with shared config maps

I have a couple of deployments in Kubernetes packaged using Helm. Both the deployments are different but they share the same config map. When performing installation via Helm the first deployment is ...
0
votes
1answer
17 views

Helm Repo: can it host dockerfiles and other image-building artifacts

I have a service that I want to port to Helm. It's a django application that requires memcached and postgresql and a forward proxy like nginx. I would ideally like to have one repository with all that ...
0
votes
0answers
13 views

Kubernetes monitoring with Kibana

I want to monitor my Kubernetes cluster with Kibana dashboard and have installed metricbeats and kube-state-metrics. The question is which critical metrics should I monitor first and is there some ...
0
votes
0answers
4 views

Generating C# client from Kubernetes for CustomResourceDefinitions without GO

I am working on a home-made C#.NET kubernetes dashboard admin. I want to implement custom resources in this project but would like to avoid writing the CustomResourceDefinition models in C# by hand. I'...
2
votes
1answer
33 views

branch specific jenkins pipeline trigger

I am trying to trigger a jenkins pipeline job only when a pull request has been approved & merged to a specific github branch in our CI/CD implementation. currently whenever i merge a PR to ...
0
votes
1answer
26 views

Docker update with persistent storage and 0 downtime

I have a docker container running with persistent storage. When I try to update now I kill the container, and rerun the updated image all over again. I've considered setting up the new container first,...
1
vote
1answer
32 views

Get all Deployments referencing given ConfigMap by the ConfigMap's name

Suppose I have a ConfigMap: apiVersion: v1 kind: ConfigMap metadata: name: london-tz-config data: SERVER_TIMEZONE: "Europe/London" I also have about 50 distinct Deployments. Let's say ...
0
votes
1answer
23 views

One Repository for Kubernetes configuration or one configuration per application repository

We are currently migrating our Services to a Kubernetes environment. My question is if the configuration yaml file for each application should be in the repository where the application source itself ...
1
vote
0answers
16 views

Copying a large number of files (>4GB) into a Kubernetes pod results in error code 137

I'm trying to find a workaround for this that isn't incredibly slow. I'm trying to download a large data folder from a Kubernetes pod for reupload to another cluster that is not connected to the ...
0
votes
2answers
30 views

Start only one pod at a time in kubernetes

Is it possible to tell kubernetes, that when performing a deployment of multiple pods that it should start only one at a time and only create the next pod if the previous has completely started up? It ...
-1
votes
1answer
29 views

best Kubernetes platform for deploying apps while learning

I want to practice deploying app on real environment while I am learning Kubernetes. Do you know any affordable cloud platform for this purpose?
0
votes
0answers
21 views

GoLang API support for creating kubernetes cluster setup

We would like to automate the installation & configuration of below components in kubernetes control plane: controller manager cloud controller manager etcd kube API server kube scheduler We are ...
0
votes
1answer
15 views

Kubernetes: Custom second scheduler container unable to start

I tried to add a new scheduler to the master node as a static POD. I create the yaml file and save it. The pod as been created and his state is running but the container is unable to start. the ...
0
votes
0answers
10 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
11 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
9 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
34 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
53 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
27 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 ...
0
votes
0answers
18 views

“Authorized IP ranges should be defined on Kubernetes Services” blocks deployment pipeline

One of the security warnings I have in Azure Advisor is: Authorized IP ranges should be defined on Kubernetes Services Restrict access to the Kubernetes Service Management API by granting API access ...
2
votes
0answers
26 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
27 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
50 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
19 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
34 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
48 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
19 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
16 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
2answers
35 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
0answers
25 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
32 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
32 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
18 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
74 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
10 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
11 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
15 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
78 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
2 3 4 5
9