Category "kubernetes"

kubernetes config map - syntax error: unterminated quoted string

I am getting below error when trying to attach shell script as config map. I am not sure what's the issue because script work without adding in config map It sh

What is the cooldown period in K8s HPA

Below is the sample HPA configuration for the scaling pod but there is no time duration mentioned. So wanted to know what is the duration between the next scali

Nginx index.html is override With Shared Volume

I have a Pod with an emptyDir volume mounted in two containers: nginx at /usr/share/nginx/html/ busybox at /var/html/ If i create a file with html extension ins

Kubeflow Pipeline cannot communicate with S3 bucket

I am installing Kubeflow Pipeline on AWS from this official repository: github.com/kubeflow/manifests/tree/master/apps/pipeline/upstream/env/aws Kubeflow is con

MongoDB ReplicaSet in K8S -- can't connect via port forward

I have a k8s dev cluster (in aks). I previously used the bitnami chart for deployment of a single MongoDB pod and I never had the following problem. As I'm now

Would psutil.cpu_percentage depict a true CPU usage of a docker container running in Kubernetes?

I want to monitor CPU percentage usage of a Docker container and get alerted when it reaches a certain threshold. My application is running in a Docker containe

minikube cluster will not pull in images

I am having issues pulling in my images of my minihkube kubemaniest file for what ever reason. Here is how it looks: apiVersion: v1 items: - apiVersion: v1

Resolving pod in GKE DNS

I have a question regarding kube-dns in GKE. When I deploy a statefulset, it will stores all records base on the pod name. e.g dig _mysql._tcp.powerdns-recurso

Base64 decode the K8 secrets on volume mount

My k8.yaml looks like this. apiVersion: apps/v1 kind: Deployment metadata: name: <...> namespace: <...> spec: template: spec: contai

How can I migrate a live production kubernetes cluster to another cluster while minimizing downtime?

I would like to migrate an application from one GKE cluster to another, and I'm wondering how to accomplish this while avoiding any downtime for this process. T

Superset on Kubernetes with Helm not using custom values file

I'm trying to install Apache Superset on a Kubernetes Cluster (AWS EKS) using Helm and following the official procedure described here. bash-3.2$ helm repo add

Superset configurations are lost upon Kubernetes pod start/stop

I'm having a problem with Superset on Kubernetes. After installing Superset when the pod comes down and goes up, the configurations are not saved and I lost the

Installing Superset on Rancher

I'm trying to create a superset instance in Rancher but it do not prompted me to a admin user creation and I cant get past through login. I already tried admin/

unable to access nodeIP:port, serviceIP:port or podIP:port in minikube k8s

I am using k8s in minikube under Ubuntu and deployed nginx server. Which i want to access from different level eg from serviceip, nodeip or pod ip and none of t

Unable To Access Prometheus Dashboard/ Port Forwarding Doesn't Work

I'm creating a K8 cluster and I want to display the cluster information in Grafana using Prometheus (as usual). I've followed various documentation that has bee

Dramatiq worker getting killed every often

I have started a dramatiq worker to do some task and after a point, it is just stuck and throws this below-mentioned error after some time. [MainThread] [dramat

elastic-operator (eck) restarts a lot

I currently have elastic-operator 1.4.0 version running on an AKS cluster. It has a high restarting count of 50 in 95 days for a prod env. Is this normal behavi

How do I design my NodeJS app to have one config (per env) that can work for both K8S and locally in debugger?

I've been using K8S for a year or so and continue to revisit a problem. My app is running in K8S and I now need to debug it. I have a NodeJS App that I'm askin

How to configure a ClusterRole for namespaced resources

I want to allow a ServiceAccount in namespace A to access a resource in namespace B. To achieve this I connect the ServiceAccount to a ClusterRole via a Cluster

How to restore Solr backup from S3 bucket

I have an up&running SolrCloud v8.11 cluster on Kubernetes, with solr-operator. The backup is enabled on S3 bucket. How can I correctly write the request to