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
20 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 ...
0
votes
1answer
17 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 ...
0
votes
0answers
3 views

Kubernetes node dropping packets with source ip outside its network

I have a Kubernetes cluster set up with kubespray, with Flannel network and MetalLB installed. I set up my nginx-ingress-controller service to use NodePort, and from my laptop on the same network, ...
0
votes
0answers
9 views

How can I verify my Kubernetes Secret has been updated to the new value?

I am working to update the TLS Certificates across numerous deployments that I inherited. Each deployment consumes a series of shared secrets, including TLS Certificates. I have SSL/TLS Certs ...
0
votes
1answer
17 views

How can i check if all CustomResourceDefinitions have been created properly?

I have installed with success cert-manager following the steps indicated here. Now, i am doing an script that checks if every steps are done properly, so my question is: How can i check if all the ...
2
votes
0answers
10 views

How do I disable the effective 'time limit' on editing Kubernetes deployments?

If I edit a Kubernetes deployment (e.g. kubectl edit deployment <name> or using the Web UI), and wait too long before saving my changes and exiting, the deployment file will have changed while I ...
0
votes
0answers
28 views

Run docker applications within a kubernetes cluster

As part of my architecture, I want to create a deployment/service on my kubernetes cluster which reads message queues and open dockerized subscribers and then subsequently relay message to the ...
2
votes
2answers
80 views

Cost-efficient hosting for CI/CD?

I'm paying over $300/month for Kubernetes to have CI/CD in GitLab. And it only covers web apps, Android apps and deployment to Google Cloud. Plus some staging environments, that do not require many ...
0
votes
1answer
11 views

Kubernetes and Jenkins

I started building CI/CD pipeline using two Kubernetes clusters and one Jenkins. Two clusters are totally isolated as one is in the test environment and other in production. After searching from many ...
0
votes
0answers
8 views

Are there any multi-host container orchestration tools which allow USB device mapping? Or any production grade solutions/hacks?

Docker provides a --device flag for individual containers to map device ports (USB devices for example; ttyUSB0, ttyACM0) at run-time. This feature is great but seems to disappear when we abstract ...
0
votes
2answers
26 views

Use a pod template file in a Deployment

I've been looking at Deployments descriptions in Kubernetes. In the tutorials I've found, the definition of the replicated pods are always a copy-paste of a pod template file. Is it possible to ...
1
vote
1answer
23 views

Does Kubernetes Ingress use NodePort?

