Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kubernetes]

The tag has no usage guidance.

0
votes
1answer
8 views

php-apache curl returns (7) Failed to connect to 10.96.128.220 port 80: No route to host

I have 3 kube services (PHP-apache) that I am trying to curl but it always returns the same error: curl: (7) Failed to connect to 10.96.128.220 port 80: No route to host Does anyone have any idea of ...
0
votes
1answer
5 views

Apache ProxyPass to service in Kubernetes cluster

I have a problem with ProxyPass to service that is located in Kubernetes cluster (also, behind domain-name sensitive proxy). This is my configuration: <LocationMatch "/service2"> ProxyPass ...
1
vote
0answers
11 views

Running Linux command after reboot under specific conditions

we are currently setting up a Kubernetes Cluster. Kubernetes starts up at server boot normally and after a while, after the program "kubelet" has fully loaded its components, the network port 30000 ...
0
votes
0answers
17 views

kubernetes pod has persistent MissingSubscriptionRegistration error even after registering for provider namespace

I'm following the Virtual Kubelets tutorial. I'm trying to use Azure Kubernetes Service through the Azure Portal Cloud Shell. So, I check on my pods using kubectl get podsand one of them has a ...
0
votes
0answers
12 views

Azure VM Provisioning error for AKS on deployment

We have an AKS cluster with 3 nodes on Azure. On creating a deployment the containers and services crashed. On diagnosis one of the nodes was showing an errorcode: VMArtifactRepositoryInternalError, ...
0
votes
0answers
5 views

Prevent active kubernetes pod from terminating

We have a pod which serves HTTP traffic. When we update the image version of the parent deployment is there a way to prevent the pod from terminating until all current connections have finished? We ...
0
votes
0answers
10 views

Jenkins pod not starting: Back-off restarting failed container

Created PV and PVC in GKE. Jenkins POD is not starting after running helm command. It is showing in state Init:0/1 and deployment is also coming unavailable. error message: Back-off restarting failed ...
0
votes
0answers
13 views

kubernetes pod exit 137 and resource limit is not set

error Hey, All friends, my pod is exit with code 137 when i connect mysql in this pod. error message command terminated with non-zero exit code: Error executing in Docker Container: 137 ...
-1
votes
1answer
19 views

VBoxManage: error: Failed to create the VirtualBox object! Cannot handle settings version '1.2-macosx'

Unable to start VM: create: precreate: /usr/local/bin/VBoxManage list hostonlyifs failed: VBoxManage: error: Failed to create the VirtualBox object! VBoxManage: error: Error in /Users//Library/...
0
votes
0answers
13 views

Can you run kubernetes in vagrant server using docker

I want to localize most of my CI/CD pipeline so I started by installing vagrant then docker and I have pulled a Docker container for Jenkins and I have that setup and running but I can't seem to find ...
0
votes
1answer
31 views

MountVolume.SetUp failed for volume pvc, mount failed: exit status 32

We are trying to configure vsphere cloud provider for kubernetes cluster according to below support link for dynamic provisioning from vmware. There was no problem with kubernetres version v1.8, the ...
0
votes
0answers
11 views

Adding cluster-admin to a openshift online free-trial user

I created a free trial account zouxuan and added admin role to it. Then I login with the command from "Copy Login Command". oc login https://api.starter-us-west-2.openshift.com --token=...
0
votes
1answer
11 views

How to use Ansible k8s module?

I am discovering Kubernetes and Ansible, and I am trying to build a very simple ansible playbook to initialize Kubernetes. I heard about a module "k8s" but I don't undertand how to use it. For ...
0
votes
0answers
4 views

Requests from application is taking longer time to return response in idle pods

API Requests from Spring boot application (deployed in GCP) is taking longer time to return response in idle GKE pods and would like to understand what can cause such behaviour. Are there any ...
0
votes
0answers
23 views

How to update Jenkins version on OpenShift?

