Category "kubernetes"

Adding time stamp to Kubernetes deployment with latest tag

I am trying to implement Kubernetes resource deployment. For this I created deployment.yaml and service.yaml as my Kubernetes reources. And refering the dockerh

oauth2-proxy returns a white webpage with "Found" link instead of the provider authentication page

I am using oauth2-proxy (v7.2.0) for authentication NB: i use traefik v2 to redirect the requests to oauth2-proxy which is deployed via helm chart. below, the o

AKS - creating clusters is broken?

When I go to the "Networking" page of an existing AKS cluster, I get an error: Extension: Microsoft_Azure_ContainerService Content: ManagedClustersNetworkingBla

Volume not persistent in Google Cloud

I'm trying to build a mysql pod on Google Cloud. However, when I create a database and then restart the pod, the database that I created is not persisted. I fol

Kubernetes Dashboard CrashLoopBackOff: timeout error on Raspberry Pi cluster

Should be a simple task, I simply want to run the Kubernetes Dashboard on a clean install of Kubernetes on a Raspberry Pi cluster. What I've done: Setup the ini

Prometheus and nfs storage

As per prometheus storage.md , the recommendation is not to use nfs storage as persistent volume for prometheus. But solutions like prometheus operator and ope

How to sum prometheus counters when k8s pods restart

I'm running Prometheus in a kubernetes cluster. All is running find and my UI pods are counting visitors. Please ignore the title, what you see here is the

how to run a job in each node of kubernetes instead of daemonset

There is a kubernetes cluster with 100 nodes, I have to clean the specific images manually, I know the kubelet garbage collect may help, but it isn't applied in

Kubernetes: how to scale my pods

I'm new to Kubernetes. I try to scale my pods. First I started 3 pods: ./cluster/kubectl.sh run my-nginx --image=nginx --replicas=3 --port=80 There were star

Which API Group in k8s

How do I determine which apiGroup any given resource belongs in? kind: Role apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: namespace: default nam

Deploying a Keycloak HA cluster to kubernetes | Pods are not discovering each other

I'm trying to deploy a HA Keycloak cluster (2 nodes) on Kubernetes (GKE). So far the cluster nodes (pods) are failing to discover each other in all the cases as

The etcdserver throws warnings of request 'took to long'

I have an MKE cluster with three manager node. The etcd is giving the following warnings 2021-12-06 10:03:10.624622 W | etcdserver: read-only range request "key

Docker for Windows stuck at "Kubernetes is Starting" after updating to version 2.1.1.0 Edge (or Stable)

I recently updated my Docker for Desktop to latest Edge channel version: 2.1.1.0 on a Windows 10 machine. Unfortunately, after updating, Kubernetes was no longe

Service located in another namespace

I have been trying to find a way to define a service in one namespace that links to a Pod running in another namespace. I know that containers in a Pod running

how to keep GKE cluster nodes in different regions?

Is it possible in GKE to create a cluster with its nodes located in multiple regions? I am aware of Zonal and Regional clusters in which we can have nodes ( an

How to use the full-pcpus-only options

I want to know how to activate the full-pcpus-only option. The Doc makes me confused. I have edit the /var/lib/kubelet/config.yaml to make the static policy wor

Prometheus query quantile of pod memory usage performance

I'd like to get the 0.95 percentile memory usage of my pods from the last x time. However this query start to take too long if I use a 'big' (7 / 10d) range. T

Changing Control Plane Load balancer address

We need to change the controlePlaneEndpoint of the k8s HA cluster as the LB Machine need to be replaced. We have setuped k8s HA cluster last year on prem with

API Gateway Ocelot and Kubernetes

I am trying to access my microservice "externalforum-api-svc" inside my kubernetes cluster using ocelot gateway. I`ve followed the docs but it does not seem to

API Gateway Ocelot and Kubernetes

I am trying to access my microservice "externalforum-api-svc" inside my kubernetes cluster using ocelot gateway. I`ve followed the docs but it does not seem to