Category "kubernetes"

Calling Kubernetes Spark Operator with Java api

There is a good of examples of creating Spark jobs using the Kubernetes Spark Operator and simply submitting a request with the following kubectl apply -f spa

creating a release pipeline, I am not able to create a release pipeline due to shell script failure in the tasks [closed]

cp /dockeragents/sw/ADOAgents/ADOAgent2/_work/r15/a/ws_ordermanagement_bookit_order_enrichment/manifest.yaml /dockeragents/sw/ADOAgents/ADOAg

kubernetes - Configmap - Existing files are removed

When using a ConfigMap as a mounted volume, all the existing files and folders inside the mounted location of the pod are deleted. The ConfigMap is created usi

How to ensure every kubernetes node running 2 or more pods?

I know that DaemonSets ensure only one pod running in every node. I know that ReplicaSets ensure the number of pod replicas defined are running but doesn't ensu

Applying ServiceAccount specific OPA policies through Gatekeeper in kubernetes

We are trying to replace our existing PSPs in kubernetes with OPA policies using Gatekeeper. I'm using the default templates provided by Gatekeeper https://gith

why the telepresence 2 could not access the remote kubernetes cluster after connect

I want to use telepresence 2 to debug the app within remote kubernetes(v1.21) cluster in the Cloud. After installation of telepresence 2 in macOS Monterey, I am

Kubernetes node-exporter container is not working it shows this error message

Error: failed to start container "node-exporter": Error response from daemon: path /sys is mounted on /sys but it is not a shared or slave mount shows that mes

Error sending fetch request (sessionId=1175648978, epoch=189) to node 53: org.apache.kafka.common.errors.DisconnectException

We have a topic with 100 partitions and the load is millions of records per hour. We ran into the problem whenever we deploy a new version of stream-processor

sprint cloud data flow server kubernetes liveness timeout values

I am using SCDF for kubernetes to deploy streams. Some of the kubernetes pods deployed by SCDF server are in constant restarts because the livenessProbe initia

Exposing multiple TCP/UDP services using a single LoadBalancer on K8s

Trying to figure out how to expose multiple TCP/UDP services using a single LoadBalancer on Kubernetes. Let's say the services are ftpsrv1.com and ftpsrv2.com e

How to calculate containers' cpu usage in kubernetes with prometheus as monitoring?

I want to calculate the cpu usage of all pods in a kubernetes cluster. I found two metrics in prometheus may be useful: container_cpu_usage_seconds_total: Cumu

Kubernetes ingress controller upgrade doesn't finish the upgrade

We have an issue upgrading our nginx ingress controller: We have thousands of ingress objects - all with the same ingress class, provided as an annotation and n

Minikube got stuck when creating container

I recently got started to learn Kubernetes by using Minikube locally in my Mac. Previously, I was able to start a local Kubernetes cluster with Minikube 0.10.0,

Kubectl imperative command for deployment

I used to create deployments quickly using imperative commands kubectl run nginx --image=nginx --restart=Always --port=80 --replicas=3 . Now run command wit

Cross account IAM roles for Kubernetes service account - s3 bucket

Hey im trying to cross account access for a role. i have 2 accounts: prod and non-prod. and bucket in prod account, which im trying to write files to there from

Gitlab-Runner on Kubernetes/Openshift

I'm trying to deploy Gitlab-runner(s) on Openshift/K8S, but can't succeed in having runners communicating with Gitlab (itself deployed in pods on OCP). I follo

Kubernetes pull from insecure docker registry

I have stacked in this phase: Have local docker insecure registry and some images in it, e.g. 192.168.1.161:5000/kafka:latest Have kubernetes cloud cluster, fo

Run Ingress in minikube and its address shows localhost

I'm new to k8s. I deployed an ingress on minikube, and I found out its address to be localhost which it shouldn't be, I guess. For this, I don't know how to con

Best way to run volatile containers on Google Cloud

I have scripts that collect data all the time on Google Cloud VMs, but there are times when I have more or less data to collect, so I need to volatile and autom

Kubernetes NetworkAttachmentDefinition

currently I'm running a Kubernetes Cluster. Host Network: 10.17.20.x Docker Network: 172.17.60.x Im running a RabbitMQ pod which has the IP: 172.17.60.217 Annot