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
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

Kubernetes node breaks on restarting containerd

After upgrading to the latest docker (18.09.0) and kubernetes (1.12.2) my Kubernetes node breaks on deploying security updates that restart containerd. I have: /etc/docker/daemon.json: { "storage-driver": "overlay2", "live-restore": true } This…
vdboor
  • 3,630
  • 3
  • 30
  • 32
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
  • 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:…
0
votes
1 answer

Connecting k8s services in GKE cross-region clusters

We are using GKE with Cloud VPN and have the following architecture: GKE example In the VPC there are two k8s clusters in different regions and one Cloud VPN. We’re trying to use internal services (internal load balancers) via the VPN and from the…
0
votes
1 answer

New Kubernetes with Weave cluster... All ports except 80 blocked

I have recently set up Kubernetes 1.12.1 with Weave (1 master and 2 hosts on bare metal Ubuntu VMs). I'm trying to make outbound connections from pods to send email (SMTP), but it appears that all ports except 80 are blocked (confirmed using nc from…
kodbuse
  • 103
  • 2
0
votes
2 answers

Trigger defined kubernetes job

I have a simple job that is defined in a YAML file similar to the one below: apiVersion: batch/v1 kind: Job metadata: name: check_deps spec: template: spec: containers: - name: production-container image:…
Djent
  • 89
  • 4
  • 15
0
votes
2 answers

GKE lost nodes and Google Console shows different number of nodes

Some of the nodes in my cluster disappeared just now according to Kubernetes Dashboard and kubectl. In the Google Console, it shows the old amount. This results in many pods not being schedulable due to missing resources. I tried to increase the…
0
votes
1 answer

Send Kube logs to Cloudwatch using fluentd

My cluster is on AWS and I've used kops to build by cluster. I'm trying to send the kubernetes logs to AWS Cloud-watch using fluentd. I was able to stand-up the fluentd pods. I am seeing the below error from the pod's logs. I have created…
0
votes
1 answer

Can't find docker log files for Filebeat

I'm trying to aggregate logs from my Kubernetes cluster into Elasticsearch server. To do that, I've deployed Filebeat on the cluster, but I think it doesn't have a chance to work since in the /var/lib/docker/containers directories, there are no…
Djent
  • 89
  • 4
  • 15
0
votes
1 answer

can I manually run Docker containers on a Kubernetes node?

Is it fine with Kubernetes v1.10 if I manually run Docker containers on a Node, i.e. does Kubernetes just ignore them, and don't they cause any issues with the Scheduler if there are no conflicts (e.g. bound ports)? Of course this is far away from…
muffel
  • 302
  • 7
  • 20