Questions tagged [kubernetes]

The tag has no usage guidance.

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

Connecting to internal network addresses from AKS to AWS

I have an AKS cluster deployed, from a pod deployed on that cluster via the VPN tunnel I need to connect to internal ip address of an aws service. What is the best way of resolving internal IP ...
0
votes
0answers
5 views

How to get the hostname of a service in Kubernetes?

I need the hostname of the service lensespostgres-postgresql, but I get an error: $ kubectl get services -n default ...
0
votes
2answers
15 views

How to limit the sum of memory used by a group of docker containers?

I am using the python API of Docker. How can I limit the memory used by a group of Docker containers? (not on Kubernetes but on a regular, vanilla Docker machine). Let's say we have container A and B: ...
0
votes
0answers
10 views

external-dns for kubernetes does not work when deploying cluster with the terraform gke module

I've deployed a kubernetes cluster on google cloud as described in Terraform Kubernetes Engine Module readme. Added a domain to google's cloud DNS, applied the ExternalDNS as described and added an ...
0
votes
0answers
13 views

CONNMARK restore not working for UDP based traffic ( exposed vi K8s Nodeport )

I have a K8s cluster hosting a UDP based application that is exposed via nodeport with externaltraffic policy local. The return traffic needs to routed back to two separate LBs which are deployed in ...
2
votes
0answers
25 views

Kubernetes wont run after “make release”

I downloaded Kubernetes and hit make release. From the handbook thats all for installation. Unfortunately if I enter kuberctl linux tells me kuberctl: command not found I downloaded kubernetes into /...
0
votes
1answer
45 views

elasticsearch-keystore not populated by kubernetes InitContainer

I try to add a snapshot repository using the Azure Repository Plugin to an elasticsearch instance running on Azure (with K8s) deployed through helm using the chart from helm.elastic.com. The chart is ...
0
votes
1answer
22 views

Install kubernetes manually with cri-o

I am trying to install Kubernetes on CentOS boxes and using crio as container runtime. Kubelet service is not coming online. It seems it is trying to find docker and not recognizing crio. I tried to ...
1
vote
0answers
22 views

Authentication to access SFTP service using LDAP/KeyClock

My SFTP server is running in K8S pod.I have created service and ingress to access SFTP service from remote.Till this point it is working as expected.I am trying to setup authentication to access SFTP ...
0
votes
2answers
35 views

Create a new /dev/sd{b,c,d} on WSL for Ceph

I'm trying to run Ceph on (micro)K8s which running on my Ubuntu WSL distory. OSD pods are not being created because there is no supported device is available (see logs below). Ceph is configured to ...
0
votes
1answer
32 views

Can not find kubeconfig file

I am trying to access a remote kubernetes cluster with kubectl. In order to copy/paste cluster credentials in the kubeconfig file I executed "~/.kube/config" command but there is an error ...
0
votes
1answer
43 views

Is is possible to run more than one application in a single container in Kubernetes pod?

First of all, I know absolutely nothing about Kubernetes, so please be easy on me. Anyway, suppose I want to run a main application and a small agent application that work together. The agent will be ...
0
votes
1answer
54 views

How to automatically sync modified files to a running Kubernetes pod?

Say I have a /src directory which I copy onto a pod in my Dockerfile. I can modify source files locally but I need to run kubectl cp in order to place every single file on the pod. Any way to ...
1
vote
0answers
25 views

how to setup ssh proxy by user in k8

I currently host gitlab in kubernetes, and would also like to move an sftp service there. I would like to host both with a single load balancer and (nginx) ingress. The problem is that nginx ingress ...
2
votes
0answers
9 views

Unable to deploy custom helm chart in GKE, no pods created

I have Helm 3 and gcloud installed on my local (Windows) machine, and I am able to access my GKE clusters using kubectl command. I have gone through several tutorials and I am able to install Helm ...
1
vote
1answer
26 views

Is it posible to run Ruby(as a language) in a sidecar in Kubernetes

I'm working on Python Pod to do one main job. However, for a single step, I need different versions of Ruby, so instead of installing all ruby versions in the "main" python container, I was ...
0
votes
1answer
19 views

use docker to use deep learning server

Let say I have a ServerA(4gpus) ServerB(4gpus) ServerC(4gpus) Is it possible to use docker use all this 12gpu together? which keyword should I search to make this happen and is it possible?
0
votes
0answers
19 views

Build docker image from raspberry pi and send it to remote server

This is an idea, before going forward I wanted to see other ideas on this or maybe tools that already exist that I am not aware of that would make my goal much more easy. The initial problem I'm ...
0
votes
0answers
15 views

Openshift local-storage daemonset local-diskmaker: failed to acquire lock on device /dev/dm-XX

Openshift version 4.5. I deleted PVs created by local-volume daemonset prom-disks-local-diskmaker manually. When redeploying daemonset I get these logs: diskmaker.go:203] failed to acquire lock on ...
0
votes
0answers
117 views

Jenkins pod stuck at pod initialize in kubernetes

