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.

2352 questions
0
votes
2 answers

How to externally access a kubernetes service of type as "NodePort", using ec2 Public IP

On ec2, running a single node k8s cluster. On the node, a service is running with the type as "NodePort" with the exposed port "31380". I need to access this service externally over port 80. apiVersion: v1 kind: Service metadata: name:…
rufus
  • 61
  • 1
  • 7
0
votes
1 answer

Run kubernetes cluster directly on ubuntu (vps)

Currently I am experimenting with local hosted clusters using minikube. For a project I want to run a cluster of 1-2 nodes on my ubuntu VPS server. As I can not calculate the need of resources such as RAM I try to run it on a VPS server instead…
elp
  • 167
  • 1
  • 1
  • 11
0
votes
1 answer

Kubernetes API server issue

Trying to get the Dashboard UI working in a kubeadm cluster using kubectl proxy for remote access. Getting Error: 'dial tcp 192.168.2.3:8443: connect: connection refused' Trying to reach: 'https://192.168.2.3:8443/' when accessing…
horcle_buzz
  • 175
  • 3
  • 10
0
votes
1 answer

What happens when a pod fails for readiness health check?

I was tracking down an unknown timeout problem in our cluster and found something interesting. We currently have 30 pods for a service. When I run kubectl get event Those 30 pods have been failing for readiness. All of them have "LASTSEEN" less…
Moon
  • 2,123
  • 4
  • 24
  • 23
0
votes
1 answer

GCP Load Balancer not created when deployment is exposed

I've a created Kubernetes v1.12.0 cluster on GCP consisting of 3 controller VMs and 3 node VMs, all running Ubuntu 18-04 LTS (Kernel 4.15.0-1025-gcp) I'm using weave v2.5.0 for networking and everything works fine except no load balancer is created…
0
votes
0 answers

Kubernetes - does not start the role of master

I'm starting a Kubernetes cluster of 3 nodes (1 master, 2 worker) Trying to go by steps described in Ansible playbook - https://gitlab.com/LinarNadyrov/gcp/tree/master Applying playbook steps 1,2,3 consequentially After than, I connect to master to…
0
votes
1 answer

how to do storage networking in kubernetes?

assuming that i have a working kubernetes cluster installed if i create a pod with a persistent volume claim requesting 1GB of storage and i bind it to a local directory or nfs server will kubernetes monitor the amount of data in the volume and stop…
moses
  • 83
  • 1
  • 12
0
votes
1 answer

puppet upgrade kubernetes now kubelet won't stay up

Made a mistake in a puppet config and inadvertently let puppet upgrade a kubernetes cluster to 1.13.0. Since k8 wants a somewhat involved upgrade process the whole thing was fairly botched. After running the process manually and getting all impacted…
ethrbunny
  • 2,369
  • 4
  • 41
  • 75
0
votes
1 answer

How do I update the loadbalancer IP?

I had cluster A with a static IP on a load balancer, but needed to move a deployment to service B whilst maintaining the same static IP address. I did the following: Removed the loadbalancer from cluster A. Created a new loadbalancer in cluster B,…
0
votes
1 answer

Kubernetes service vs Load balancer

A service in kubernetes is a object representation that is used by kube-proxy to link the VIP of the service to one of the containers behind the service. This can be done by several kube-proxy modes that each has different load distribute patterns.…
mslot
  • 105
  • 1
  • 6
0
votes
1 answer

Deploying MongoDB in kubernetes does not create pods/services on DigitalOcean Kubernetes

I'm following this https://github.com/mongodb/mongodb-enterprise-kubernetes and https://docs.opsmanager.mongodb.com/current/tutorial/install-k8s-operator/ to deploy mongodb inside a Kubernetes cluster on DigitalOcean. So far everything worked…
0
votes
1 answer

How to deploy workload to GCP Kubernetes Programatically?

I have achieved vast amount of automation in terms of creating projects, creating kubernetes engine and other IaaS elements, by using GCP APIs from Python GCP Client. But I am not very positive on deploying docker container workloads to the…
Ace
  • 125
  • 5
0
votes
2 answers

Cannot install kubelet, Kubeadm, etc

In a nutshell, I munged my kubeadm cluster and am trying to start from scratch (I was not able to do a proper tear down of the cluster, which is why I was forced to go this route of kubeadm reset and sudo yum remove kubeadm kubectl kubelet…
horcle_buzz
  • 175
  • 3
  • 10
0
votes
1 answer

Pods unable to talk to each other after upgrade

I have a GKE cluster running on 1.11.2-gke.15 and my pods are unable to talk to each other. It seems DNS resolution is working from inside the containers # nslookup myapp.testns.svc.cluster.local Server: 10.7.5.10 Address: …
ByteFlinger
  • 193
  • 1
  • 1
  • 7
0
votes
0 answers

Loadbalancer targetPort not forwarding to daemonset hostPort if port not same as hostPort

I have the following setup: A loadbalancer points to an ingress controller as daemonset, running in a gcp-kubernetes-cluster, as seen in the example below: apiVersion: v1 kind: Service metadata: name: lb namespace: ns labels: app:…