When using a Kubernetes LoadBalancer or Ingress, is the normal NodePort used as the underlying connection point? I.e. does the external-to-kubernetes load balancer implementation (used even when ...
0
votes
1answer
6 views

Kubernetes expose an app via a DNS name in minicube

I have a Minikube installation in which I created a simple hello-world deployment like this: kubectl create deployment hello-node \ --image=gcr.io/hello-minikube-zero-install/hello-node I ...
0
votes
0answers
12 views

Scheduler for Machine Learning tasks

I have an application offering services where some of them depend on various machine learning/image classification libraries (PyTorch, Tensorflow and Keras). I'm looking for an architecture or ...
0
votes
1answer
34 views

Kubernetes nginx ingress controller - one pr. environment?

I have a kubernetes cluster in Azure. In this i have three namespaces: development staging production I have installed nginx ingress controller into its own namespace, ingress-nginx. I am kind of ...
2
votes
2answers
53 views

On-Prem and Cloud Deployments

If I have a mix of cloud and "on-prem" (across different networks) systems to deploy to is there a common tool, technique, or software available? I've used Kubernetes for cloud deployments, but am ...
0
votes
0answers
10 views

Retriving the pods name , the associated images and a label attribute

I know I can get the pods using: kubectl get pods -n "namespace", and also to retrieve a json output I'm trying to expand to get the pods name, the associated images, and a label attribute called '...
1
vote
2answers
31 views

docker build throws UnknownHostException with jenkins dind slave + kubernetes plugin

So Jenkins is installed inside the cluster with this official helm chart. And this is my installed plugins as per helm release values: installPlugins: - kubernetes:1.18.1 - workflow-job:2.33 ...
0
votes
1answer
12 views

What's the way to deploy a resource once on a helm chart that is deployed multiple times?

in my use case i've got a helm chart for my application. One of the resources is actually a Grafana Dashboard for the application. This dashboard actually monitors all instances of the application, ...
0
votes
0answers
2 views

jenkins-x returns error 1 when I try to create a cluster

I'm following this tutorial. I'm running the jenkins-x cli on a aws ec2 instance where I installed kubenetes and jx. I get to the part where I run the command jx create cluster eks --cluster-name=...
0
votes
0answers
6 views

kubernetes How to test if an operator has already been applied

How can I check if an operator has not changed, and then not apply it? usually, I would apply an operator like this kubectl apply -f openebs.yml In an automated script, I would like to test if ...
0
votes
0answers
8 views

Connect external Jenkins Master to GKE with Kubernetes plugin

I find the documentation at https://github.com/jenkinsci/kubernetes-plugin quite unclear when it comes to step by step configuration of external Jenkins master. What are the exact steps that need to ...
0
votes
0answers
12 views

Deploying Jupyterlab Helm with no Exernal IP in load balancer

I am new to k8s, so forgive my lack of understanding. I recently deployed openvpn on a k8s cluster, here and wanted to deploy jupyterhub on the cluster as well. I followed this guide here: https://...
0
votes
0answers
22 views

How do I install kubeadm on RHEL 8.x?

I am using RHEL 8.x in AWS. I cannot install kubeadm because when I try "sudo yum -y install kubeadm" I get No match for argument: kubeadm Error: Unable to find a match The directions I found ...
0
votes
1answer
22 views

How do I access the web UI for Kubernetes clustered that were created via EKS?

I need a URL and the web UI log in credentials for Kubernetes. I created Kubernetes clusters in AWS with EKS. I have API endpoint URLs for the clusters based on what I see in the EKS section of the ...
0
votes
2answers
32 views

Kubernetes - How to show all service accounts

How do I show all service accounts In Kubernetes? I have tried kubectl get --all-namespaces all. It does not show service accounts. How can I use kubectl to list all service accounts?
0
votes
0answers
12 views

GKE ingress multipath not working

I would like to use a ingress to expose two service on Google Kubernetes Engine. This is working apiVersion: extensions/v1beta1 kind: Ingress metadata: name: api-ingress annotations: ...
0
votes
2answers
39 views

Jenkins pipeline running using containers on an orchestration platform

I have a specific implementation of jenkins on docker. My requirement is to start slave containers on demand and only when they are needed and then stop them after the pipeline has ran. I have the ...
0
votes
0answers
8 views

Recommended resource configuration for Rails on Kubernetes

I'm running a Rails app on Kubernetes. I'm good on the Rails side of things but very new to Kubernetes. Rails is memory heavy (2GB minimum), but CPU light (5% off peak to 25% in peak, with occasional ...
1
vote
2answers
28 views

initContainer with huge size software like magento2

As a practice I have pods with these 2 containers: php-fpm nginx The image of my project is called testimage. The solution uses the 'testimage' as initContainer and then copies the all folders and ...
1
vote
2answers
21 views

How do I get more control over the NodePorts my Service assigns to my Deployment?

I have a Deployment with 5 replicas. All have ssh and telnet. They should not be load balanced. I would like each to select from a predictable list of 5. Here is my Deployment apiVersion: apps/v1 ...
1
vote
1answer
36 views

Container runtime Vs orchestrator

The terms container runtime and orchestrator always confuse me. Can someone please put these in simple terms? Thanks
1
vote
0answers
27 views

Google cloud container running 40x slower then on aws

i have a flask api tunning a pytorch predict inside a kubernetes cluster. I deployed it on AWS and got good results. I have tried on GKE and had good results, but when im deploying my pods on a high ...
0
votes
0answers
17 views

How do I trigger a job on rolling update in kubernetes

I'm trying to run a job to run every time a rolling update is performed successfully on a deployment in kubernetes. I have a job that runs a migration script that talks to the pods in the deployment ...
0
votes
0answers
22 views

Persistent storageClass for GitLab on Kubernetes

Using the official helm chart and documentation, I want to deploy GitLab to Kubernetes. The storage guide shows how to store persistent data and also offers example Helm values. Sadly this doesn't ...
0
votes
0answers
42 views

Kubernetes local-path-provisioner with better readable paths instead of random ids on PVs

Since the k8s local storage doesn't support dynamic provisioning yet, I found the local-file-provisioner from Rancher which seems to fill this gap. Deploying the examples mentioned in the ...
0
votes
0answers
17 views

DeamonSet pods priority

I just upgraded my aws eks test cluster from 1.11 to 1.12. With that comes a below change: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.12.md#sig-scheduling: DaemonSet pods, which ...
1
vote
0answers
122 views

Rancher Pipeline: How to pass environment variables from one stage to another

Currently I am trying to move our existing build infrastructure to Rancher with its CICD pipelines. My main question is: Is it possible to pass environment variables from one stage to another? Our ...
0
votes
0answers
11 views

Confluent: Schema registry terminated ( logs inside )

I just want to add a new avro schema in the schema registry. I am using Google Kubernetes Engine ( GKE ) but as you can see below, the schema registry doesn't work. Why? https://pastebin.com/...
0
votes
0answers
17 views

Kubernetes UDP Ingress options

I am trying to deploy a UDP application in Kubernetes and I need some kind of ingress controller that supports UDP and I wish I could use something like Gobetween but it lacks ingress functionality. ...
0
votes
0answers
33 views

kube-controller-manager unable to communicate with etcd

1. What kops version are you running? The command kops version, will display this information. Version 1.12.2 2. What Kubernetes version are you running? kubectl version will print the version if a ...
0
votes
2answers
37 views

Is a ReplicaSet pulling a fresh image at every spin up?

I inherited an app without a ton of handoff information, and there's a Kubernetes setup with ReplicaSets and KOPS (and based on Docker containers). I am pretty new to Kubernetes Whenever one of the ...
0
votes
0answers
72 views

Gitlab + Kubernetes on GCE + DIND - how to get access to docker subsystem in the cluster?

Preliminaries I am using Gitlab Community Edition 12.0.3, in which I have standard project admin permissions but no more. The installation only has few and slow CI runners, so I went and created a ...
0
votes
0answers
91 views

Permission denied connecting to Docker daemon socket under Jenkins with Kubernetes Plugin

I have a docker image that is built from the ubuntu image and all I add is gradle and openjdk11 My jenkinsfile defines the containerTemplate as this: podTemplate(label: 'java11builder', containers: [...
0
votes
1answer
20 views

Why do many pods fail to communicate with the master

I have lots of unexplained errors in kubernetes. Often I see errors in logs of pods with the following: Get https://10.152.183.1:443/api/v1/namespaces/{REDACTED}: x509: certificate is valid for 192....
0
votes
0answers
318 views

“NetworkPlugin cni failed to set up pod” error when deploying Pod, while Deployment work

For testing purpose, I want to keep things simple and run a Python Docker image on Kubernetes. So I used a Pod as smallest unit, based on the official template from the Kubernetes docs: apiVersion: ...
1
vote
0answers
56 views

“Error: forwarding ports: Upgrade request required” Error in helm of a kubernetes cluster

I have a kubernetes cluster built using kubespray and imported to Rancher. The nodes are configured with CentOS Linux 7 3.10.0-957.12.1.el7.x86_64 Docker version : 18.9.5 Kubelet version : v1.14.1 ...
0
votes
1answer
52 views

kubernetes statefulset - communicate addresses of other pods when pod launches?

Is there some metadata that I can apply, or some DNS that I can query, such that when a pod is started, the addreses of all the other pods in that statefulset will be somehow made available to the ...
0
votes
0answers
50 views

Docker ps shows a container that doesn't exist anymore

When I run docker ps I get a container ID that doesn't exist anymore. docker inspect and exec give me the Error: no such object message, and when I go to /var/lib/docker/containers/ there's no folder ...
0
votes
0answers
29 views

Jenkins: Managing Multiple Environment Configuration and Deployments

I am working on a product where we have 3 dev teams. 1 for UI and 2 for backend. Each team requires a complete env for their own testing. There 10+ backend services and many more other components and ...