Category "kubernetes"

How do I elegantly and safely maximize the amount of heap space allocated to a Java application in Kubernetes?

I have a Kubernetes deployment that deploys a Java application based on the anapsix/alpine-java image. There is nothing else running in the container expect for

Why a pod can't connect to on-premise network

I'm setting up a Kubernetes engine (cluster-version: "1.11") on GCP with Kubeflow installation script that deploy on "default" network and I setting up a Google

k8s - Nested Firecracker Environments

Sorry if this question might sound "convoluted" but here it goes... I'm currently designing a k8s solution based on Firecracker and Kata-containers. I'd like th

Renew kubernetes pki after expired

My kubernetes PKI expired (API server to be exact) and I can't find a way to renew it. The error I get is May 27 08:43:51 node1 kubelet[8751]: I0527 08:43:51.9

kubectl : Unable to connect to the server : dial tcp 192.168.214.136:6443: connect: no route to host

I recently installed kubernetes on VMware and also configured few pods , while configuring those pods , it automatically used IP of the VMware and configured. I

Kubernetes sort pods by age

I can sort my Kubernetes pods by name using: kubectl get pods --sort-by=.metadata.name How can I sort them (or other resoures) by age using kubectl?

How to make ArgoCD Non-HA to HA setup?

I have currently implemented ArgoCD for my K8's deployment. I installed it as a Non-HA setup. Moving forward, the number of application in ArgoCD will get incre

Unable to register node "node-name" with API server: Unauthorized

I am using kubernetes 1.13.2 on bare metals (No Provider). I already have a master and a worker node set up while ago, but now my new worker node cannot join t

Airflow 2.0.1: Pod Template Override not working as expected for KubernetesExecutor

Setup: Airflow 2.0.1 with Kubernetes 1.18 and Python 3.8, Kubernetes Client: 18.17.x Pod template file: apiVersion: v1 kind: Pod metadata: name: workerPod sp

Kubernetes Container runtime network not ready

I installed a Kubernetes cluster of three nodes, the control node looked ok, when I tried to join the other two nodes the status for both of is: Not Ready On co

Time Zone in Kubernetes Pods Using Environment Variable

I am trying to update my pod time to Asia/Kolkata zone as per kubernetes timezone in POD with command and argument. However, the time still remains the same UTC

cert-manager HTTP01 certificate challenge is inaccessible when rewrite-target is enabled

We have a dozen of services exposed using a ingress-nginx controller in GKE. In order to route the traffic correctly on the same domain name, we need to use a r

Quarkus upgrade vertx dns resolver ignoring kubernetes dns

I have upgraded the version of quarkus to 2.8.0.CR1 My quarkus apps are using a mix of camel, mutiny, resteasy, mongo, pubsub and it seems to have been reproduc

Nginx.ingress.kubernetes.io/proxy-body-size not working

I want to increase size of post body of each request in Ingress. So I add the nginx.ingress.kubernetes.io/proxy-body-size: 8m in yaml file ingress(in view/ed

How to use rkt as container runtime instead of docker for kubernetes?

I tried using rktlet(https://github.com/kubernetes-incubator/rktlet/blob/master/docs/getting-started-guide.md) But when I try to kubelet --cgroup-driver=syst

Kubernetes does not start after restart system (Ubuntu)

I installed K8s on my two Ubuntus in VirtualBox (Master and Node01). After installation (I proceeded according K8s doc site) I typed kubectl get nodes and got b

kubectl exec/logs on GKE returns "remote error: tls: internal error"

I'm currently getting errors when trying to exec or get logs for my pods on my GKE cluster. $ kubectl logs <POD-NAME> Error from server: Get "https://<

Issue in placing DataDog log annotation on deployment via ansible

I am using ansible version 2.7 for kubernetes deployment. For sending logs to datadog on kubernetes one of the way is to configure annotations like below, tem

How to configure istio for mesh federation without service discovery?

Multi-trust deployment model from istio documentation I want to connect multiple meshes together. I currently manage 3 different AKS clusters Operations (aks-o

How to use kubeadm to create kubernetes cluster?

I init k8s cluster master with kubeadm, but I felt very confused. The version of kubeadm: # ./kubeadm version kubeadm version: version.Info{Major:"1", Minor:"5