Tags down

Home » kubernetes


Is there a better workflow for switching accounts with gcloud and kubectl?
will help you I suppose the quickest way to switch is creating aliases in your ~/.bashrc or ~/.zshrc file:
TAG :kubernetes
Date : August 11 2020, 05:00 AM , By : Raj Kumar
Unable to start HyperV VM with Minkube for Kubernetes Cluster for spark in windows 10
seems to work fine I am trying to create a Kubernetes cluster on Windows with the help of Minikube and Hyperv. I tried below things: , I had the same problem, adding --force worked for me:
TAG :kubernetes
Date : August 10 2020, 11:00 PM , By : amel
Kubernetes -> Memory consumption per namespace
will be helpful for those in need On high level we can get this from kubectl$ kubectl describe resourcequota -n my-namespace
TAG :kubernetes
Date : August 10 2020, 07:00 PM , By : ksully
What is the difference between a Kubernetes Ingress and a IngressRoute?
Any of those help Ingress is a shared abstraction that can be implemented by many providers (Nginx, ALBs, Traefik, HAProxy, etc). It is specifically an abstraction over a fairly simple HTTP reverse proxy that can do routing based on hostnames and pat
TAG :kubernetes
Date : August 10 2020, 01:00 PM , By : saarocker
Error: validation failed: unable to recognize "": no matches for kind "Ingress" in version "net
This might help you I updated the Kubernetes cluster version to 1.15.5 and helm install started working
TAG :kubernetes
Date : August 10 2020, 04:00 AM , By : Dyerica Williams
How to assign a single static source IP address for all pods of a service or deployment in kubernetes?
wish helps you there's no mechanism in Kubernetes for this yet.other possible solutions:
TAG :kubernetes
Date : August 09 2020, 09:00 PM , By : Soladu
Does re-deploying kubernetes statefulset preserve persistent volume claim?
will be helpful for those in need StatefulSet provides a key named as volumeClaimTemplates using that, you can request the PVC from the storage class dynamically. The volumeClaimTemplates will provide stable storage using PersistentVolumes provisione
TAG :kubernetes
Date : August 09 2020, 07:00 PM , By : lanceGmer
how to enable port-forward in a k8s service yaml
help you fix your problem Kubernetes ServiceTypes allow you to specify what kind of Service you want. The default is ClusterIP.
TAG :kubernetes
Date : August 09 2020, 05:00 PM , By : Bede
How to mount local volume hostPath with AKS?
fixed the issue. Will look into that further Judging by what you said in your comment and your config, especially the path /Users/kkadam/minikube/myfolder which is typically a Mac OS path, it seems that you're trying to mount your local volume (proba
TAG :kubernetes
Date : August 09 2020, 05:00 PM , By : Matthew
Kubernetes HPA disable scale down
around this issue NO, this is not possible. 1) you can delete HPA and create simple deployment with desired num of pods
TAG :kubernetes
Date : August 09 2020, 01:00 PM , By : Luke Widger
Why the service does not get an ClusterIP assigned?
To fix the issue you can do ClusterIp is "None" when you want to create a headless service. In your service template (yaml file) if clusterIp is set to "None" then cluster-ip is not assigned for your service.If you need cluster-ip for your service th
TAG :kubernetes
Date : August 09 2020, 10:00 AM , By : ZhangMeisong
Autoscale pods based on http request count
I hope this helps you . By default, HPA in GKE uses CPU to scale up and down (based on resource requests Vs actual usage). However, you can use custom metrics as well, just follow this guide. In your case, have the custom metric track the number of H
TAG :kubernetes
Date : August 09 2020, 09:00 AM , By : miragemonger
kubernetes multi domain dynamic routing
it helps some times Since you have tagged the question with google cloud my answer is geared towards google cloud.For HTTP/HTTPS type traffic you can create an ingress resource and the ingress controller(nginx or GKE ingress) will create a HTTP Loadb
TAG :kubernetes
Date : August 08 2020, 07:00 AM , By : q.shen
Kubectl exec to the specific container in deployment
it helps some times Running a deployment with three pod. , kubectl exec -it "pod-name" -c "container-name" -n "namespace"
TAG :kubernetes
Date : August 08 2020, 06:27 AM , By : L.Zhaoyu
How to configure IP/listeners in Apache Kafka so that external clients can connect to it
will be helpful for those in need You just need to configure advertised listeners so that external clients can connect. To do so, you need to configure advertised.listeners inside server.properties:
TAG :kubernetes
Date : August 08 2020, 05:00 AM , By : E. Armanidi
AKS - incorrect Pod Status
wish helps you Here is a full thread (https://github.com/kubernetes/kubernetes/issues/55713) on this issue. The problem here is by default the pod waits for 5 minutes before evicting to another node when the current node becomes notReady, but in this
TAG :kubernetes
Date : August 07 2020, 03:00 PM , By : Hallgrimur Thorstein
Automatic Down- and Upscaling of Kubernetes Cluster Depending on Request Frequency
I wish did fix the issue. The GKE autoscaler scales up only when there are pods to be scheduled that do not fir on any current nodes and scaling up would allow the pod to be scheduled.Scaling down occurs whenever a node is using less than half it's t
TAG :kubernetes
Date : August 07 2020, 03:00 PM , By : Fer
Reset work node when to rejoin to master using kubeadm
I hope this helps . It is happening because you've already executed join command on your node once. That's why the files are still there.If your node hasn't been deleted from the cluster(just drained only), you don't have to run kubeadm join. You can
TAG :kubernetes
Date : August 07 2020, 12:00 PM , By : it's just a prank br
Recreating kubelet sandbox false when reboot cluster server using kubeadm
help you fix your problem When I reboot the master and work node, the pod of coredns show the below error message seem that it can not recreate kubelet after server restart. , You can try cleaning up flannel and reinstalling it.
TAG :kubernetes
Date : August 07 2020, 11:00 AM , By : Hanif Uddin
Kubernetes pod events showing as "<none>"
I wish this help you Kubernetes has default time to retain event configured to 1hr in kube-apiserver. You can configure the ttl of events by setting the flag --event-ttl durations of kube-apiserver.
TAG :kubernetes
Date : August 06 2020, 05:00 PM , By : JiggyBauk
How can we delete existing role in kubernetes?
This might help you Is there a way to delete existing role in kubernetes? I have made a mistake while creating roles for the users and now I want to update or delete the role. Please let me know a way , Delete a Role:kubectl delete role NAME_OF_ROLE
TAG :kubernetes
Date : August 06 2020, 04:00 PM , By : gautam doulani
Use values-production.yaml instead of values.yaml for Helm Dependencies
To fix the issue you can do I am creating a helm chart that uses multiple dependencies. For some of those dependencies I would like to use their values-production.yaml instead of the default values.yaml. I have tried adding a tag section to the depen
TAG :kubernetes
Date : August 06 2020, 03:00 PM , By : FloweyTheFlower
How to backup Helm3 nginx controller configs and update the running LoadBalancer service?
seems to work fine Very new to kubernetes. I've been getting confused by documentation and example differences between Helm2 and 3. , Is there a way to backup all my my k8s cluster configs
TAG :kubernetes
Date : August 06 2020, 11:00 AM , By : The Turbanator
Kubectl behind corporative proxy
With these it helps One option is to add the export line to your .bashrc (or equivalent if you're using another shell) as this is sourced every time you open up a new terminal.
TAG :kubernetes
Date : August 06 2020, 09:00 AM , By : Ciaran McKey
Statefulsets pods in Kiali Dashboard
I wish did fix the issue. The kiali CR by default excludes statefulset.
TAG :kubernetes
Date : August 06 2020, 09:00 AM , By : Solange Dutra
How to clone or prepopulate PVC on GKE?
Any of those help Using advice from @yvesonline I was able to achieve option 1 above. After my original volume has been populated, take a snapshot
TAG :kubernetes
Date : August 06 2020, 08:00 AM , By : Gutsman
Should I use kubernetes default namespace?
it should still fix some issue I would recommend you not use (!?) the default namespace for anything ever.The following is more visceral than objective but it's drawn from many years' experience of Kubernetes. In 2016, a now former colleague and I bl
TAG :kubernetes
Date : August 05 2020, 11:00 PM , By : Cory Welch
Share filesystem across containers in a pod
it helps some times You can't share files between containers without some sort of shared volume.Part of the goal of a containerized system is that the container filesystems are isolated from each other. There are a huge number of practical problems w
TAG :kubernetes
Date : August 05 2020, 02:00 PM , By : Orosanu Claudiu
How to read & modify Kube Manifest values with yq?
wish of those help Use the -d CLI option. See https://mikefarah.gitbook.io/yq/commands/write-updatemultiple-documents for more details.Also Kubernetes has its own thing for in kubectl patch.
TAG :kubernetes
Date : August 05 2020, 08:00 AM , By : B.Beykal
Is it okay when two K8S controllers modify same resource at the same time?
I wish did fix the issue. Yes, the same object can be updated by multiple controllers. The Pod object is updated by almost a dozen at this point I think. The main problem you can run into is write conflicts. Generally in an operator you do a get, the
TAG :kubernetes
Date : August 05 2020, 07:00 AM , By : SlashC94
Cassandra pod is taking more bootstrap time than expected
wish of those help If you're restarting the existing node, and data is still there, then it's not a bootstrap of the node - it's just restart.One of the potential problems that you have is that you're not draining the node before restart, and all com
TAG :kubernetes
Date : August 04 2020, 01:00 PM , By : user6110840
GCP HTTP(S) load balancer ignoring GKE readinessProbe specification
it helps some times I think what's happening here is GKE ingress is not at all informed of port 9292. You are referring sp-http in the ingress which refers to port 8080.You need to make sure of below:
TAG :kubernetes
Date : August 04 2020, 06:00 AM , By : amirf
How to set request_cpu globally for airflow worker pods using the kubernetes executor?
like below fixes the issue You can set this executor_config at task level for KubernetesExecutor as follows.
TAG :kubernetes
Date : August 01 2020, 09:00 PM , By : Trent G
How to pass command line argument to kubectl create command
help you fix your problem If I run the kubectl create -f deployment.yaml command with the following deployment.yaml file, everything succeeds. , You can use Environment variables in the deployment.yaml
TAG :kubernetes
Date : August 01 2020, 06:00 AM , By : user6111799
Avoiding Prometheus call all instances of k8s service (only one, app-wide metrics collection)
this one helps. This implies the metrics are coming from some kind of backend database rather than a usual in-process exporter. Move the metrics endpoint to a new service connected to the same DB and only run one copy of it.
TAG :kubernetes
Date : July 30 2020, 08:00 PM , By : Rose
Privacy Policy - Terms - Contact Us © voile276.org