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
1
vote
1 answer

Kubernetes, pods with unique database server vs one shared database server

I'm developing an application that is shipped as a cloud service, that is there are n instances of that application and each is completely separated from one another and each of those separated clones store the data in its own pgsql…
erexo
  • 133
  • 6
1
vote
1 answer

Use user (and not service account) token for kubernetes dashboard

I've a Kubernetes deployment on Azure (AKS) and I also deployed the k8s dashboard. I've connected the k8s deployment to our Azure Active Directory (AAD) so we can use the kubectl command with our AAD login (steps here:…
Matthias
  • 11
  • 1
1
vote
1 answer

Connection incorrectly preserved when using gRPC on ISTIO

We've seen some odd behaviour on our kubernetes cluster. We have two test applications that speak gRPC. One sends a subscription message and the other sends back a stream of responses. The envisaged behaviour is that this stream stays up until…
Julian Birch
  • 113
  • 6
1
vote
2 answers

Own etcd cluster for Kubernetes

I want to build my own Kubernetes cluster across two locations (300 km distance) and integrate it into GitLab. Let me list my ideas. My question is if I have a mistake in my thinking somewhere and ask to solve it. Since I can only set up VMs and…
uav
  • 494
  • 3
  • 16
1
vote
0 answers

How to store Vault audit logs when running vault in a Docker container

I'm researching the various audit devices for Hashicorp Vault. My goal is to run Vault in a Docker environment (currently Docker Swarm). The File method is fairly straightforward, but I'm also interested in syslog. Has anyone successfully used the…
wsams
  • 121
  • 4
1
vote
1 answer

Architecting for microservices application

I am not sure whether this is a right forum to ask question with respect to the infrastructure architecture. But posting the question hoping so: One of my customer has a web application which is developed in the latest technology of micro services.…
serverstackqns
  • 722
  • 2
  • 16
  • 39
1
vote
1 answer

GKE nodes fail to upgrade (zone us-west1-b)

I'm trying to upgrade nodes to 1.15.7-gke.23 and getting this error since 24.01.2020. Failure in zone us-west1-b due to tight resource constraints. You can either try again later or create another node pool in another zone and migrate…
Nikita V
  • 11
  • 1
0
votes
0 answers

Nodeport is not sending the traffic to service port in GKE private cluster

I have a private cluster created in GKE and gitlab is running as a pod in this cluster. Here, nodeport is not sending the traffic to service port and hence unable to push images to gitlab. Error response from daemon: Get http://localhost:32121/v2/:…
0
votes
1 answer

Kubernetes cluster on separate networks

I want to create a Kubernetes cluster on 4 machines. One has a public IP address and is reachable from the internet (let's call this Master). The Master also has a domain name assigned to it (let's say it's master.foo). Three machines are on the…
Paul
  • 103
  • 4
0
votes
1 answer

can't build or test kubernetes on docker or locally

I cloned the kubernetes repo and installed all the required packages to my mac but whenever I run build/run.sh make all or build/run.sh test I'm getting the following error: Call stack: 1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:857…
eladm26
  • 101
0
votes
1 answer

GCP - "kubectl rollout restart" results: error: unknown command "restart"

My GCP kubernetes cluster version is: Master version 1.15.7-gke.2 When I run in the cloud shell kubectl rollout restart I am getting the error: unknown command "restart" What might be the reason? update kubectl version resulted:…
fatNjazzy
  • 69
  • 3
  • 11
0
votes
3 answers

Should an admin enforce HTTPS inside kubernetes network, or just for outside traffic (via ingress)?

In a microservices scenario, each web-api container should serve itself through HTTPS or is it ok to internally work through HTTP and have all ingresses configured with certificates and redirecting to port 80 of the containers? I think the easiest…
0
votes
1 answer

Creating multiple Local Persistent Volumes on the same node with the same path unexceptedly works

While doing setup testing on a 2 worker node Kubernetes cluster using kind (https://kind.sigs.k8s.io/docs/user/quick-start), i came up with this and cannot find info elsewhere. I've created a folder on all of my worker nodes in /var/testpv and…
vfrans
  • 43
  • 1
  • 6
0
votes
1 answer

How to tell why Kubernetes liveness probe gets HTTP 503 while logs show 200 OK?

I've deployed a pod with Apache httpd (official image, tag 2.4.41), serving HTTP/2.0 plaintext on port 8082, and it's working "fine", but I see restarts every few hours (kubectl get pod/mypod, showing 60 restarts in 5 days). The logs always show…
gertvdijk
  • 3,362
  • 4
  • 30
  • 46
0
votes
1 answer

kubernetes persistent volume cannot be created "the server could not find the requested resource"

When I try to create an nfs-based persistent volume in our local kubernetes cluster, I get the following error: # kubectl create -f nfs.yaml error: error validating "nfs.yaml": error validating data: the server could not find the requested resource;…
P.Péter
  • 499
  • 2
  • 6
  • 17