Category "kubernetes"

ServiceMonitor not found in monitoring.coreos.com/v1

I am using kubeadm to deploy single node kubernetes 1.11 cluster. I am unable to find servicemonitor resources. ➜ kube-prometheus git:(master) ✗

ServiceMonitor not found in monitoring.coreos.com/v1

I am using kubeadm to deploy single node kubernetes 1.11 cluster. I am unable to find servicemonitor resources. ➜ kube-prometheus git:(master) ✗

Kubernetes ingress controller - Error: ImagePullBackOff

I'm unable to get the controller working. Tried many times and still I get Error: ImagePullBackOff. Is there a alternative that I can try or any idea why its fa

Can we combine jobs into one in .gitlab ci/cd yaml file?

This is ci/cd yaml file I using services: - docker:19.03.11-dind workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_

MongoDB ReplicaSet issues

We are running MongoDB ReplicaSet on Kubernetes. One of MongoDB pods in CrashLoop and it shows OOMKilled as true. And the pod has crashed 234 times since then.

How to set cpu_manager_policy to static in eks managed nodegroup.?

Hi i have been trying to do cpu pinning in my eks cluster. i have used amazon linux latest release, and my eks version is 1.22 . i have created a launch templat

Prometheus for k8s multi clusters

I have 3 kubernetes clusters (prod, test, monitoring). Iam new to prometheus so i have tested it by installing it in my test environment with the helm chart: #

How to make terraform delete an EKS cluster including the AWS resources created by kubernetes?

I use terraform to create an environment in AWS. The environment also contains a EKS cluster, which integrates in AWS and creates some resources there. (For exa

Deployment can't be recreated during helm upgrade because PersistentVolumeClaim and Service failed to be replace

I have application that is using Helm charts to be deployed. On first helm upgrade --install command everything works as expected but second time I have this er

Traefik (v2.2) Ingress on Kubernetes: HTTP and HTTPS cannot co-exist

I am using Traefik (v2.2) on Kubernetes, using a wildcard domain certificate for HTTPS access. The following are my Traefik deployment and Ingress configuration

Problem with NGINX, Kubernetes and CloudFlare

I am experiencing exactly this issue: Nginx-ingress-controller fails to start after AKS upgrade to v1.22, with the exception that none of the proposed solutions

Kubernetes: expired certificate

Our Kubernetes 1.6 cluster had certificates generated when the cluster was built on April 13th, 2017. On December 13th, 2017, our cluster was upgraded to versi

How to parse json format output of : kubectl get pods using jsonpath

How to parse the json to retrieve a field from output of kubectl get pods -o json From the command line I need to obtain the system generated container name

How can I configure NGINX ingress controller to work with Cloudflare and Digital Ocean Load Balancer?

I have tried the answers in this question. This is my current configuration: apiVersion: v1 kind: ConfigMap metadata: labels: helm.sh/chart: ingress-nginx

Kubernetes: Error from server (NotFound): deployments.apps "kube-verify" not found

I set up a Kubernetes cluster in my private network and managed to deploy a test pods: now I want to expose an external ip for the service: but when I run: kube

kubernetes ingress service annotations

I am setting up an ingress service following some k8s documentation, but I am not able to understand the following annotations: kubernetes.ip/ingress.class: ngi

microk8s Connection to port 16443 was refused

I'm getting following error message: root@master-1:~# microk8s.kubectl get no The connection to the server 127.0.0.1:16443 was refused - did you specify the rig

Where can I get a list of Kubernetes API resources and subresources?

I am trying to configure Kubernetes RBAC in the least-permissive way possible and I want to scope my roles to specific resources and subresouces. I've dug thr

How do I avoid data loss when using Kafka over Kubernetes and one of the nodes fail?

My application runs over a Kubernetes cluster of 3 nodes and uses Kafka to stream data. I am trying to check my system's ability to recover from node failure, s

Container runtime network not ready: cni config uninitialized

I'm installing kubernetes(kubeadm) on centos VM running inside Virtualbox, so with yum I installed kubeadm, kubelet and docker. Now while trying to setup clus