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

Exposing minikube service using iptables

I have minikube Load balancer service running on kvm based minikube node. I have below network routes, Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 …
Xinus
  • 219
  • 4
  • 13
1
vote
4 answers

I tried to join kubernetes nodes with master but it shows errors in all 3 nodes. shown in pic

Every node shows this error while I tried to join those nodes with Kubernetes master. Any suggestion? [root@kube-node1 ~]# kubeadm join 10.0.0.50:6443 --token xtalee.aftgxumqvtjtcq56 --discovery-token-ca-cert-hash…
hpmistry19
  • 19
  • 1
  • 1
  • 5
1
vote
1 answer

Virtual Kubelet: node selection on scale-out and scale-in

We have a simple 3-node Kubernetes cluster on Azure Kubernetes Service (AKS). A lot of the time that's more than sufficient infrastructure-wise, but occasionally we need to be able scale out for a couple hours to 50 instances of a service then scale…
Chris Wood
  • 31
  • 2
1
vote
1 answer

Sudo required to run Kubernetes on Ubuntu Server, but not on Ubuntu Desktop

I am wondering why I need sudo to run Kubernetes on Ubuntu Server, but not on Ubuntu Desktop. Installed kubectl:kubectl, minikube and docker.io on both an Ubuntu Server 18.04 and on an Ubuntu Budgie 18.04 box. The installation procedure and versions…
ElToro1966
  • 167
  • 2
  • 7
1
vote
2 answers

MongoDB/ElasticSearch in Kubernetes

I am exploring the Kubernetes toolset and have now my dedicated 3 nodes cluster up and running. Next steps are migrating our company projects to the cluster. As we use MongoDB and ElasticSearch and want to host multiple projects within the cluster,…
1
vote
0 answers

Openshift: Get process namespace by process ID

Currently we have a situation where some applications running on our OpenShift cluster request very high resource load, and thus making the worker node they are running on unresponsive. However, we usually only see the process IDs when running top…
simonszu
  • 343
  • 5
  • 14
1
vote
2 answers

google cluster giving authentication scope error

I have a free tier account but whenever i try to create a container cluster i am getting below error from one of the script (gcloud.container.clusters.create) ResponseError: code=403, message=Request had insufficient authentication scopes. for…
1
vote
0 answers

Mounting NFS servers with Docker/Kubernetes containers, without using insecure mode on the server

I'm trying to containerize an web application. As part of its operation, it requires access to four separate NFS mount located on different hardware. Two of the mounts live on a regular Linux box, but two others live on separate proprietary NAS…
Mikey T.K.
  • 1,367
  • 2
  • 15
  • 29
1
vote
1 answer

GKE - Kube-DNS stubDomain resolution to VPN network not working

New to GCloud and GKE and having a frustrating time with DNS. We have a VPN between our office and GCloud running a Shared VPC. Existing firewall rules seem to work fine. We can ping both ways, we can ssh to Google successfully. So now from within…
1
vote
1 answer

Kube ingress and elb

I am running my (kops) kube cluster on AWS. The cluster is in the private subnet. I am not able to create an external (internet facing) load balancer because my cluster is in private space. Is there any way that I can create an internet facing load…
sumanth
  • 27
  • 3
1
vote
1 answer

kubernetes flannel daemonset not starting (Clean Ubuntu 16 and 18)

I just installed kubernetes on a clean ubuntu machine following this steps (from linux academy): As root: apt install -y docker.io cat << EOF >/etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"] } EOF curl -s…
1
vote
1 answer

how to isolate kubernetes namespaces but allow access from outside

I have a Kubernetes cluster setup using kubeadm I'm trying to define a network policy which restricts access from outside the namespace but doesn't block access from outside (external IP) to elaborate I want the pods to be accessible from other pods…
moses
  • 83
  • 1
  • 12
1
vote
2 answers

Which non-root user should I use on Google Kubernetes Engine?

When configuring a container process to run as a non-root user on Kubernetes, does the user need to exist on the host? If yes, which user id is appropriate to use when the host node is managed by Google Kubernetes Engine? Google Cloud's recommended…
Niels Søholm
  • 35
  • 1
  • 7
1
vote
3 answers

Install and Set Up kubectl - Kubernetes

I'm trying to follow Install and Set Up kubectl - Kubernetes, yet keep getting an error: # yum --quiet install kubectl https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate…
alexus
  • 12,342
  • 27
  • 115
  • 173
1
vote
1 answer

Google Cloud VPC Alias IP Routing Across Zones

I have a multi-cluster/multi-zone k8s platform running on Google Kubernetes Engine. The underlying GCP VPC network is running in global routing mode. The k8s services are assigned internal IP (clusterIP) addresses via Alias IP subnets. I can ping…