A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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

Can kubernetes jobs be scheduled with a minimum uptime requirement?

We have some boxes on a kubernetes cluster that are reserved for a particular task which only runs a couple of times a week for a few hours. During these times any pods on those boxes are killed. The ...
1
vote
0answers
25 views

How do i connect docker pipeline on jenkins to kubernetes cluster

I am trying to setup a pipeline on jenkins that uses docker containers to execute tasks like for example deploy an helm charts using a docker image with helm here is what my Jenkinsfile looks like ...
0
votes
1answer
26 views

Getting permission denied with docker pipeline on jenkins

I have jenkins deployed via helm charts on kubernetes cluster Now i want to be able to run helm to deploy helm charts applications on my kubernetes cluster and have the following in my jenkinsfile ...
2
votes
0answers
9 views

Using Prometheus to monitor Spring Boot Applications in Kubernetes Cluster

I have spring boot powered microservices deployed in my local kubernetes cluster. The microservices are using micrometer and prometheus registry but due to our company policy the actuator is available ...
0
votes
2answers
74 views

Are there arguments against using “imagization" tools in the literature and if so, what are the main ones?

Although I never used an "imagization" tool (for example, Docker) I understand a container as an instantiated (running or stopped) image which in plural are simply put, a server environment and ...
0
votes
1answer
20 views

What is the best tool for the release management for Kubernetes in a small startup?

In our small startup (6 developers) and we use Google Kubernetes Engine + CircleCi (which deploys docker images to K8S with simple bash scripts). We have ~10 services, but we are growing. We use a ...
0
votes
0answers
6 views

Is it possible / best practice to scale API Gateway by generating multiple replicas of API Gateway to handle the load?

Is it possible/best practice to scale API Gateway by generating multiple replicas of API Gateway to handle the load ? By setting a load balancer before the API Gateway, the LB will route the requests ...
0
votes
1answer
38 views

Does running kubernetes on a single machine make sense?

I have been using docker-compose before but now I am looking for an orchestration tool to handle deployment and management of docker containers. I have only a single Linux server and scaling is not ...
1
vote
0answers
15 views

How to connect AWS LoadBalancer to EKS node group using Terraform?

I've created the following service using Terraform: resource "kubernetes_service" "example" { metadata { name = "example" labels = { app = "example" } } spec { port { ...
2
votes
0answers
7 views

Issue with Spinnaker automated trigger

I am trying to get Spinnaker to have a pipeline use an automated trigger which is an image pushed to an ECR repo. I can add different repos fine but can't seem to see the images. I am following this ...
1
vote
0answers
21 views

No Such Host: Kubernetes/Docker cannot pull from private k8 registry

I have a private docker registry in k8 in the default namespace with tls at https://docker-registry.default:5000. By doing local port forwarding to it(at port 5000) and adding docker-registry.default ...
1
vote
1answer
14 views

Kops: How to delete the multiple SSHPublicKey

SSHPublicKey admin 2b:xx: SSHPublicKey admin 2c:yy How to remove one ssh key from the cluster ? when tried to delete via normal way, kops delete secret --name cluster-1.dev.transein.com ...
0
votes
1answer
76 views

No Kubernetes Option in Docker Desktop for Windows

Just getting started on Docker and after installing Docker Desktop on a Windows 10 Pro machine, the option to enable Kubernetes is missing from the context menu when using Windows containers. See the ...
3
votes
1answer
63 views

What about installing an Antivirus on Windows K8s nodes?

We're building an on-premise Kubernetes cluster with Windows nodes. As a company policy, all Windows Servers needs an antivirus (symantec endpoint security). The antivirus would be installed on the ...
0
votes
0answers
14 views

Unable to connect to Consul when deployed via Helm

I have a Kubernetes cluster that was created using KOPS which I have consul installed on via the helm chart with default values except server count and bootstrapexpect are both set to 1 because of ...
2
votes
0answers
24 views

Grafana sometimes can't resolve prometheus hostname [closed]

Scenario I deploy grafana and prometheus onto EKS cluster (AWS K8s service). If I use prometheus service's fqdn (prometheus-server.monitoring.svc.cluster.local) as the data source, grafana sometimes ...
0
votes
0answers
34 views

Replace/Consume Istio's Prometheus/Grafana by existing Prometheus-operator

