Category "kubernetes"

Iterate over a YAML complex map in helm

I am using Helm v3 and trying to iterate over a complex object/map in a YAML definition file for Kubernetes network policy with the following content:values.ya

Readiness probe issues on aks with helm elasticsearch installation

i am trying to install via helm elasticsearch on an azure aks this is the helm repo command : helm repo add elastic https://helm.elastic.co this is my values.y

Go create a mock for gcp compute sdk

I use the following function, and I need to raise the coverage of it (if possible to 100%), the problem is that typically I use interface to handle such cases i

Helm globally controlling values of dependencies from requirements

We have a set of Micro-Services (MS-a, MS-b, MS-c..) each has its own dependencies specified in requirements.yaml. Some have the same requirements, e.g mongodb.

Permission Denied when opening logs in minikube Nodes

When I am trying to access my logs inside minikube folder I am getting this permission denied error. docker@minikube:/var/log/containers$ cat ltservice-68d7dd45

Setting hostNetwork:true does not expose the host interfaces

I have a very simple program: package main import ( "fmt" "github.com/vishvananda/netlink" ) func main() { _, err := netlink.LinkByName("wlp16

Can not pull any image in minikube

Im on macOS and im using minikube with hyperkit driver: minikube start --driver=hyperkit and everything seems ok... with minikube status: minikube type: Control

How to create an API Gateway for AWS Eks services in private subnets?

I have an AWS EKS cluster running in a custom VPC with 2 public and 2 private subnets. The node groups (for my backend) run in the 2 private subnets so they can

ServiceNow as container based application

Can we run servicenow as a containerised application on a cluster or a VM rather than using it as SaaS or Paas?

Setup Pulsar transaction coordinator in Kubernetes setup

How to setup Apache Pulsar transaction coordinator in Kubernetes setup? I couldn't see much docs on this, though I could modify the broker.conf configmap unsure

Helm Loki Stack additional promtail config

I install loki and prometheus using helm. However, I would like to replace the logs in one place. I have used: helm show values grafana/loki-stack > loki-sta

Fake client behaviour when mocking k8s for testing

I am using the fake clientset to perform some mocking in a k8s cli tool I am creating. Therefore I am creating a Job resource jobs := clientset.BatchV1().Jobs(m

Micronaut application URL works locally but not in kubernetes

I have a Micronaut Application with the controller class like this: @Controller("/murugesso") public class Server { @Get("debug/loadVins") public MutableHt

How to Deploy a ClearML Agent in a k8s setting?

I want to deploy a ClearML agent in the kubernetes environment while using the ClearML's Free Tier Demo server. I was able to deploy the Agent pod in the k8s cl

kubernetes mariadb doesnt startt sql's from /docker-entrypoint-initdb.d

pod logs: 2022-01-04 10:43:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.1+maria~focal started. 2022-01-04 10:43:14+00:00 [Note] [En

preinstall VScode remote extensions in a docker container

I'm currently using the vscode extension to attach to running containers in Kubernetes as described here: https://code.visualstudio.com/docs/remote/attach-conta

Regular expression to collect all IPs from Pod definition

I am trying to collect IP addresses of the pods which has 3 network interfaces attached to. From the output of kubectl get pod .. -o yaml, I would like to coll

Expected behavior for ClusterRole with two rules mentioning the same resource

I'm working with RBAC on an Openshift cluster. I was wondering what is the expected behavior for applying a ClusterRole that has two rules which reference the s

Unable to connect to remote Kubernetes cluster

When I attempt to connect to a remote Kubernetes cluster with kubectl cluster-info I am getting an error as in the image below : Trying to curl the cluster als

unable to connect with pod running in GKE

Created 3 node GKE cluster. From cmd prompt local logged into gcloud. Created a pod with nginx container and exposed port 80 apiVersion: v1 kind: Pod metada