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

Can't reach AWS/EC2 + K3D + nginx + service

I'm having trouble accessing my K8S service... I'm running the service in K3D on an ec2 instance in AWS. I have deployed a simple HTTP rest API to this and I want to access it via a browser. I have a ...
0
votes
0answers
19 views

Jenkins and Kubernetes Design Involving GitHub

I am new to DevOps and am currently designing a CI/CD pipeline that involves integrating GitHub webhooks with Jenkins in a Kubernetes environment, and I would like to see whether this is feasible or ...
0
votes
2answers
36 views

Build image from inside a pod or container

It seems pretty easy to build image when I just mount the docker.sock in a container. It's same as what I do on hosts machine. Simply docker build . -t image/name:sometag. But when I need to do the ...
0
votes
1answer
24 views

Google K8s Mirror offline?

Heys dudes, More someone got error when trying update cache of the Google K8s repositories? I have been got the error about NO_PUBKEY Err:10 https://packages.cloud.google.com/apt kubernetes-xenial ...
0
votes
1answer
16 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
13 views

What are snap.microk8s.x processes?

Yesterday, we had a downtime because of CPU 100% usage. When I checked new relic, it showed a few processes starting with snap.microk8s. taking all CPU power. I'm not familiar with microk8s. But, ...
1
vote
1answer
58 views

How to use Hashicorp Vault with NodeJS application?

I have Node JS app inside pods, which needs to read vault secrets. So far I found 2 methods for doing that Using init container to mount secrets as .txt files and read/parse them in my app Using node-...
0
votes
0answers
14 views

Kubernetes workers outside the SDDC cloud not connect to the masters

Please help us with the following problem: We are using calico from https://docs.projectcalico.org/manifests/calico.yaml to setup Kubernetes network on SDDC cloud. The masters are inside the cloud, ...
0
votes
1answer
18 views

kubectl asking for username (k8s cluster created via kops)

