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

Issue getting HTTPS working for subdomain despite “Certificate issued successfully”

Part of my struggle to learn this, I think, is that cert-manager is updated pretty regularly so a lot of the tutorials, blog posts, questions, and courses I have read or taken are no longer relevant. ...
1
vote
1answer
27 views

Dump Kubernetes log files for all services/pods/jobs etc

We are remotely deploying a kubernetes cluster and when the installation fails, we would like to see the logs of all the services and migrations and pods etc. that we are trying to install. Instead of ...
0
votes
1answer
33 views

Worker Node in Kubernetes

I am new to Kubernetes. I have followed one document and setup master node in Kubernetes. Now I want to create a Worker node, so How can I create it? I don't know anything about to set up a worker ...
2
votes
1answer
4k views

helm install causes nil pointer

I'm really a beginner with kubernetes and really struggle with this simple tutorial from baeldung.com The only thing I did different (intentionally) was using a google cloud cluster instead of ...
1
vote
1answer
36 views

Kubernetes: How to expose a Pod/Deployment to the Nodes Network

Ok, let's assume I've got the following theoretical setup: I want to somehow assign IP-Addresses accessible by the PCs on the left to my pods. I can set routes etc. as I need since this setup is ...
1
vote
1answer
968 views

Authentication Error in Kubernetes

I am new to Kubernetes. I am getting below error while creating deployments in Kubernetes. <!-- You are authenticated as: anonymous Groups that you are in: Permission you need to have (but didn'...
1
vote
1answer
73 views

Nginx unable to get SSL cert to work

I'm trying to get a kubernetes cluster using the nginx ingress controller and cert manager to get an SSL cert from lets encrypt. Currently is appears the cert has been issued however I am unable to ...
2
votes
2answers
158 views

localhost Pod to Pod communication k8s

I am trying to transfer an old legacy system to k8s. I have a custom server that client apps connect to in order to communicate with one another. Both the server and clients were originally created ...
3
votes
1answer
320 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
1k 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 ...
4
votes
1answer
264 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
101 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 ...
3
votes
3answers
336 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 ...
2
votes
0answers
46 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 ...
2
votes
1answer
579 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
47 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
2k 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
306 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 ...
2
votes
0answers
253 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
1answer
210 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 ...
1
vote
1answer
61 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
40 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
510 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
45 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. ...
11
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
263 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
25 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 ...
2
votes
1answer
44 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 ! ...
2
votes
1answer
168 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
31 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
35 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 ...
1
vote
2answers
1k 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 ...
1
vote
2answers
40 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
654 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
21 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
97 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 ...
0
votes
2answers
354 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 ...
3
votes
1answer
257 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
46 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
2k 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
305 views

GKE - GPU nvidia - cuda drivers dont work [closed]

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 ...
5
votes
1answer
2k 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
63 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
85 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-...
2
votes
1answer
41 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 ...
2
votes
1answer
244 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 ...
5
votes
2answers
1k 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 ...
3
votes
0answers
56 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
41 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 ...
1
vote
1answer
68 views

How to bring a docker data container to Kubernetes?

I have an application that relies on 4 docker data containers for the data it needs to run some tests. At the moment I have their docker-compose file and their images but I don't have access to the ...

1
3 4
5
6 7
10