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
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
  • 99
  • 2
  • 6
  • 16
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
  • 99
  • 2
  • 6
  • 16
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
  • 342
  • 7
  • 21
0
votes
1 answer

When starting minikube set to --kubernetes-version v1.7.6, startup fails due to kubeadm attempting to use kube-dns

On my mac and Linux boxes (Linux Mint 18.3 Sylvia), when attempting to start minikube compatible with v.1.7.6, the startup fails when it tries to run the /usr/bin/kubeadm alpha phase addon kube-dns command. The problem is that kube-dns does not…
Scott S
  • 101
  • 1
0
votes
1 answer

kubernetes - version issues when adding new node to existing cluster

I have a pre-existing k8 cluster that I want to add a node to. It appears that there's a version issue and Im not sure how to resolve it. When I attempt to join the new node (using kubeadm join): ... [kubelet] Downloading configuration for the…
ethrbunny
  • 2,369
  • 4
  • 41
  • 75
0
votes
1 answer

Kubernetes don't start after change in kube-apiserver --authentication-mode=token

Installation: ubuntu server 16.04, EC2 instance that I install kubeadm. I try to connect to the Web UI, and change this parameter to --authorization-mode=token I restart the server and change to the default variable…
pioupiou
  • 113
  • 6
0
votes
2 answers

Node-to-Node communication doesn't work with Kubernetes with Calico

I'm quite new to Kubernetes, event if it doesn't feel like after I spent dozens of hours trying to setup a working Kubernetes. The edge parameters: 1 master and 3 nodes set up using kubeadm kubernetes version 1.12.1, Calico 3.2 Primary IP addresses…
Daniel Alder
  • 545
  • 1
  • 10
  • 19
0
votes
2 answers

In Kubernetes, how can a container created from a CronJob find out when it was scheduled?

We have a Kubernetes CronJob resource that runs a Job every minute. I need the container that results from the Job to know when it was scheduled to run. Is this possible? Background info just in case it's useful The hierarchy of Kubernetes…
Tom
  • 4,277
  • 11
  • 42
  • 52
0
votes
1 answer

Is creating firewall rule for nodeport a security concen?

This question is regarding firewall rule on GCP. I run my development and production server on the same cluster and separating them by namespace only. For development, I expose a nodeport (e.g. 8000) and create a GCP firewall rule to access the…
0
votes
1 answer

Migrating from Kubernetes deployment to Helm

We have recently moved from a pure kubernetes deployment to a helm chart deployment for one of our apps. I'm trying to find a way to migrate a cluster that is currently running the old deployment to use the new helm chart. I'm having an issue…
rvabdn
  • 245
  • 4
  • 11
0
votes
1 answer

Kubernetes in production. Problems with a working pod

I have a question with kubernetes when deploying a new version. My yaml configuration of Kubernetes has the RollingUpdate strategy. The problem comes when it comes to changing versions this way. If I have a php-fpm that is performing an action, does…