Category "kubernetes"

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

kubectl error You must be logged in to the server (Unauthorized) when accessing EKS cluster

I have been trying to follow the getting started guide to EKS. When I tried to call kubectl get service I got the message: error: You must be logged in to the

Fabric v2.0 in kubernetes (minikube) - error Peer channel - error validating proposal: access denied: channel [] creator org [Org1MSP]

I am trying to set up the Fabric v2.0 test-network (https://hyperledger-fabric.readthedocs.io/en/release-2.0/test_network.html) on kubernetes (locally on miniku

setting image pull policy using kubectl

Following the docs and this question, I am trying to pull a image that I created locally with docker while creating deployment with kubectl. I am looking for so

Unable to connect to the server: net/http: TLS handshake timeout

On minikube for windows I created a deployment on the kubernetes cluster, then I tried to scale it by changing replicas from 1 to 2, and after that kubectl hang

prometheus dynamic metrics_path

Prometheus allows me to dynamically load targets with file_sd_config from a .json file like this #prometheus.yaml - job_name: 'kube-metrics' file_sd_configs:

Clean up "Replica Sets" when updating deployments?

Every time a deployment gets updated, a new replica set is added to a long list. Should the old rs be cleaned?

How do I update a Kubernetes autoscaler?

I have created a Kubernetes autoscaler, but I need to change its parameters. How do I update it? I've tried the following, but it fails: ✗ kubectl auto

Error from server (NotFound): pods "$(kubectl" not found

In the minikube hyper-v machine I did deployment of sawtooth-0, using sawtooth config file. Now when I am checking running pods it seems to have some default o

Istio + minikube + Nginx (React). Cannot get access from browser nor CURL

When I deploy without ingress-gateway I can get access via port-forwarding directly to LoadBalancer of application in the browser. But through ingress-gateway i

How to bind roles with service accounts - Kubernetes

I know there are a lot of similar questions but none of them has a solution as far as I have browsed. Coming to the issue, I have created a service account (usi

did you specify the right host or port? error on Kubernetes

I have followed the helloword tutorial on http://kubernetes.io/docs/hellonode/. When I run: kubectl run hello-node --image=gcr.io/PROJECT_ID/hello-node:v1 --por

k8s how to exec to distroless container

I want to delete a specific file from a cronJob to the following container, the problem is that when I run exec I got error, how can I exec to distroless contai

Argocd getting started guide getting FATA[0000] configmap "argocd-cm" not found error

I just tried to go over the getting started guide of Argocd found here https://argo-cd.readthedocs.io/en/stable/getting_started/. I did steps 1 and 2 and then r

How to implement Auto scale on Memory based metric in EKS cluster

I have a EKS cluster with min 3 and max 6 nodes, Created auto scaling group for this setup, How can i implement auto scale of nodes when spike up/down on Memory