I have multiple K8S clusters that have Prometheus-operator Helm chart installed in monitoring namespace. Each operator consists of Prometheus/Alertmanager/Grafana. Aside from it I have Istio Helm ...
0
votes
0answers
37 views

Error loading config file “/root/.kube/config”: no kind “Pod” is registered for version “v1”

My YAML file is : --- apiVersion: v1 kind: Pod metadata: name: test spec: containers: - name: mysql image: mysql imagePullPolicy: Always command: [...
1
vote
1answer
37 views

Overcommiting CPU Resources in Kubernetes

Let’s assume the following scenario: I have a cluster with 100 CPU cores and 100 Pods each having a request of 1 CPU. If I schedule the 101st Pod if a request of 1 CPU this will no longer be ...
2
votes
1answer
30 views

How to connect GCP Load balancer to Kubernetes cluster(single node cluster)

I'm creating a single node(name: node1) k8 cluster for demos. I have setup a nginx-ingress controller. service/volted-marmot-nginx-ingress-controller LoadBalancer 10.100.132.29 <pending&...
2
votes
1answer
30 views

Is it reliable to use Docker's hash as a mean to determine image's version between different platform

Situation I have a docker image on a Linux box. I push it onto a docker registry (AWS ECR). Then, I use the image pushed onto that docker registry in a K8s pod. Question How do I know the docker ...
1
vote
1answer
29 views

Error while using AzureFile storage with CockroachDB

I'm getting an error trying to run CockroachDB (v19.2.1) on AKS. I'm able to spin up cluster using the default storage class. However, when I attempt to specify AzureFile storage, I get errors. ...
8
votes
7answers
2k views

Is there one website that contains all relevant DevOps news and gets updated on a daily basis?

I am looking for some DevOps news channel like https://nos.nl/teletekst#101 that shows the headlines of the Dutch news. I am aware of https://tweakers.net/ and github.com, but this does not contain ...
1
vote
1answer
28 views

Kubelet config file — > clusterDNS

clusterDNS: - "10.32.0.10" The above is a flag passed to the kubelet file, i dont know what it refers to clsuter DNS ? Is it refers to VPC CIDR or any subnet CIDR ?
1
vote
1answer
23 views

Kubernetes api service unit file

i was going through the kubernetes the hard way(kelsey), i see in the API server unit file with a cluster ip range as --service-cluster-ip-range=10.32.0.0/24 \ is it a default ip range ? my VPC ...
1
vote
1answer
17 views

Weavenet for kubernetes is showing 0/2

I'm very new to kubernetes. I thought i would first get a basic by making hands dirty by "the hard way" I followed the Linux academy, but at the networking side using weave net i am now stuck ! ...
1
vote
1answer
22 views

How do you reuse a specific volume in Kubernetes?

Let's say that you wanted to create a Jenkins Deployment. As Jenkins uses a local XML file for configuration and state, you would want to create a PersistentVolume so that your data could be saved ...
0
votes
2answers
26 views

Configure Kubernetes with docker container on Ubuntu VM

I am using the YAML file to deploy the container on Kubernetes with some replication factor on a hosted machine. YAML File apiVersion: apps/v1 kind: Deployment metadata: name: mojo-deployment ...
1
vote
1answer
18 views

Issue connecting to ECR using Spinnaker on Kubernetes

I installed Spinnaker onto a Kubernetes cluster via Helm. I have tried to add the ECR registry as per the docs and so far not working. I found that the aws cli is missing even though in issue 2394 it ...
0
votes
2answers
83 views

Unable to get Helm to work with ECR

I'm using Helm v3 with AWS ECR on a Kubernetes cluster that was creating using Kops. I have checked and the role kops assigned to the nodes does have ECR permissions. When I deploy my helm chart I ...
0
votes
1answer
19 views

Gather resource usage by process in a kubernetes cluster

I am searching for a tool similar to Prometheus + Grafana that gather and record resource usage especially memory usage by process-ID or process-name. We have two components that are running ...
1
vote
1answer
52 views

Kubernetes - Deploying older version of app in new API

I'm working with yaml files built for an older version of the API apiVersion: extensions/v1beta1 I tried changing to apiVersion: apps/v1 But couldn't figure out the correct "selector" formatting....
0
votes
1answer
16 views

Will data contained withing Persistent Volume survive cluster deletion?

I have a Kubernetes cluster based on 3 hosts managed via Rancher I've created Persistent Volume on the first host and use it via a claim by a PostgreSQL pod. My app is generating and storing there ...
2
votes
3answers
70 views

How to get the next friendly name that Docker will assign to the container it will make?

Background When you start a Docker container as in the following example: $ docker run -ti ubuntu:latest Docker docker automatically assigns the container an ID and a friendly name. Docker ...
1
vote
0answers
37 views

Getting client IP address in Istio

So I have a setup like this: AWS NLB (forwards) --> Istio --> Nginx pod Now, I'm trying to implement rate limiting at Istio layer. I followed this link. However, I can still request the API more ...
0
votes
1answer
195 views

Kubernetes installation, configuration and verification in a local environment

I am a regular user of Docker since a few years and I have the Docker service installed and running locally on my Win10Pro host. It works well. Now I want to get started with Kubernetes so I used the ...
2
votes
1answer
34 views

What's the relationship between ContainerD and Docker?

I'm aware that Kubernetes uses containerd internally and that containerd is part of Docker. Does that mean that Kubernetes only uses certain parts of Docker to provide orchestration of containers? ...
2
votes
1answer
25 views

How to enforce policies for manifests in Kubernetes?

I have built a self-service platform based on Kubernetes, where we create namespaces for each team and allow them to 'do whatever they want within the namespace' (we set resource limits so no one can ...
2
votes
1answer
365 views

EKS node cannot pull docker image from ECR: “no basic auth credentials”

Using the eksctl tool, I created an EKS cluster with 5 nodes. My application's docker images are stored in ECR registries in the same region. I deployed my kubernetes cluster and everything has been ...
2
votes
1answer
46 views

GKE - GPU nvidia - cuda drivers dont work

I have setup a kubernetes node with a nvidia tesla k80 and followed this tutorial to try to run a pytorch docker image with nvidia drivers and cuda drivers working. I have managed to install the ...
3
votes
1answer
52 views

What are the best practices for anti-virus / anti-malware when using containers?

One of the SOC 2 controls is apparently around ensuring antivirus/anti-spam/anti-malware is running on production servers. I've been googling to see if there are any recommendation/best practices for ...
6
votes
2answers
48 views

How much memory/cpu to allocate per pod?

This is a question that's been bothering us quite a while. How can you determine how much to allocate per pod? What if I don't know the program, maybe it needs a lot of memory at peak times. What ...
1
vote
1answer
29 views

kubernetes allocating pods with the wrong IP

I'm running kubernetes with the supposed pod network cidr of 10.244.0.0/16. Everything seems to agree with that: # history | grep kubeadm kubeadm init --control-plane-endpoint "guide:6443" --upload-...
1
vote
1answer
27 views

What is the difference between EKS and EC2 installed kubernets?

I'm newbie in AWS usage. I don't understand the difference between EKS and EC2 installed kubernets? Amazon EKS makes it easy for you to run Kubernetes on AWS without needing to install and ...
1
vote
0answers
19 views

Kubernetes ConfigMap strategies

I'm wondering if there's some best practices to follow with regards to container configuration management and kubernetes ConfigMaps. Assuming configuration for apps (not necessarily related to each ...
2
votes
1answer
33 views

service-to-pod communication is broken in kubernetes

I have an in house 5 node cluster running on bare-metal and I am using Calico. The cluster was working for 22 days but suddenly it stopped working. After investigating the problem I found out that the ...
3
votes
1answer
51 views

How can I add an additional IP / hostname to my Kubernetes certificate?

I've recently followed this guide to set up Kubernetes on my local Raspberry Pi cluster. I can access it fine on my LAN; however I'd like to be able to access it remotely as well. I've already set up ...
0
votes
0answers
19 views

NFS-Client Provisioner stuck at ContainerCreating

I followed this(https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-volumes-example-nfs-persistent-volume.html) link and installed an NFS server in my cluster with blow yaml file: ...
3
votes
0answers
20 views

Keeping Pods Balanced Across Nodes in AKS [closed]

We had a fun issue yesterday and today where after a restart of some nodes, we ended up with more or less every pod on one server. After some research, it seems like most of the solutions for this ...
2
votes
1answer
35 views

Questions regarding Kubernetes storage

I have two questions regarding K8s storage: Can I set up an NFS server on one of the worker nodes in a bare-metal cluster? I am running different versions of our application which consists of ...