I created a kubernetes cluster using kops and deployed it in AWS (not EKS manual cluster using kops). Then I export in my local machine the configuration like kops export kubecfg --state ${...
2
votes
1answer
36 views

Redirect to a custom page on 503 error in Ingress

When our site is getting deployed, the Ingress gets created and before I could get any response I get 503 for 5-6 minutes (time taken to startup). We need to configure our ingress to redirect to a ...
0
votes
0answers
7 views

Linkerd vs kube-proxy

I have a basic understanding of both kube-proxy and Linkerd, but what i dont understand is how they overlap. When i apply new deployment with fx a ReplicaSet + a ClusterIP service, kube-proxy ...
1
vote
2answers
80 views

Where may I need Docker Compose as Kubernetes won the container orchestration war?

I found Docker Compose just release 1.28 on 2021-1-20 but as Kubernetes won the container orchestration war I am not sure where and why I may still need Docker Compose, under with case Docker Compose ...
0
votes
1answer
15 views

Update volume size dynamically from inside a POD

I was wondering how I could dynamically create and then mount new volumes from inside a pod ? At runtime ! I have to download a lot of files with very different sizes and would like the storage to ...
0
votes
1answer
32 views

Ingress ip returns HTTP error DNS_PROBE_FINISHED_NXDOMAIN

I have the next ingress (output of "kubectl get ingress") NAME HOSTS ADDRESS PORTS AGE main * 192.168.39.190 80 46m But when I try to visit that IP address in ...
0
votes
0answers
11 views

GKE How to update Ingresses with different names via helm?

We have 3 clusters, dev, stg and prd in Google Kubernetes Engine. For some reason, the ingress resources are differently named between clusters. So for dev and stage it is called ingress-resource and ...
0
votes
0answers
10 views

istiod reports “pilot_conflict_inbound_listener”

Every so often we see push status messages from istiod that report a pilot_conflict_inbound_listener. The conflicts appear to be reported for pods with more than one ClusterIP service pointing at them....
1
vote
0answers
59 views

Modifying Microk8s System Manifests

To start, I am new to Kubernetes, so please feel free to point out and correct any terminology I get wrong. In a nutshell, I want to be able to run microk8s enable ingress with custom configuration ...
1
vote
1answer
22 views

Auto build and upload to AWS new docker image after commit in repo

I'm new at DevOps, and I looking for solution to my problem. I have a private code repository where I have a some Flask apps in one of many folders. Example of structure: - Project -- Django Apps --- ...
0
votes
1answer
23 views

Should the master node's hardware be the same as the worker node's hardware for a Kubernetes setup? [closed]

I'm new Kubernetes and am setting up a raspberry pi cluster at home and I want to put Kubernetes on it. I have 4 new raspberry pi 4s with 8gb each and one old raspberry pi 2+. There are several ...
0
votes
0answers
13 views

How to use new VPC CIDR range in a Fargate-only EKS cluster?

I created an EKS Fargate-only cluster using an existing VPC, and currently have objects running in it. I want to associate new CIDR ranges for my VPC by following How do I use multiple CIDR ranges ...
33
votes
4answers
66k views

What does “Does not have minimum availability” in k8s mean?

What does "Does not have minimum availability" mean? A GitHub discussion was found, but it is not clear to me what the error message means.
0
votes
1answer
174 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
11 views

Doing kubectl rollout undo causing current and previous replicasets persists

I am using kubectl for Kubernetes based deployments. I created a deployment that gone to crashloopbackoff state. Then for correcting this issue, a rolling update was done. But the deployment failed ...
0
votes
0answers
14 views

How to make sure K8S nodes only communicate via private network

I have the following setup: master and worker node are connected via eth0 to the internet and via enp7s0 to a local newtork (IP's 10.0.0.2 and 10.0.0.3). I have installed K8S with flannel as ...
0
votes
0answers
3 views

Grafana zabbix plugin is not shown in kubernetes service

I had created a custom docker image with zabbix plugin integrated to grafana. When I run docker run -p 3000:3000 myregistry:5000/grafana-zabbix, Grafana UI shows Zabbix plugin and I can enable and use ...
0
votes
0answers
11 views

Are Fedora's Silverblue and CoreOS projects viable for Team Stations and Dev/Production envs, respectively? (Instead of CentOS)

According to RHE's website, the project Atomic Host was deprecated on August 06, 2020. I am curious if anyone knows if they are actively contributing to Fedora's Silverblue project and/or CoreOS ...
0
votes
1answer
47 views

Gitlab CI/CD: deploy docker image to existing kubernetes cluster

I have node.js application that I need to deploy to exising kubernetes cluster. The cluster is setup using kops on AWS. I have created .gitlab-ci.yml file for building docker images. So, whenever a ...
0
votes
1answer
19 views

How to deploy loki-stack helm chart with CRIO?

I am trying to configure loki-stack using a helm chart to my k8s cluster. Since my k8s cluster uses CRIO and not docker (which is common nowdays) I need to change the pipeline_stages: config map to ...
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
1answer
23 views

NetworkPolicy: Why are pod selectors used over “service selectors”?

My understanding of containers is that they should be considered to be short-lived. In addition, we can scale containers (and if using a container orchestrator like k8s, via pods) by creating ...
0
votes
1answer
20 views

How do I implement user authentication and management in Kubernetes?

I'm trying to architect a micro-service application, that runs in Kubernetes. It consists of several RESTful APIs. I want a central point to implement authentication for these APIs. In my product, ...
1
vote
1answer
81 views

Why is there insufficient memory on kubernetes node

I have an elasticsearch cluster in a kubernetes cluster. I have the data pods going to memory optimized nodes which are tainted so that only the elasticsearch data pods get scheduled to the. Right now ...
1
vote
1answer
21 views

What are the cost effective ways to deploy services using Kubernetes on multiple deployment environments?

We are converting a traditional docker-compose based service stack to a Kubernetes based services Before the conversion we had three deployment environments Local : Basically this is the developer's ...
0
votes
1answer
17 views

kubernetes quota vs limit. What are they? How are they different? When should I use one or the other?

I have been reading through the docs but it still is not clear as to why I should use one or the other. They have great examples of how to configure them but don't answer the why for quotes or limits ...
0
votes
0answers
10 views

I Want to deploy Consul and Registrator docker containers on Kubernetes

Locally on docker desktop it runs fine commands are. docker run -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 progrium/consul -server -bootstrap -ui-dir /ui 2.docker run -d --name=registrator --...
0
votes
1answer
16 views

How to consolidate multiple servers for CPU and Memory with Kubernetes

Setup: I have 10 Photovoltaics based setup where IOT Gateway get data from sensors, devices and send to Kubernetes Cluster. K8S cluster exposed its ActiveMQ broker with NodePort. Observation: AMQ has ...
1
vote
2answers
73 views

Can we do zero-downtime kubernetes deployment with a single pod?

I've inherited an app with K8s services with the following config spec: ... replicas: 1 strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 1 type: RollingUpdate For most ...
0
votes
0answers
13 views

What is the best host solution for a medium starter aplication nowadays?

I'm am deploying an application that can be split into a dashboard with some control systems and an API. The system was developed to be an web interface for some scripts and bots used by a community ...
1
vote
1answer
57 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, ...
4
votes
1answer
55 views

Change docker container’s log PATH

Team: All my container logs are under /var/log/containers.. Where in kubelet or docker config can I specify this path such that logs are instead created under new path? Ex : /shared ? Instead of /var/...
0
votes
1answer
19 views

Jenkins and Kubernetes CLI plugin and GKE

I'm trying to use Jenkins Kubernetes CLI plugin from https://plugins.jenkins.io/kubernetes-cli/ to let deploy artifacts from Jenkins to GKE cluster. Expected Behavior Get cluster info on kubectl ...
-1
votes
1answer
41 views

Cannot resolve services with service name inside a kubernetes pod

I cannot access a pod from another pod with its service name. Getting error as cannot resolve host svcname When i try to view the information of /etc/resolv.conf, i do see ec2.internal as searches ...
2
votes
1answer
62 views

Using helm to manage an “environment?”

I'm new to Kubernetes, and hence helm, so I've been reading a lot, and teaching myself by setting up a cluster, services, deployments, and pods. In my case I use AWS EKS. I now at least understand ...
0
votes
0answers
27 views

What's the equivalent of the eksctl CLI “--fargate” option in a config file?

I read How to run Serverless Kubernetes: AWS EKS on Fargate, and am wondering what the equivalent option for --fargate is in a config schema shown in Config file schema? I tried $ eksctl create ...
0
votes
1answer
24 views

What is the equivalent of eksctl option “--alb-ingress-access” in a config file?

I read How to run Serverless Kubernetes: AWS EKS on Fargate, and am wondering what the equivalent option for --alb-ingress-access is in a config schema shown in Config file schema? At least it's not ...
1
vote
2answers
202 views

Use one Helm chart for ALL microservices?

This is a follow up question to my post Parameterized Kubernetes manifest files?. I understand more about Helm now, after lots of reading, including the Learn Helm book (which I recommend). I still ...
1
vote
1answer
53 views

In k8s, do the controller nodes have to be in same VPC as the worker nodes for a cluster?

I'm new to k8s and trying to grasp the infrastructure concepts, and trying to apply them in AWS. I know a k8s cluster has a control plane, which has the management nodes, and a data plane, which has ...
0
votes
1answer
21 views

Disabling HTTP Basic auth for requests from specific ips in k8s ingress

Currently I have a webpage which is freely accessible from certain networks an requires HTTP basic auth otherwise. This behaviour is set in the nginx config. It looks something like this: geo $...
0
votes
0answers
15 views

kubeadm installation issue in google cloud platform

I am installing opensource kubeadm in google cloud platform using k8s configuration files. As part of the installation, i updated the cloudprovider values as gce in initconfiguration, apiserver and ...
5
votes
2answers
6k views

Prometheus alert CPUThrottlingHigh raised but monitoring does not show it

I have installed Prometheus to monitor my installation and it is frequently raising alerts about CPU throttling. The Prometheus alert rules to identify this alert is : alert: CPUThrottlingHigh expr: ...

1
2 3 4 5
10