Category "kubernetes"

How to easily switch gcloud / kubectl credentials

At work we use Kubernetes hosted in GCP. I also have a side project hosted in my personal GCP account using Google App Engine (deploy using gcloud app deploy).

Pod coredns stuck in ContainerCreating state with Weave on k8s

First of all, let me thank you for this amazing guide. I'm very new to kubernetes and having a guide like this to follow helps a lot when trying to setup my fir

cpu / memory amount not populated in core.v1.Pod.PodSpec

Using the following code: func GetPods(clientset *kubernetes.Clientset, name, namespace string) ([]corev1.Pod, error) { list, err := clientset.CoreV1().Pod

Superset database connection with Teradata error

I am trying to connect TD with superset running in kube. This is code from my Dockerfile: USER root RUN pip install sqlalchemy-teradata RUN pip install

Creation Amazon EKS cluster using eksctl could not find any of authenticator

I try to create new Kubernetes cluster on Amazon EKS using eksctl script. I created IAM user with this permissions : when i try to create it I have this error

Where I can see "set context" for change kubernetes namespace in Intellij IDEA?

In official tutorial saying about changing namespace by cliking on namespace item and set context But I can't see in my version 2020.3

Access a Kubernetes Service running locally in Docker For Desktop?

I'm using Docker For Desktop with the built-in Kubernetes cluster. I have installed a Pod that serves resources over HTTP, but I'm not sure how to access it usi

Kubernetes basic authentication with Traefik

I am trying to configure Basic Authentication on a Nginx example with Traefik as Ingress controller. I just create the secret "mypasswd" on the Kubernetes secr

Istio vs Service Mesh Interface

I would have a conceptual question. I can not figure it out how Istio and Service Mesh Interface come together. Service Mesh Interface' goal is to have a standa

Watch CustomResourceDefinitions (CRD) with client-go

I have added a new CRD ApiGateway to Kubernetes and I want to watch for new/changed resources of it. This works with a simple Rest Client as shown in the examp

Google Cloud get cluster credentials unauthorized

I've created a service account in the IAM page of google cloud console but unfortunately I'm unable to assign roles to this account - or I'm missing something.

Access consul-api from consul-connect-service-mesh

In a consul-connect-service-mesh (using k8) how do you get to the consul-api itself? For example to access the consul-kv. I'm working through this tutorial, and

Airflow Scheduler liveness probe crashing (version 2.0)

I have just upgraded my Airflow from 1.10.13 to 2.0. I am running it in Kubernetes (AKS Azure) with Kubernetes Executor. Unfortunately, I see my Scheduler getti

How to create an alert for a pod running status in Prometheus

I have deployed prometheus, node exporter and alert manager on kubernetes and I am trying to create an alert rule to check if any specific pod is running or not

Migrate docker-compose nginx.conf to kubernetes nginx ingress

I am trying to convert my docker-compose nginx.conf to kubernetes nginx ingress controller. This is my nginx.conf that i am using with docker-compose. server {

Unable to validate Kubernetes cluster using Kops

I am new to Kubernetes. I am using Kops to deploy my Kubernetes application on AWS. I have already registered my domain on AWS and also created a hosted zone an

Spring Boot container cannot connect to My SQL container

I have read all questions related the issue and controlled all points. It seems everything is ok with my codes but it doesn't connect anyway. I got CONNECTION R

gitlab kubernets runner failing to authenticate in private docker registry during prepare stage

Im setting up a gitlab runner in my kubernets cluster. The runner is properly deployed and running. When I trigger any pipeline, during the prepare stage it fai

k0s kubectl exec and kubectl port-forwarding are broken

I have a simple nginx pod and a k0s cluster setup with the k0s binary. Now i want to connect to that pod, but i get this error: $ kubectl port-forward frontend-

kubernetes: ReplicaSet error: error validating data: unknown objec t type schema.GroupVersionKind

I have below yaml file for creating ReplicaSet. apiVersion: apps/v1beta1 kind: ReplicaSet metadata: name: kubia spec: replicas: 2 selector: