Category "kubernetes"

Cannot copy or paste commands in labs.play-with-kubernetes free intance

I am trying to copy and paste few commands inside the labs.play-with-k8s free instance provided by kubernetes. Both the commands the Ctrl+c and Ctrl+v doesn't w

Unable to access the nginx through Kubernetes LoadBalancer service

I'm using k8s provided with docker desktop (windows). My deployment.yml file is apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels

etcd.service failed because a timeout was exceeded

I am working through "learn kubernetes the hard way" and am at the "bootstrapping the etcd cluster" step: https://github.com/kelseyhightower/kubernetes-the-hard

terraform azurerm - cannot destroy public ip

New to terraform so i'm hoping this is an easy issue. I'm creating some resources in azure and deploying a simple flask application to AKS. Creating works fine

I am trying to deploy a pod in eks cluster but it is showing too many pods, but i have only one pod in that

enter image description here[I am trying to deploy one pod in node but it is in pending state when i describe pod I got too many pods, but i have only one pod i

k8s pod failed to connect mongodb

I'm trying to do a k8s tutorial on youtube https://www.youtube.com/watch?v=X48VuDVv0do&t=5428s. An error occured that k8s pod failed to connect mongodb when

How to access kind control plane port from another docker container?

I'm creating a kind cluster with kind create cluster --name kind and I want to access it from another docker container but when I try to apply a Kubernetes file

SCDF kubernetes custom source is writing data to "ouput" channel

I have custom source application which reads data from external kafka server and pass the information to next processor in the stream. In local everything works

Pods CPU getting Throttled even when CPU usage is less than requested

CPU is getting throttled even when the CPU usage for the container is below request. From what I understand pods are scheduled at nodes where there is sufficien

Provide files for kubernetes job

I am trying to create a Kubernetes job, that would run from some machine. I would like that job could somehow copy files from this machine into container runnin

glusterfs, heketi and kubernetes auto provisioning problem

I have a gluster node and i did test heketi and it is creating volumes using it's cli. This is my storage class: kind: StorageClass apiVersion: storage.k8s.io/v

Setting Nginx Header Host without breaking an existing ingress

When I add proxy_set_header Host $host; to my ingress file, it stops working. I think I need to set that as the value as I'm trying to expose SSL over Keycloak

Error when trying to expose a docker container in minikube

I am using minikube to learn about docker, but I have come across a problem. I am following along with the examples in Kubernetes in Action, and I am trying to

How to get the current namespace of current context using kubectl

I am trying to get the namespace of the currently used Kubernetes context using kubectl. I know there is a command kubectl config get-contexts but I see that i

How to expose the docker container ip to the external network?

i want to expose the container ip to the external network where the host is running so that i can directly ping the docker container ip from an external machine

How to import custom dashboards to grafana using helm

I'm trying to understand helm and I wonder if someone could ELI5 to me something or help me with something. So i did run below: helm repo add coreos https://s

Load Balancer Service type in azure VM

I have created a Kubernetes cluster ( 1 master, 2 workers VMs) using kubeadm on Azure. Node type service is working as expected. But Load Balancer service type

How to fix kubernetes_config_map resource error on a newly provisioned EKS cluster via terraform?

I'm using Terraform to provision an EKS cluster (mostly following the example here). At the end of the tutorial, there's a method of outputting the configmap th

k8s - how to project service account token into pod

I am trying to project the serviceAccount token into my pod as described in this k8s doc - https://kubernetes.io/docs/tasks/configure-pod-container/configure-se

JupyterHub user pod can't assume EKS node role

I installed JupyterHub with Helm on an EKS cluster, although the EKS service role can be correctly assumed by the hub pod (whose name starts with "hub-"), the u