I am trying to update the Jenkins version of my Jenkins container within OpenShift. I found an article online ( https://stackoverflow.com/questions/24511360/how-to-upgrade-jenkins-server-cartridge-...
0
votes
0answers
25 views

How to manage Redis cluster by using Jedis in k8s?

I builded redis cluster in k8s. Redis cluster consist of 3 masters and 3 slaves. And I deployed the spring boot app that use Jedis to share data in redis. It is working well. However, when any pods ...
0
votes
0answers
10 views

Kubernetes - pod cgroup slice reporting too high memory usage

I can't figure this one out. Some pods are ending up in "crashLoopBackoff" because they trigger oomKiller one time. NAME READY STATUS RESTARTS AGE IP ...
0
votes
0answers
30 views

Kubernetes pod executing maven build results in Cannot fork

I've been bashing my head against this problem for a while now and finally broke down and at a lose. I'm setting up a scaleable build server, using Azure's AKS (kubernetes) and Jenkins as the build ...
0
votes
0answers
9 views

External IP on AKS cluster does not show application

I following yaml created to deploy an application on AKS. My image is a working image as I could create a web app from the image that is on ACR and that works fine, but when deployed on AKS it doesn't ...
0
votes
0answers
11 views

unable to run docker-compose.yaml on kubernetes?

The following docker-compose.yaml works perfectly after running with the docker-compose up command. I can also see that my app has successfully started in tomcat manager app. version: '3' services: ...
0
votes
0answers
18 views

How do i make my Pods in Kubernetes Cluster (GKE) to use the Node's IP Address to communicate to the VMs outside the cluster

I have created a Kubernetes Cluster on Google Cloud using GKE service. The GCP Environment has a VPC which is connected to the on-premises network using a VPN. The GKE Cluster is created in a subnet, ...
1
vote
0answers
31 views

Configure Kubernetes API server to connect to a separate TLS secured etcd cluster with each member having it's own unique public certificate

I am following Kubernetes the Hard Way without using Google cloud, and instead using container linux and a separate etcd cluster (one that doesn't exist on the control plane's controller nodes where ...
0
votes
0answers
17 views

How to run multiple containers within the same pod in kubernetes clusture?

I have 2 docker containers. one containing tomcat server and the other containing mysql database. I want to run those containers on a single pod since tomcat has to access the mysql database. pod....
0
votes
0answers
18 views

convert and run docker-compose.yaml on kubernetes clusture?

I am using the following docker-compose.yaml file... version: '3' services: mysql: image: suji165475/vignesh:latest ports: - "3306:3306" tomcat: image: suji165475/vignesh:...
-1
votes
0answers
9 views

kubernetes v1.14 acquiring all hugepages what ever present is host machine

I am creating 2 pods that needs 2 - 1GB hugepages each pod. I am using kubernetes 1.14 and containerd for container run time. I have assigned 4 1GB hugepages to host machine but my app is crashing ...
0
votes
0answers
7 views

Google Cloud Network HTTPS Load Balancer not working (“Server Error”)

My setup: A kubernetes cluster (GKE). The GKE has pod A, and a related service A with port 15000. I opened up the compute firewall, and I attached an external static ip address to the cluster, and I ...
-1
votes
0answers
17 views

Kubernetes kubelet V1.13.0 times out attempting to join a cluster

I'm trying to port Kubernetes to an embedded Linux (Altera Linux, to be specific) running on a 64-bit ARM processor. There are no package management systems (e.g. yum, ubuntu apt, debian dpkg) on ...
0
votes
0answers
11 views

Kubernetes api server is up but I can't connect

I'm new to Kubernetes and am running it on a CentOS 7.5 VM and only a single NIC. Everything seems like it is coming up right: # docker ps -a | grep kube | grep -v pause Returns 9ad8ea82163c ...
0
votes
0answers
8 views

Ensuring at least one instance of a service is present on every nodepool of a Kubernetes cluster

In our use case we use the Open Policy Agent as a Kubernetes Admission Controller to modify specs (and add things like Node Affinity) before Pods are launched. This works great, until there are no ...
0
votes
1answer
47 views

java.net.BindException: Address not available

I am using Gatling to load test a spring application build using Spring webflux and mongo databse. My API just takes a string parameter and does a get call on the mongo reactive repository. My ...
-1
votes
0answers
17 views

Regarding stopping or reversing helm serve

I used helm serve and successfully did a local http server of a chart repos. I feel weird that I can't shut down that http server manually. Is it helm serve stop or something similar?
0
votes
0answers
21 views

Kubernetes service loses connection to Etcd DB when pod restarts

I have a Go Lang REST service and ETCD DB in one container, deployed in kubernetes cluster using Deployment type. Whenever I try to restart the service pod, the service loses connectivity to ETCD, I ...
0
votes
0answers
8 views

Helm is always uninstalled in my GKE cluster every time I made changes and do kubectl apply

I have question on Helm. I am new to it but have good understanding about it. Here's my current situation. I have k8s cluster in GKE and I did install helm(in my GKE k8s cluster) using from script: ...
0
votes
0answers
15 views

Kubernetes — how to remove terminated pods from being listed in Kubernetes dashboard

I have manually deleted a few Kubernetes pods via the Kubernetes UI dashboard. My problem is, the deleted pods are now being listed as "Terminated" on the Kubernetes Dashboard. Typically, when a K8s ...
0
votes
0answers
29 views

while doing kubeadm init --pod-network-cidr=10.244.0.0/16 master

when i run kubeadm init --pod-network-cidr=10.244.0.0/16, i get stuck at [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/...
-1
votes
0answers
5 views

Kubernetes Prometheus Target page showing empty Please suggest

As I am trying to setup grafana/prometheus/alertmanager and consul after the deployment when I load prometheus target page it is showing empty
0
votes
0answers
14 views

Kubernetes hangs on dockers for windows

I have been trying to enable kubernetes on dockers for windows but is seems to be processing the installation for ever. It says "Kubernetes is starting" but never ends. The dockers starts and it works ...
0
votes
0answers
8 views

How to create a custom Jenkins Image on OpenShift

I am working on setting up an OpenShift image to use in CI/CD ( focused on performance testing), I got to the point of having a Jenkins Master setup that automatically spins up a slave container when ...
0
votes
0answers
22 views

fetch fails on second apk add

i've got a kubernetes cluster on my root server and there vm's. There is a gitlab running with usage of kubernetes pipelines. Now the problem, in my Dockerfile I have the following lines: # Install ...
0
votes
0answers
12 views

Openshift web console custom HTTP headers

A vulnerability auditing to our IT infrastructure found that responses from Openshift Web Console didn't have Strict-Transport-Security and X-XSS-Protection HTTP headers, and recommended that we ...
0
votes
0answers
101 views

K8s: Unable to mount volumes for pod

Unable to mount volumes for pod "pod-using-nfs_hyperledger(8c3b3949-6673-11e9-99ae-525400dce7c4)": timeout expired waiting for volumes to attach or mount for pod "hyperledger"/"pod-using-nfs". list of ...
1
vote
0answers
15 views

Failed Stackdriver email notification for newly created cluster

I want to create monitoring and altering notification whenever someone creates a new k8s cluster. Method: Find methodName: google.container.v1beta1.ClusterManager.CreateCluster Create Log metrics ...
0
votes
0answers
171 views

kubeadm init is not initing the cluster

I have installed kubernetes on CentOs 7.6 machine. I have added two nodes in the master virtual machine in /etc/hosts file. However, it is not getting starting and throwing the following errors. If ...
0
votes
0answers
10 views

Unable to login to kubernetes master node

I have created a kubernetes cluster using stackpoint.io on aws. I need to login to the master node of the kubernetes cluster but I am unaware of how to get the pem file for the master node. Can ...
0
votes
1answer
55 views

ImageInspectError - When trying to start k8s pod

I am getting an error when I try to start my webserver pod for my k8s configuration: Failed to inspect image "us.gcr.io/image-place/base-laravel-php71-supervisor-xdebug": rpc error: code = Unknown ...
0
votes
0answers
8 views

see all port forwards in kubernetes cluster

how can I find all port forwards that are active in a given kubernetes cluster? with kubectl port-forward mypod 8888:5000 it is possible to setup a port forward but how can I see all portforwards ...
0
votes
1answer
42 views

How to make minikube server tls-curlable?

I am following a tutorial to implement hyperledger fabric in kubernetes by setting up a minikube server in a kvm2 virtual machine while on an Ubuntu 18.04. base operating system. At some point I need ...
0
votes
0answers
29 views

Kubernetes 110 pod per node limit

After trying with various providers(bare kubernetes, openshift, aws eks) we have found that even if node has enough resources(cpu, ram, hdd) after reaching ~110 pods new pods are hanging in Pending ...
0
votes
0answers
30 views

Network Routing Policy for Kubernetes Service IPs published via MetalLB Loadbalancer

we have a routing problem for Kubernetes Services which are published over MetalLB Loadbalancer on a Loadbalancer-LAN attached to the Kubernetes Worker Nodes. Working with only default/main routing ...
0
votes
1answer
106 views

How to write kubeadm 1.14.1 config file to set horizontal-pod-autoscaler-use-rest-clients to true

I'd like to create a kubeadm config file(kubeadm.yaml), which can be used for multiple nodes by kubeadm init --config kubeadm.yaml. The problem I am facing now is that, I want to set horizontal-pod-...