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

`kubectl logs` on Azure AKS yields error "Forbidden (user=system:anonymous ..)"

Whenever I try to run kubectl logs on azure, I get the following error: Error from server (Forbidden): Forbidden (user=system:anonymous, verb=get, resource=nodes, subresource=proxy) ( pods/log ) A similar error is returned for kubectl exec,…
0
votes
1 answer

Remote command execution on kubernetes container

I am having kubernetes cluster where I am trying to check disk utilisation of containers running on it. $kubectl version Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.8", GitCommit:"e8c167a115ec662726904265d17f75a6d79d78d8",…
Shailesh Sutar
  • 1,427
  • 4
  • 22
  • 40
0
votes
0 answers

Can we deploy two mongodb services, using helm package in same cluster with different release name?

I used helm stable charts to install mongodb in my AWS kubernetes cluster, when i run helm install mongodb for the first time, no issues all pod runs and i am able to access the db too. however, when i run helm install mongodb second time with new…
0
votes
2 answers

Nginx not honoring configuration

I have a kubernetes deployment which requires the following configuration: POST must be allowed from any origin. GET, HEAD, LIST must be restricted to intranet. I came up with: include modules/*.conf; worker_processes 1; error_log …
vfbsilva
  • 101
  • 5
0
votes
2 answers

Kubernetes Calico: Networking policy to block connecting to the port 10250 on nodes

I have a Kubernetes cluster with Calico network overlay installed in it. How do I configure a network policy object to prevent pods connecting to the port 10250 (kubelet API) on the nodes? I have something along these lines: kind:…
pkout
  • 195
  • 2
  • 8
0
votes
2 answers

Installing Kubernetes on Ubuntu - connection to the server was refused on reboot

I can install Kubernetes successfully on a Ubuntu 16 server, and get the master node into a Ready status. But if I reboot/restart, I get the error message in the title when I try to use KUBECTL. Do I need to put the following commands given when I…
Peter Schofield
  • 1,639
  • 9
  • 11
0
votes
1 answer

How to provide MySQL my.cnf after S2I has run

In the Red Hat Software Collections MySQL container, I see that you can set MYSQL_DEFAULTS_FILE to indicate the path to a completely different my.cnf file. When used in OpenShift, I don't understand how to get such a config file on disk, since their…
Collin Allen
  • 574
  • 1
  • 7
  • 16
0
votes
2 answers

kubernetes daemonset pod terminating for a time after being killed

I have a Kubernetes Daemonset running on my GKE cluster version: Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.6-gke.1", GitCommit:"cb151369f60073317da686a6ce7de36abe2bda8d", GitTreeState:"clean",…
artushin
  • 1
  • 1
0
votes
1 answer

cannot write from mangodb pod to persistent volume

i'm trying to create a persistent mongo database with kubernetes here is my config persistent volume yaml file: kind: PersistentVolume apiVersion: v1 metadata: name: task-pv-volume labels: type: local spec: storageClassName:…
moses
  • 83
  • 1
  • 12
0
votes
1 answer

Getting error while auto provisioning of volumes for the mongodb statefulset on kubernetes

I am trying to create mongodb StatefulSet on Kubernetes. For auto provisioning of volume, i have created a StorageClass apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: standard provisioner: kubernetes.io/gce-pd parameters: …
0
votes
1 answer

Kubernetes : Inter-cluster networking

I am trying to set up inter-cluster communication between two k8s clusters (preferably using google's managed service, gke). Usecase(simplified):- Cluster A has client apps and cluster B has server apps. Communication has to be possible both ways.…
kronjob
  • 41
  • 2
0
votes
1 answer

Does Kubernetes internally maintain tasks queue?

We are in the development phase. We are using Kubernetes cluster consisting of master and slave EC2 instances. We are submitting tasks to Kubernetes cluster using Kubernetes_Pod_Operator of Airflow. We are looking to scale this process. So we are…
Free Coder
  • 41
  • 1
  • 4
0
votes
0 answers

Concerns and strategies for enabling/disabling jmx and xdebug parameters for jvms in pods

I'm working on the code for one service that is part of a larger project. Most of the apps are Java REST services, all running in containers in pods. To debug what's happening in the JVM, it's convenient to add either or both of the typical JMX and…
David M. Karr
  • 121
  • 1
  • 5
0
votes
0 answers

Kubernetes (GKE) Deployment Update Strategy

Requirement: I want to use NFS share as persistent volume and update deployment by performing rolling updates (GKE). Problem: Persistent disk, volume and NFS share exist and are bound/mounted but when the app code is modified, pushed and built as an…
dzhi
  • 770
  • 3
  • 10
  • 23
0
votes
1 answer

kube-dns fails open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory

I've managed to setup a 5 node cluster, 2 masters, 3 workers. using the "roll your own" instructions here: https://kubernetes.io/docs/getting-started-guides/scratch/#preparing-certs I can run pods np but dns is not functional. As per the…
GeoSword
  • 1,647
  • 12
  • 16