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

Scheduling a build using Kubernetes

The doc https://docs.openshift.com/container-platform/3.9/dev_guide/cron_jobs.html provides details of creating a cron job. To start a scheduled task that executes a build every 10 mins I use the ...
0
votes
1answer
7 views

kubernetes nodeport service load balancing

Let's assume I have three node named n1, n2, n3. created four pods named p1, p2, p3, p4, k8s scheduler placed pods in nodes as follows n1 -> p1 n2 -> p2 n3 -> p3, p4 Now, to access these pods ...
0
votes
0answers
6 views

Minikube for Ubuntu 20.04 WSL stuck on 'Restarting existing docker container for “minikube” …' after minikube start and 'StartHost failed' error

I've come across the following problem where my minikube cluster doesn't start and the command line becomes stagnant in the following way: $ minikube start �😄 minikube v1.17.1 on Ubuntu 20.04 �🆕 ...
0
votes
1answer
20 views

Enable TLSv1 TLSv1.1 for specific Ingress with Nginx Ingress

I try to enable TLSv1 and TLSv1.1 for one specific ingress on a AKS cluster. By default, only TLSv1.2 is enabled. I don't want to apply this configuration on my all cluster, just on a specific ...
0
votes
0answers
14 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
21 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
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, ...
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
40 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
28 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 ${...
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 ...
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
14 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
1answer
24 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 --- ...
1
vote
0answers
61 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 ...
0
votes
1answer
24 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 ...
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

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
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
73 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
22 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
21 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, ...
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 ...
1
vote
1answer
22 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 ...
1
vote
1answer
96 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 ...
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
19 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
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 ...
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
69 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
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
25 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
vote
2answers
77 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
28 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
27 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 ...
2
votes
2answers
271 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 ...
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 ...
0
votes
1answer
22 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
1answer
36 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 ...
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 ...
2
votes
1answer
35 views

What's better: 2 pods (on the same server) or 1 standalone application?

For a client we're going to roll out a certain type of software installation. (I can give more details in the comments if you like.) The question is: would you go for 2 pods (on the same server)? Or ...
1
vote
0answers
15 views

In what time ranges do you verify your canary deployments?

I am currently implementing a canary deployment strategy for the services of an Have you already worked with carary deployments? After which timeframe do you decide to roull out 100%? Which factors do ...
1
vote
1answer
45 views

Parameterized Kubernetes manifest files?

I'm learning Kubernetes, coming from an AWS/CloudFormation background to set up my company's infrastructure. One of the strengths of CloudFormation is the use a template that can be parameterized for ...
0
votes
0answers
22 views

How to convert an ECS infra to an EKS infra?

I just need advise to see if I understand Kubernete's objects correctly in my context. I have the following ECS-based infrastructure. An api.mycompany.com Route53 recored points to the ALB ALB ...
0
votes
0answers
58 views

Kubernetes dns issue: pods cannot reach DNS server

I installed kubernetes cluster with one controller and 3 workers nodes. The nodes can reach the internet in-house DNS and external DNS ( 8.8.8.8). But when I deploy sample pods, the pods cannot ...
0
votes
0answers
26 views

What's the equivalent of “kubernetes apply -k” in terraform?

I want to use EFS in my EKS cluster. I'm following this eks workshop. I need to deploy EFS CSI Driver using kustomize: kubectl apply -k "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/...
1
vote
1answer
136 views

What does “eksctl create iamserviceaccount” do under the hood on an EKS cluster?

AWS supports IAM Roles for Service Accounts (IRSA) that allows cluster operators to map AWS IAM Roles to Kubernetes Service Accounts. To do so, one has to create an iamserviceaccount in an EKS cluster:...

1
2 3 4 5
10