Questions tagged [kubernetes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Make SFTP (openssh) able to write on NFS (gcsfuse)

Hi everyone I'm trying to share files from a SFTP server and Kubernetes. The SFTP part works fine and to make theses files accessible from Kubernetes I want to mount an NFS volume on my VM. That way ...
0
votes
0answers
12 views

Kubernetes : minkube start locally is failing

i want to try kuberntetes on a local machine where i m using already a virtualbox Ubuntu 18.04 Virtual machine , inside this vm i'm runing all my cmd , and there i want to establish my kuberentes lcal ...
0
votes
0answers
11 views

In Kubernetes cluster some destination can't communicate with a worker node

I have 2 worker nodes (worker 0 and worker 1). some destinations can't communicate to my worker 0 node. for example my zabbix server can't add worker 0 node to icmp check. worker 0 and worker 1 are in ...
0
votes
0answers
5 views

Block Kubernetes access to LAN

I'm trying to set up a CTF server on my homelab Kubernetes cluster (which uses Weave Net as a CNI), which (for obvious reasons) I do not want to have access to my local network, which has many poorly-...
1
vote
1answer
28 views

Kubernetes master cluster becomes unresponsive when 2 out of 3 master is down,

We are trying to create k8s cluster environment that spans across 2 data center, We have only 7 BM servers. We choose to have 2 Master and 2 worker nodes in data center1, In a sunny day scenario this ...
2
votes
1answer
45 views

How do you make minikube ssh work with kitty

If you use minikube ssh with kitty backspace and other characters do not work properly. The problem is that the terminfo is not copied across, however, it's not possible to do kitty +kitten ssh as ...
0
votes
0answers
8 views

Upload to S3 from small container takes too long time

I have a container which is running a process that outputs files. Those files is then uploaded to S3 by using the aws s3 cp command. The files is about 325 kb and it takes about 4.5 seconds to upload ...
1
vote
1answer
22 views

Delay in Kubernetes Job status update when running many jobs in parallel - how to scale the right k8s component?

I have a bit of a unique use-case where I want to run a large number (thousands to tens of thousands) of Kubernetes Jobs at once. Each job consists of a single container, Parallelism 1 and Completions ...
0
votes
0answers
33 views

Rancher Dashboard, ETCD has no Grafana

I have a rancher dashboard and I have a Kubernetes cluster (the cluster is configured by "rke up" command). I have imported the cluster into rancher dashboard and then enable the monitoring. At final ...
1
vote
2answers
29 views

How to expose aks service cluster port to the internet?

I am a beginner with Kubernetes and azure. I know that a service in my cluster exposés port like 32111.but that is not accessible from the internet. What should I do to forward that service port to ...
0
votes
1answer
84 views

jq filter for only 'null' values

I am using the below command but did not get the expected output kubectl get po -o json -n velero | jq '[.items[] | {name:.metadata.name, limits:.spec.containers[].resources.limits} | select(.limits==&...
0
votes
1answer
69 views

Windows doesn't respect default program for .txt files when opening external file from command line

I'm currently working with a program called kubernetes. I open a file locally with the command "kubectl edit deployment/deployment-name" on my command line. This gives me a .txt file that I can then ...
0
votes
1answer
318 views

Openshift origin 3.11 scaleup.yaml fails on task “Approve node certificates when bootstrapping”

I am using OpenShift Origin 3.11 with 3 master, 3 infra and 6 worker nodes. I've tried to scale up the 7th worker node and the scaleup playbook fails at task Approve node certificates when ...
0
votes
1answer
461 views

Metallb vs Nginx Ingress in Kubernetes

From what I understand, Metallb is a load balancer that assigns IP address to a service, which can be exposed to the outside world. Nginx Ingress is just like normal nginx, but it resides in ...
0
votes
1answer
21 views

k8s: adding a sidecar to an existent POD/Deployment?

Is it possible to add a sidecar container to an already created (active) POD/Deployment?, if so, how can I do it? My original problem is: I have a Deployment running and using a PV claimed as ...
0
votes
0answers
63 views

Jupyter Gateway Setup

I am tring to get jupyter gateway to work. I installed kubernetes and am trying to share gpu processing power between a few computer for machine learning, but I am stuck. Getting the current output ...
2
votes
1answer
669 views

Helm chart nginx-ingress controller TCP redirect http to https

My environment is hosted in AWS. I had deployed the helm chart stable/nginx-ingress in TCP mode (I need an AWS ELB in TCP mode for WebSocket. I need exactly ELB classic!), also I need to use AWS ACM ...
0
votes
0answers
70 views

My pods doesnt have internet access in k8s

I have created a cluster in k8s, but the pods I created is not having internet access. I have created the cluster in a fresh ubuntu 18.04 machine using kubeadm, with flannel network plugin. I using ...
0
votes
1answer
205 views

Total memory usage as reported by kubectl top nodes vs top pods

Consider these two commands run against my cluster. First roll up all known used ram as reported by top nodes: $ kubectl --no-headers=true top nodes | awk 'BEGIN { total=0 } { total+=$4 } END { ...
1
vote
1answer
1k views

Cron jobs not running on Kubernetes + Alpine linux

I am trying to run a cron job on Alpine Linux docker image which is then pushed in Kubernetes container. The Cron job is that I want the container to restart itself after every 15 mins. So my command ...
0
votes
0answers
24 views

How specify network interface for deployments in Kubernetes?

I have multiple microservice running on Kubernetes cluster, two of my microservices are network sensitive and I want to separate their network interfaces from other microservices, what should I do?
1
vote
1answer
366 views

Minikube fails to pull any images in MacOS

Trying to run any Pod in Minikube will fail with an ErrImagePull error: $ kubectl get pods utils 0/1 ErrImagePull 0 8m57s Looking at the pod's logs, it shows that HTTP request ...
0
votes
0answers
40 views

How to copy locally generated file into kubernetes pod with terraform?

I'm using openshift cluster and can't find any way to copy a little file with users and their generated passwords. I know how to use variables to these issue, but global variables stay accessible the ...
0
votes
0answers
53 views

Kubernetes for i386 - Can't find binaries, can't compile (compile errors)

I'm currently building a cluster with a small 64-bit computer and some 32-bit laptops. The 64-bit works fine with Kubernetes, but I cannot install/compile Kubernetes on the 32-bit machines. 64-bit ...
0
votes
1answer
148 views

azure kubernetes docker in docker: 'overlay' is not supported over overlayfs

I am trying to run a docker in docker scenario inside an azure managed kubernetes cluster(aks) I have mounted the docker unix socket to the pod. My intention is to use aks pods as azure devops ...
0
votes
0answers
99 views

Hazelcast on Kubernetes

I'm running Hazelcast statefulset on dev branch. This is my statefulset YAML file: apiVersion: apps/v1 kind: StatefulSet metadata: name: hazelcast namespace: dev labels: app: hazelcast spec:...
0
votes
0answers
6 views

NodePort only available through worker node virtual machine port-forwarding

I am using kubernetes with one master node and four worker nodes. They are all running in Ubuntu/18.04 virtualbox(version 5.2) virtual machines. Using this setup, I want to expose a web application ...
1
vote
1answer
35 views

Detect Client Real IP from Inside of running Container in Kubernetes

I'm running multiple microservices into Kubernetes and I need to know the client real IP that sent the request to our gateway microservice to show that in UI dashboard. I use Flannel as my overlay ...
0
votes
0answers
77 views

PiHole on Kubernetes Timing Out When Doing Lookups

I was trying to deploy PiHole to my kubernetes cluster. I use metalLB for loadbalancer IP pools. With the deployment below, I can connect to the HTTP interface just fine, but doing DNS lookups fails ...
0
votes
0answers
11 views

Kubernetes persistant volume get erased after new deployment rollout

I am using gke. I have set up a node app that writes to a csv in /data. /data is placed in a persisant volume. When i update the image to a newer version the /data folder gets erased. How do I ...
0
votes
0answers
213 views

Error: uninstall: Release not loaded: v3.0.0-beta.3: release: not found

I have recently updated my helm version to v3.0.0-beta. I need to revert back to helm version 2. When I tried to switch to helm version 2, it returns an error like Error: uninstall: Release not ...
1
vote
1answer
25 views

How to monitor/log sql time from kubernetes

I have some containers running in kubernetes in the cloud, these are querying on prem db servers, I'm interested in seeing how the latencies from the dbs are affecting the app. How would I go about ...
0
votes
0answers
18 views

Influxdb on Kubernetes , what about scalability and data loss?

So, I do have a influx database running on a pod in Kubernetes. I am using AWS tools to do that and recieving input data from a kafka server. From my short research I found that using influx db as a ...
0
votes
0answers
40 views

Kubernetes behaves differently than similar setup in docker, what are the differences between the networks?

I have a docker image which is producing audio (SOUND image in the attached drawing) and an image containing and asterisk server (* image). When I host these on my local server and call them with my ...
1
vote
1answer
281 views

helm install qliksense | secrets already exists

I am pretty new to kubernetes. I run a kubernetes cluster on EKS (AWS). When installing QlikSense on kubernetes I receive the following error. command: helm install -n qliksense qlik/qliksense -f ...
0
votes
1answer
832 views

how to add a custom search domain in resolv.conf of all the pods in kubernetes AKS cluster via coreDNS?

I have an AKS kubernetes cluster inside a virtual network on azure with mainly linux pods. In the same virtual network there is a windows server hosting a DNS server and domain controller for the ...
1
vote
0answers
11 views

azure kubernetes network policy to allow some external hosts only for a pod

Let's say I've created a cluster with a manifest like: apiVersion: apps/v1 kind: Deployment metadata: name: my-app spec: replicas: 1 selector: matchLabels: app: my-app template: ...
0
votes
1answer
51 views

GKE isnt autoscaling nodes

I am running kubernetes on GKE, as I deploy pods my cluster runs out of resources, my nodepools do not scale, even though they should. How can I resolve this. thanks
0
votes
1answer
39 views

Publishhtml not working for jenkins agent within kubernetes

The publish html report does not work for my jenkins agent in kubernetes when jenkins is not running within kubernetes, however it works when jenkins is in kubernetes, this leads me to believe that ...
1
vote
0answers
173 views

AKS cluster provisioning error Azure Machine Learning service Python SDK

I am trying to deploy a ML model to AKS following this tutorial https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-deploy-azure-kubernetes-service. When it comes to creating the ...
0
votes
0answers
436 views

AWS Kubernetes not deploying properly. Insufficient pods

On aws when i run the following command, I get this reply kubectl describe pod spring-demo-7b48679f9b-jh5kh Name: spring-demo-7b48679f9b-jh5kh Namespace: default Priority: ...
0
votes
0answers
21 views

Kubernetes VM Cluster in one machine and VM worker on another physical machine, how the worker join the master

My setup is composed of two physical workstations part of the corporate network of my company. I have deployed a Kubernetes Cluster composed of 3 VM (master, worker1, worker2) via vagrant on a ...
1
vote
2answers
67 views

I want to use Kubernetes but cannot upload image to dockerhub

I have a Spring Boot application which the management is not easy about having the image be put on dockerhub, so I would like to deploy the image onto kubectl (from my local machine) but so far I have ...
0
votes
0answers
30 views

kubernetes haproxy ingress, how to show ingress node IP?

I have one k8s node, 192.168.1.10 Then created HA proxy ingress from official website, kubectl create -f https://raw.githubusercontent.com/haproxytech/kubernetes-ingress/master/deploy/haproxy-...
0
votes
0answers
49 views

PVC is mounted as read only file system

I am using Kubernetes and i have found an issue with the PVCs. Steps to reproduce: Create resources using Helm, deployment, configMap, PVCs On the PVC, accessMode is set to ReadWriteOnce Mount PVC ...
0
votes
0answers
25 views

how to connect to MongoDB deployed in Kubernetes from Studio3t?

I'm wondering on how do I connect to a Kubernetes deployed mongoldb instance, I have been using studio3t its fairly easy to use when DB hosted on AWS and all. I am finding it difficult to connect to ...
0
votes
0answers
205 views

Can't create spark session using yarn inside kubernetes pod

I have a kubernetes pod with spark client installed. bash-4.2# spark-shell --version Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/...
1
vote
1answer
26 views

How to quickly query/verify if a pod is “bare pod” or a pod supported by replication controller?

In OKD v3.11, how to find out if pods running on a node are under the control of replication controller. Is there an oc command or console feature that quickly find the information? Thanks,
1
vote
0answers
24 views

Kubernetes Pod failover never ending on Node failure

I have the following scenario: Node 1: Pod-A Node 2: No Pods Pod-A is using a PV in RWO accessMode. When Node 1 fails (the VM is powered off from the hypervisor), it ...
0
votes
0answers
45 views

How IIS handle “Client closed connection” as a reserved server

I run an asp.net core application in IIS before. And now, I move my application in k8s. I know the IIS actually acts as a reserved server between the client and my application just like what Nginx did ...