Questions tagged [kubernetes]

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

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

Rate limiting inside kubernetes cluster

I have multiple services running inside a kubernetes cluster and all talking to each other. I want one of the services to have a rate limiting feature. This means that for certain caller ids it should ...
0
votes
0answers
18 views

Get specified value in prometheus target labels?

Brief: I have an kubernetes cluster container a default, monitoring and multiple shoot-******** namespace. (******** is random) I setup prometheus in kubernetes monitoring namespace, and kube-state-...
0
votes
0answers
15 views

openshift is running all containers with uid 101 instead of taking an uid from a project range

Openshift cluster is installed in AWS using this doc: https://docs.openshift.com/container-platform/4.5/installing/installing_aws/installing-aws-default.html When running a pod in any project - it is ...
0
votes
0answers
12 views

Using master nodes as ingress?

I'm struggling a bit with this concept... I'm finally at point where I can mostly tell how the kubernetes works, can deploy pod->service but how to handle ingress, I mean real life example.. My ...
0
votes
0answers
7 views

Kubernetes storage class for blob storage (AZURE storage account)

Can we use azure storage account: blob for storing EFK logs using persistent volume. Ihv verified below article i didn't see anything related to blob https://kubernetes.io/docs/concepts/storage/...
0
votes
0answers
17 views

Update kube-apiserver static pod after etcd member removal

I have created a 3 master 3 worker cluster with kubeadm along with etcd cluster as system services running on master nodes.Configured etcd clusters as external endpoints and they are running on the ...
0
votes
0answers
17 views

CoreDNS request does timeout (kubernetes / rancher)

