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.

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.

For more details, visit the official Kubernetes page.

2075 questions
2
votes
1 answer

How to properly configure access to kubernees dashboard behind nginx ingress

I'm trying to configure nginx ingress to access several services, like this: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: ingress-monit spec: rules: - host: grafana.localhost http: paths: - path: / …
bachr
  • 153
  • 5
  • 11
2
votes
1 answer

How long kubernetes stores pod stdout logs?

I run pods in kubernetes (1.17.0) that write logs to stdout. This pods are going to be up for a long time. I use promtail to gather logs and send to loki storage. So I can configure to store logs, for example, for last 7 days. However, I don't…
Kostya Regent
  • 123
  • 1
  • 4
2
votes
1 answer

AWS Cloud Provider Integration with Kubernetes - Nodes stuck with "uninitialized: true" taint after bootstrapping

Summary I am attempting to bootstrap a Kubernetes cluster on AWS using Kubeadm. Please before you suggest them, I am not interested in using EKS or another bootstrapping solution like Kops, Kubespray, etc. It appears that there is a lot of…
TJ Zimmerman
  • 241
  • 5
  • 17
2
votes
1 answer

Mounting EKS EFS with CSI Times Out before Pod Comes Up

I am using EKS with Kubernetes version 1.15 and when I create a Storageclass, Persistent-Volume, Persistent-Volume-Claim, and Deployment the pod fails with: Warning FailedAttachVolume 71s (x2 over 3m11s) attachdetach-controller …
Thingable
  • 21
  • 2
2
votes
1 answer

Why do kubernetes kube-api server need etcd-keyfile and kubelet-client-key

As I understand kube-api server acts as a client when communicating with ETCD and Kubelet. Both ETCD and Kubelet act as servers for kube-api. With secure environment (two way SSL authentication), kube-api server needs the ETCD and Kubelet…
srinu259
  • 23
  • 3
2
votes
1 answer

Invalid keycloak URL error when installing alfresco-dbp with helm in Kubernetes on AWS

I'm currently trying to deploy Alfresco Content Services on AWS following this guide. I got as far as to "Creating File Storage for Alfresco Content Services Community" where I have to create an EFS storage using another guide. In step 4 "Deploy the…
2
votes
1 answer

Kubernetes kubeconfig inside pod

I am trying to create a deployment which is deployed on K8S instance on which it does migration of services. This needs kubeconfig as part of the code right now. We do not have access to create service accounts. We also have kubectl binary inside…
Tech_Lover
  • 21
  • 1
  • 3
2
votes
1 answer

How do I completely remove cilium from Ubuntu 18?

I installed cilium with: kubectl create -f https://raw.githubusercontent.com/cilium/cilium/1.7.2/install/kubernetes/quick-install.yaml A couple minutes later the network connectivity on the host went down (could connect out from the host but not in…
Dean Schulze
  • 199
  • 1
  • 2
  • 9
2
votes
1 answer

How do I deploy a PersistentVolume to all nodes except master nodes?

I have tried kubectl apply on this file: apiVersion: v1 kind: PersistentVolume metadata: name: app-pv labels: type: local spec: storageClassName: manual capacity: storage: 1Gi accessModes: - ReadWriteMany hostPath: path:…
Robin Green
  • 451
  • 3
  • 11
2
votes
1 answer

How to trigger alerts in Prometheus when specific users login to OpenShift or Kubernetes?

Using either kube_state_metrics or anything else I'd like to fire alerts in Prometheus AlertManager when a specific user logs in to the cluster, ie. kubeadmin or bob-smith. Or in other words: where in Kubernetes or OpenShift is the logged-in state…
funix
  • 21
  • 2
2
votes
1 answer

How to configure client_max_body_size per a location using nginx controller

I would need to configure client_max_body_size for a specific location in my Ingress configuration file then is the default value. How it is possible to do it? I was looking into the doc but have not found anything. Not don't want do do it…
Peter Jurkovič
  • 145
  • 1
  • 8
2
votes
1 answer

Azure Kubernetes cluster creation stuck in "This size is currently unavailable in this location for this subscription"

I am trying to create an Azure Kubernetes Cluster, i.e. https://docs.microsoft.com/en-us/azure/aks/ Upon going to the interface to create the cluster, I cannot create it because I get this error constantly: Now, obviously what I have tried is to…
Jose
  • 143
  • 3
2
votes
2 answers

Minikube. How to allow access to local mySQL database from container

I'm trying to access to local MySQL database from minikube container. My minikube works on Windows 10 with hyper-v driver. I found a few solutions (creating host-only network from VirtualBox) but nothing for hyper-v. Can somebody assist me how can I…
Dennis Spade
  • 21
  • 1
  • 2
2
votes
1 answer

How to change the k8s internal ip addresses?

I provisioned a kubernetes cluster on my own couple of virtual machines via kubespray. The VM's network is bridged adapter and kubespray uses calico as default network-plugin. Before sometime, I've switched to another network and as a result of the…
2
votes
1 answer

X-Forwarded-Host doesnt work in nginx

Update 2. I want to add and forward all traffic to localhost/admin/ instead of localhost/. App listen to those paths: localhost/ (then gets 302 to localhost/login by application), localhost/overview, localhost/books/details, etc. I want admin…
TicJit
  • 73
  • 1
  • 7