I am following Jenkins tutorial (https://www.jenkins.io/doc/book/installing/kubernetes/) to deploy jenkins to kubernetes for CI/CD work as we are planning to use jenkins for CI/CD. But the pod fails ...
1
vote
0answers
165 views

When does windows HNS rely on Hyper-V, and how can you determine HNS functionality that is Hyper-v dependent?

Documentation for HNS generally has several references to Hyper-V as a service, for example: https://docs.microsoft.com/en-us/virtualization/windowscontainers/container-networking/architecture , ...
1
vote
0answers
14 views

Connect to kubeapi server on host connected on Zerotier

My problem is, I have provisioned DeepOps Kubernetes over a network using my laptop as a controller machine with Zerotier as the network. On my physical network (lan) the host address is 192.168.50.8 ...
0
votes
0answers
11 views

What version of Minikube can somebody confirm works with hyperv on Windows 10?

Windows 10 version 2004. Running on a Citrix VM. Minikube 1.15.1 gives me a can't find hyperv error. It's running, done all the powershell stuff, etc. Minikube 1.6.0 creates the Minikube VM, can see ...
0
votes
0answers
4 views

Attribute a static public ip to a pod for outband traffic

In my datacenter , i implemented a kubernetes infrastrastructure with 3 workers and one master node . Actually i'm looking to build 5 pods running postfix mail server , but because of risking to be ...
0
votes
0answers
15 views

Disabling ssh autologout in Ubuntu 18

We have ~20 VMs running Ubuntu 18.04.2 in our freshly deployed K8s cluster here and each of them keeps closing my idle ssh sessions in mere minutes. Hence 2 questions to stop this disaster: (1) What ...
0
votes
0answers
8 views

Why does running an rsync inside a container improve performance of my application

This is a strange issue I have been looking at for a few days now. Wondering if anyone can help me with the reason. I have a e-commerce website running in Kubernetes. For improved performance the core ...
0
votes
0answers
181 views

Kubernetes ngingin ingress controller error 404

I am new to Kubernetes, and I have configured Kubernetes nginx ingress controller from this web page: https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/ I ...
0
votes
0answers
40 views

Installing Kubernetes 1.17 on Windows with WSL

How can I install Kubernetes version 1.17 on Windows? I have installed the latest Docker for Windows and it already comes with Kubernetes, but it comes with the version 1.18. Is there any way to ...
0
votes
1answer
33 views

Correctly redirect traffic from 80/443 to NodePort exposed Traefik 30080/30443 on Kubernetes using iptables

In a Kubernetes setting, Traefik is deployed as follows using HelmRelease: apiVersion: helm.fluxcd.io/v1 kind: HelmRelease metadata: name: traefik-default namespace: kube-system spec: chart: ...
0
votes
0answers
34 views

Need Help Setting K3S Server in CENTOS 7 HOST To Behave As Master for Nodes in Multipass Mini Cloud

I have installed the K3S lightweight instance in a CentOS 7 VM, running on parallels. Not only that I have 3 nodes, running alongside the host machine in Multipass. However, the steps highlighted in: ...
1
vote
0answers
126 views

Postfix non privileged docker image

We are trying to create a docker image for postfix similar to this one here. Later we want to use it as part of a kubernetes deployment. Therefore the container needs to run as a non-root user (...
0
votes
0answers
7 views

PC does not connect to kubernetes cluster when attempting to reach 127.0.0.1 via work VPN

I'm attempting to access a website where the files are all on my local PC, but the database connection is to the db in my workplace's office - therefore I am using a work VPN to be able to access said ...
1
vote
1answer
255 views

Intermittent network timeout in docker

I am experiencing a network/http timeout issue with a docker-in-docker app that's running in a Kubernetes cluster and I need help in figuring out what may be happening. I am running a docker container ...
0
votes
1answer
261 views

docker push causes http error 413: client intended to send too large body

I have a minikube K8S cluster running on a hyperv vm. The cluster has an nginx ingress controller to expose services to outside of the cluster. Outside of the cluster requests are exposed to the ...
0
votes
0answers
39 views

Unable to delete containerd data directory (C:\ProgramData\containerd)

I installed containerd & docker engine on windows 2019 node using the steps described here - https://docs.mirantis.com/docker-enterprise/v3.1/dockeree-products/docker-engine-enterprise/dee-windows....
0
votes
0answers
665 views

How can I create DNS A records in CoreDNS manually?

My question is how can I create DNS A records in CoreDNS manually?
1
vote
1answer
352 views

Kubernetes KeyCloak and Traefik configuration

I configured KeyCloak with helm with default setting service.type: ClusterIP from this Hub https://hub.kubeapps.com/charts/codecentric/keycloak I also use Traefik 2.2 to expose Keycloak externally ...
0
votes
0answers
16 views

How to determine where a PersistentVolume is mounted

I am trying to write a script that loops over all PersistentVolumes in a Kubernetes Cluster and copies the files to my local machine. I'm listing the PVCs using kubectl get pvc -A and then with that ...
0
votes
0answers
16 views

Docker Swarm replication functionality clarification

I'm getting into docker swarm to create a service for a redundant minecraft server. But this is what i need and i want to know if docker swarm can do this or will i have to use Kubernetes... Basically ...
0
votes
1answer
103 views

See kubernetes pod restarts in monitoring

I have a pod that seems to be crashing lately, kubectl get pods shows 16 restarts, but when I look into monitoring, all the metrics that have "restart" in their name are empty. Do I need to ...
0
votes
0answers
15 views

Why might my Kubernetes Master be unable to communicate with otherwise healthy pods on other nodes?

I have four VM's that have joined my master as workers: Creating pods works fine, but the only time the master can hit their endpoints, stand up a service that connects successful was when I tried ...
0
votes
0answers
82 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
160 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
13 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
8 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
62 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
69 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 ...
1
vote
1answer
183 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
66 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
65 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 ...