I am trying to install mongodb-replicaset helmchart available on Rancher2 (well it's mostly a k8s problem imho). The service is named mongodb-replicaset in the namespace mongodb-replicaset. On init, ...
0
votes
0answers
22 views

Prometheus auto scrape metrics from multiple kube-state-metrics in kubernetes?

I want to use a kubernetes(cluster-0)with multiple kube-state-metrics to monitor multiple other kubernetes cluster(cluster-1,2,3,4) In the (cluster-0), I split into multiple namespaces like this: ...
1
vote
1answer
55 views

Kubernetes: route outgoing UDP traffic through service

My question is about Kubernetes' internal traffic routing and probably about routing / NAT in general. Goal: I'm running a Wireguard service on Kubernetes and I'd like to route all outgoing traffic ...
0
votes
0answers
24 views

Can we install another kubernetes on openshift/okd(kubernetes cluster)?

Can we able to achive kubeception on the openshift cluster?
0
votes
0answers
42 views

Despite having created a specific SSL certificate for a GKE ingress, I still cannot reach the IP address with HTTPS

I created an ingress for a GKE cluster providing a SSL certificate. Now that ingress presents two IP adresses, one with HTTP with a port :80 and another one with HTTPS with a port 443. The problem is ...
0
votes
0answers
29 views

OpenLDAP in k8s: authentication does not work

I have set up an openldap (osixia/openldap:1.4.0) container in k8s and it runs smoothly. However, when my app wants to connect to it using the default admin/admin creds, it fails. Data: I have this in ...
0
votes
1answer
37 views

Kubernetes through Virtualbox; Pods can't access internet services

System: VirtualBox, Debian 10 Server, Kubernetes with kubeadm I've setup a deployment and a service and I am exposing it via NodePort but my Pods somehow cant access the internet. The worker node ...
0
votes
0answers
27 views

Determine number of Kubernetes CPUs utilised over time

I have spent a bit of time in Kubernetes monitoring on GCP (https://cloud.google.com/stackdriver/docs/solutions/gke/observing) and cannot find where to see how many CPUs were used by a particular ...
1
vote
0answers
70 views

Google Cloud Platform send requests from a backend vm to its own Internal Load Balancer

In this Google Cloud Platform page https://cloud.google.com/load-balancing/docs/internal/setting-up-internal#test-from-backend-vms (2020-10-12), underneath section "Sending requests from load ...
0
votes
2answers
51 views

How to start openldap in k8s?

*** CONTAINER_LOG_LEVEL = 3 (info) *** Search service in CONTAINER_SERVICE_DIR = /container/service : *** link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools *** link /...
0
votes
1answer
78 views

Preventing directory traversal in nginx ingress in Kubernetes

I have the following ingress defined: --- apiVersion: extensions/v1beta1 kind: Ingress metadata: name: someName namespace: test annotations: kubernetes.io/ingress.class: "ingress-public&...
0
votes
0answers
27 views

tensile-kube unable to get log from provider

I'm using tensile-kube to setup a labs cluster with 1 upper-node and link to 2 provider I can create pod, secret, pvc, ... but when calling logs, it just fail root@tensible-kube-master:~# kubectl logs ...
0
votes
1answer
40 views

kubernetes on virtualbox and visual studio code

I have installed kuberenetes with minikube on windows in virtualbox, for the moment I'm using visual studio as yaml IDE and using cmd for kubectl commands. I want to know how can I define Visual ...
0
votes
0answers
27 views

Kubernetes: kube-dns servers are not reachable (other pods are reachable)

this is an odd one. I've setup my K8s cluster, 1 master and 1 worker. It uses calico as cni, and everything looks to be working as expected (I'm able to deploy pods, services, etc). I'm able to reach ...
0
votes
1answer
136 views

why AKS,EKS,GKE better than k8s .can we say k8s architecture is base of these 3. How they leverage each other?

I am trying to learn k8s, and 1 question always coming as to why we need GKE, aks, or EKS. In the cloud, Can we do container orchestration without the above services means can we have compute ...
0
votes
0answers
16 views

Options to grow a Docker host into an orchestrated [nano]cluster

I'm seeking a little advice, I have a Fedora Server 32 VM as a Docker (not Podman) host. I think I may have outgrown it so basically either I add more resources to the VM or I add another VM and ...
0
votes
0answers
122 views

GKE context deadline exceeded: CreateContainerError and failed to reserve container name

I am running a GKE cluster, and sometimes, one of the nodes has issues with specific containers built from php7-alpine. We run two types of containers, the first type is built from php7-alpine, and ...
0
votes
1answer
42 views

How should “CPU usage per node” be interpreted in Google Cloud monitoring?

In the monitoring tab for Composer (Airflow) on Google Cloud there is a graph showing "CPU usage per node". How should the values in this graph be interpreted? What value would indicate that ...
0
votes
0answers
25 views

Connection error in azure SQL server to google kubernetes through VPN [closed]

We have established connection from Azure SQL server to google kubernetes Nodes through Site to Site VPN.Now we can able to ping the azure SQL server and VM local IP address from google kubernetes ...
1
vote
1answer
50 views

How to see usage patterns of the `kubectl exec` command?

In a kubernetes cluster I am trying to understand how the kubectl exec is used by the users. Users are exec'ing into which pods in which namespaces? What is the best way to discover that? I think the ...
0
votes
0answers
26 views

Ingress not forcing/preventing https connections on GKE

I'm setting up ingress on GKE and facing an issue (even after following all the tutorials) All I want is to disable http access. The following is the output of kubectl describe ingress: Name: ...
0
votes
1answer
110 views

Access-Control-Allow-Origin value overrided for OPTIONS requests

I am trying to enable CORS for multiple subdomains, like was suggested here: https://serverfault.com/a/1022028/593976 It works fine, except for OPTIONS requests. No matter what I do when the request ...
0
votes
0answers
35 views

kubernates onpremesis ingress nginx bad gateway

Hello I am quite new to kubernates So I have installed kubernates on an Ubuntu DPS then I have also added ngnx-ingress-controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-...
0
votes
0answers
14 views

NAT not working on VirutalBox with kubernetes, PC -> [ VM -> haproxy -> MetalLB -> Ingress controller -> Kubernetes web server ]

Im trying to connect to a webserver deployed in kubernetes, from outside of the vm. I've connected the pod to an ingress controller and gave the ingress controller a LoadBalancer IP via MetalLB, then ...
1
vote
1answer
53 views

Can kubernetes cluster nodes be geologically spread out?

Me and a couple of friends are thinking of setting up a kubernetes cluster where our homeservers will act as the nodes. As our nodes will be spread out between our apartments I am worried this will ...
1
vote
1answer
44 views

How can I set up Kubernetes to forward a set of externally-facing ports on the master node to a service internal to the cluster?

I have a Kubernetes cluster on which I'm running a ZeroMQ broker internally. I have set up a service so that this broker can be found by pods on the cluster, using the following Helm template: #...
1
vote
0answers
18 views

Kubernetes - Typical multi-instance architecture

I am looking to deploy a SaaS app using Kubernetes to handle the scaling. After much reading, I have come to the conclusion that multi-instance is the way to go. Ideally, I will have a user log-in ...
0
votes
0answers
31 views

Migrating an external Kubernetes service from load balancer to ingress controller

So currently i have 2 services in a namespace called "development" that need to handle external traffic, and currently use type:LoadBalancer, and have their own external IPs and DNS records. ...
0
votes
0answers
31 views

CPU utilization

I have an issue with CPU utilization on a Kubernetes VM Instance. My average CPU Utilization was around 19%. On september 15th 2020, based on Google recommendation, I updated my kubernetes version (...
0
votes
1answer
24 views

Jenkins pod failing to initialize

I am having a major problem with Jenkins pod not being able to start. This is how my kubernetes deployment looks like https://justpaste.it/8ff07 This is the log that I am getting when I investigate ...
0
votes
0answers
25 views

How do I make Rancher Pipeline use my private Harbor server for the docker images?

I'm using Rancher Pipeline as a CI/CD tool, and I want it to pull docker images from my private Harbor server rather than Docker Hub. How can I do this?
0
votes
0answers
44 views

Azure AKS does not have D2 v4 nodes listed in selection

Want to select D2 v4 (0GB Temp storage) nodes for my AKS node pool, but this node size is not available. Now we are using D2s v3 (16GB temp storage). That temp storage is not used and also is not that ...
0
votes
2answers
30 views

Only allow cloudflare IPs in with VPC in Kubernetes cluster

I have a Kubernetes cluster running on the Google Cloud Platform. Port 443 is exposed through an Ingress controller. I am trying to use the VPC firewall rules to block access from anything other than ...
0
votes
0answers
106 views

Docker and Kubernetes installed on Ubuntu 20.04 but I cannot get the docker container to reach outside traffic

I had an Ubuntu 20.04 server which was used for CI/CD and it was using Docker on it to build and publish images. The resources were not that much requested so I decided to install Kubernetes on that ...
0
votes
1answer
167 views

HTTPS for EKS LoadBalancer

I have LoadBalancer setup for a Deployment on EKS. I can access the app behind the classic load balancer AWS setup with the DNS name <elb id>.<aws region>.elb.amazonaws.com. I would like ...
0
votes
0answers
44 views

Why are my Kubernetes worker nodes attempting to pull the infra-pod image when kubelet is run with container-runtime remote?

I have a set of worker nodes that are successfully joining my K8s cluster, but they are failing to schedule any pods due to their inability to pull the infrapod image from the internet. Our cluster is ...
0
votes
1answer
69 views

What's causing Network Egress consumption in a GKE cluster?

I have a not-so-small cluster hosted on Google Kubernetes Engine (2 e2-standard nodes) with a couple of web services talking to each other. The architecture is composed by: 2 Cloud SQL instances, ...
0
votes
1answer
65 views

Kubernetes running Windows + Linux Containers

I built a trading research system which runs backtest jobs. The system is managed by several Linux-based containers which are responsible for managing jobs, analyzing results, and storing all jobs ...
0
votes
1answer
65 views

How to run Kubernetes without external DNS - Hostname could not be reached

I am installing a k8s cluster on CentOS 8 Hyper-V virtual machines. I used my router DHCP server to give them static IP addresses, but I have no DNS. When I was ready to setup kubernetes I ran sudo ...
1
vote
1answer
115 views

docker won't run k8s containers (including control plane): “unable to find user 0: invalid argument”

I have had a k8s cluster running for a while without issues. A few days ago, it wouldn't start and when the kubelet starts it creates a number of control-plane containers (in an apparent infinite loop)...
0
votes
0answers
87 views

Kubernetes Calico networking: calicoctl reports “reset by peer” and “bird: BGP: Unexpected connect from unknown address”

This is a new cluster built using Kubespray on bare metal. The issue that calicoctl reports not Established status, StatefulSet members cannot communicate between each other and majority of Ingress ...
0
votes
1answer
110 views

Avoiding races when deleting unused Docker images in a Kubernetes cluster

I have a single node Kubernetes cluster. Through a GUI users are able to subscribe to and unsubcribe from various images, subscribing and unscribing instantiates and uninstantiate a container from the ...
0
votes
2answers
144 views

K8s no dns resolution on all used test images

Hi community and K8s experts, I installed a clean K8s cluster based on virtual machines (Debian 10). After the installation and the integration into my landscape, I repaired in the first step the ...
0
votes
0answers
27 views

f1-micro shuts down instance with high CPU usage

I use f1-micro mainly for main dev environment, I connect to the instance using vscode ssh extension. But whenever I try to open a medium sized javascript file, or an extension loading up in the ...

1
2 3 4 5
25