logo
down
shadow

KUBERNETES QUESTIONS

KUBECTL ERROR: the server has asked for the client to provide credentials
KUBECTL ERROR: the server has asked for the client to provide credentials
fixed the issue. Will look into that further This works for me using both the AWS_PROFILE env on the command line and also setting the env in the ~/.kube/config file.The only thing that I can think may be happening is that you have the AWS credential
TAG : kubernetes
Date : November 22 2020, 07:01 PM , By : Анатолий Белугин
Why does minikube start sometimes hang on mac os High Sierra 10.13.6?
Why does minikube start sometimes hang on mac os High Sierra 10.13.6?
will be helpful for those in need My guess is that the IP address of the xhyve/Hyperkit VM changed. It probably changed when you did the Mac OS upgrade.You can update it in /Users/youruser/.minikube/machines/minikube/config.json:
TAG : kubernetes
Date : November 21 2020, 07:01 PM , By : sudhir kumar
Kubernetes Container Environment
Kubernetes Container Environment
Hope that helps You need to use \ to escape the double-quotes within the value for CONSUL_LOCAL_CONFIG so that entry becomes:
TAG : kubernetes
Date : November 18 2020, 07:00 PM , By : iOscarS
How can you scale out a Job that is already created?
How can you scale out a Job that is already created?
will be helpful for those in need So as per job documentation you can still scale a Job running the following command:
TAG : kubernetes
Date : October 23 2020, 06:10 PM , By : Aaron Gaska
What is the main problem in the YAML file?
What is the main problem in the YAML file?
I wish this help you When I want to run the following YAML file, I get the following error: , You need to fix indentation and also containers is a list:
TAG : kubernetes
Date : October 22 2020, 06:10 PM , By : Czar
How to remove broken nodes in Kubernetes
How to remove broken nodes in Kubernetes
seems to work fine I option:If you work on GKE and have HA cluster, node with NotReady state shoud have been automatically deleted after couple of minutes if you have autoscaling mode on. After a while new node will be added.
TAG : kubernetes
Date : October 22 2020, 06:10 AM , By : Junjie Ma
Helm Charts for Jenkins-X?
Helm Charts for Jenkins-X?
I wish this helpful for you we recommend you don't try and install jenkins x via a chart - but via the CLI install tool we've built using jx create cluster if you don't have a kubernetes cluster or jx install if you do.Jenkins X requires lots of thin
TAG : kubernetes
Date : October 22 2020, 06:10 AM , By : Layla Bou
DNS in Kubernetes deployment not working as expected
DNS in Kubernetes deployment not working as expected
I think the issue was by ths following , You have defined all 3 containers as part of the same pod. Pods have a common network namespace so in your current setup (which is not correct, more on that in a second), you could talk to the other containers
TAG : kubernetes
Date : October 21 2020, 06:10 PM , By : Zeeshan
How is Google's Cloud Run different from a traditional Kubernetes cluster?
How is Google's Cloud Run different from a traditional Kubernetes cluster?
I hope this helps . Technology wise, cloud Run is a managed Kubernetes cluster with Knative to run the containers on top of it.However Cloud Run brings an additional advantages when you run fully managed: you only pay for used resources. In other wor
TAG : kubernetes
Date : October 20 2020, 06:10 PM , By : mileit97 mileit
Kubernetes batch performance with activation of thousands of pods using jobs
Kubernetes batch performance with activation of thousands of pods using jobs
wish of those help If you wanna run ten thousands of jobs at the same time - you will definitely need to plan resource allocation. You need to estimate the number of nodes that you need. After that you may create all nodes at once, or use GKE cluster
TAG : kubernetes
Date : October 20 2020, 06:10 PM , By : kachunyu
Istio - Connect to an external ip
Istio - Connect to an external ip
fixed the issue. Will look into that further The problem is resolving the DNS which basically relates to the configuration of resolution in your ServiceEntry.Based on istio's documentation:
TAG : kubernetes
Date : October 19 2020, 06:10 PM , By : Anbarasan Vellayan
How to fix "crashLoopBackoff" while creating the kafka container
How to fix "crashLoopBackoff" while creating the kafka container
This might help you Use StatefulSets to deploy Kafka and zookeeper. There is a good tutorial on zookeeper StatefulSets on Kubernetes.io website. Follow that.Avoid hostpath if you are not running single node cluster. Use persistent volume or ephemeral
TAG : kubernetes
Date : October 16 2020, 06:10 AM , By : Harsh Kulkarni
Run Two Kubernetes Dashboards Simultaneously
Run Two Kubernetes Dashboards Simultaneously
Hope this helps The problem originates from the kubectl-proxy. The first one is using port 8001 and a port can be used only once. You can start your second kubectl on a different port
TAG : kubernetes
Date : October 14 2020, 06:10 PM , By : Woeps
Cloud Function - Connecting to Kubernetes container
Cloud Function - Connecting to Kubernetes container
it helps some times You need to connect Cloud Function to VPC first, detailed here: https://cloud.google.com/functions/docs/connecting-vpc
TAG : kubernetes
Date : October 14 2020, 06:10 PM , By : Ahmed Ismaeil
Error while trying to do a kubernetes deployment from a private registry
Error while trying to do a kubernetes deployment from a private registry
like below fixes the issue You need to pass image pull secret to kubernetes. Get docker login json Create a k8s secret with this json Refer a secret from a pod
TAG : kubernetes
Date : October 14 2020, 06:10 PM , By : Jonathan Clarin
How not to overwrite randomly generated secrets in Helm templates
How not to overwrite randomly generated secrets in Helm templates
fixed the issue. Will look into that further It's still one of the biggest issues of Helm. As far as I understand no good solution is available yet (see https://github.com/helm/charts/issues/5167).One dirty workaround is to create secret as pre-insta
TAG : kubernetes
Date : October 14 2020, 04:00 AM , By : Kessaku
How do I deploy .BNA file on IBM cloud blockchain 2.0 resource?
How do I deploy .BNA file on IBM cloud blockchain 2.0 resource?
I wish did fix the issue. In August 2018, IBM announced that we are no longer investing in Hyperledger Composer, and instead focusing 100% on Hyperledger Fabric. As a result, IBM Blockchain Platform v2.0 will not provide any support or tooling around
TAG : kubernetes
Date : October 14 2020, 03:00 AM , By : Zaber Tech
Kubernetes deployment is missing Kustomize's hash suffixes
Kubernetes deployment is missing Kustomize's hash suffixes
Does that help It looks like the problem come from the fact that you generate the config map through kustomize but the deployment via kubectl directly without using kustomize.Basically, kustomize will look for all the env-receiver-config in all your
TAG : kubernetes
Date : October 13 2020, 10:00 PM , By : Judy Jones
Accessing the Kubernetes REST end points using bearer token
Accessing the Kubernetes REST end points using bearer token
With these it helps Requirement: We need to access the Kubernetes REST end points from our java code. Our basic operations using the REST end points are to Create/Update/Delete/Get the deployments. , follow this simple way
TAG : kubernetes
Date : October 13 2020, 09:00 PM , By : M. Stone
How do i forward a connection for cqlsh privatly in GKE
How do i forward a connection for cqlsh privatly in GKE
may help you . The reason it is failing is because port-forward only binds to localhost (127.0.0.1). If you go inside the pod with
TAG : kubernetes
Date : October 13 2020, 08:00 PM , By : Phan Minh Phung
K8s: StatefulSet how to increase time between resatrt of pod in case fails
K8s: StatefulSet how to increase time between resatrt of pod in case fails
Any of those help If all you want is to view the logs of the terminated pod, you can do kubectl log --previous
TAG : kubernetes
Date : October 13 2020, 06:00 PM , By : iNameless
How to connect to Istio api from kubernetes java client?
How to connect to Istio api from kubernetes java client?
wish help you to fix your issue To connect to Istio you can use the project istio-java-api. This project use the same approach as Fabric8’s kubernetes-model. The example below shows how to build and create a VirtualService:
TAG : kubernetes
Date : October 13 2020, 06:00 PM , By : user6024209
Kubernetes Ingress redirect to a directory
Kubernetes Ingress redirect to a directory
this one helps. It's possible to add custom config snippets to an Ingress via annotations:
TAG : kubernetes
Date : October 13 2020, 05:00 PM , By : Shaikh Shahbaz
How to run systemctl in a pod
How to run systemctl in a pod
This might help you This is a problem related to Docker, not Kubernetes. According to the page Run multiple services in a container in docker docs:
TAG : kubernetes
Date : October 13 2020, 02:00 PM , By : Hbelow
k8s dynamically set number of replicas relative to number of nodes
k8s dynamically set number of replicas relative to number of nodes
I think the issue was by ths following , Daemonset will fulfill your requirements
TAG : kubernetes
Date : October 13 2020, 02:00 PM , By : Alexei Golovach
awx-db pod in pending mode
awx-db pod in pending mode
around this issue You have an unbound immediate PersistentVolumeClaims as specified in the pod description. Creating a persistent volume of the appropriate class will fix the issue.
TAG : kubernetes
Date : October 13 2020, 01:00 PM , By : Tee Hui Ting
Pattern matching for messages on Istio
Pattern matching for messages on Istio
wish helps you This is more of an architecture advice question.For this pattern, you are probably better off using a message broker like RabbitMQ or Kafka, or an event bus (or something else).
TAG : kubernetes
Date : October 13 2020, 08:00 AM , By : MasonAProgrammer
kubectl context vs cluster
kubectl context vs cluster
wish of those help Cluster defines connection endpoint for Kubernetes API of a cluster. User defines credentials for connecting to cluster.
TAG : kubernetes
Date : October 13 2020, 07:00 AM , By : Amey More
Renew kubernetes pki after expired
Renew kubernetes pki after expired
around this issue My kubernetes PKI expired (API server to be exact) and I can't find a way to renew it. The error I get is , So the solution was to (first a backup)
TAG : kubernetes
Date : October 13 2020, 04:00 AM , By : Sebastian Heiden
Is definining scale-down-utilization-threshold on GKE possible?
Is definining scale-down-utilization-threshold on GKE possible?
hop of those help? I'm not sure if you mean scale down an HPA or scale down a VPA or scale down cluster nodes based on the cluster autoscaler, or scale down GCP instance groups or an AWS ASGs.
TAG : kubernetes
Date : October 13 2020, 12:00 AM , By : Erfan Moharramkhani
How to connect kubectl to a cluster in Google Cloud?
How to connect kubectl to a cluster in Google Cloud?
help you fix your problem The easiest would be to mount your ~/.kube/config into your container. Like:
TAG : kubernetes
Date : October 12 2020, 10:00 PM , By : Spam Hater
Live update of Kubernetes container environment variable derived from configMapRef
Live update of Kubernetes container environment variable derived from configMapRef
it helps some times The environment variables are set when the container is starting so there is no possible way to update those environment variables. You will need to restart Pod so it that reads again the ConfigMap values and sets the environment
TAG : kubernetes
Date : October 12 2020, 08:00 PM , By : Sayyed Alireza Mires
What is the difference between |+ and |- when creating a configmap from a file in kubernetes yaml definitions?
What is the difference between |+ and |- when creating a configmap from a file in kubernetes yaml definitions?
this one helps. This is the block chomping indicator.Directly quoting from the link:
TAG : kubernetes
Date : October 12 2020, 05:00 PM , By : Sridhar Reddy M
Terminate k8s pods faster
Terminate k8s pods faster
wish help you to fix your issue If you really want to kill them instead of gracefully shutdown, then:
TAG : kubernetes
Date : October 12 2020, 04:00 PM , By : Renee_Ren
Is it possible to deploy a GUI application using Kubernetes?
Is it possible to deploy a GUI application using Kubernetes?
it should still fix some issue To run GUI application on headless server, you need Xvfb to create a virtual frame buffer as a X-server, and let application connect to the X-server by env DISPLAY.Example yaml use xvfb docker image:
TAG : kubernetes
Date : October 12 2020, 04:00 PM , By : Hannah Marry
Metacontroller: how to stop calls to sync hooks and resource generation
Metacontroller: how to stop calls to sync hooks and resource generation
I wish this help you You probably need to enable the "status" subresource for your CRD: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/status-subresource
TAG : kubernetes
Date : October 12 2020, 12:00 PM , By : Marco W
How to safely provide kubeconfig to kubectl
How to safely provide kubeconfig to kubectl
this one helps. So far I have used the following solution: User specifies an empty token in the kubeconfig file
TAG : kubernetes
Date : October 12 2020, 12:00 PM , By : Herman Filippovych
Is kustomize for k8s backward chaining?
Is kustomize for k8s backward chaining?
this one helps. What I noticed so far is that kustomize will first accumulate the content of all the base resources then apply the transformations from your kustomization.yml files. If you have multiple level of overlays, it doesn't seem to pass the
TAG : kubernetes
Date : October 12 2020, 12:00 PM , By : Bigi
Load Balancing between PODS
Load Balancing between PODS
wish help you to fix your issue This is what the Kubernetes Service object does, which you already mentioned you are using. Make sure you set up a readiness probe in your pod template so that the system can tell when your app is healthy.
TAG : kubernetes
Date : October 12 2020, 11:00 AM , By : Ahmed Galal
k8s ramped deployment -- css from same pod
k8s ramped deployment -- css from same pod
wish of those help How can I be guaranteed, that all subsequent requests will be served from the same pod, or a pod with the same version that the html served?
TAG : kubernetes
Date : October 12 2020, 10:00 AM , By : mrdennis86
How to scrape data from istio-envoy containers
How to scrape data from istio-envoy containers
Hope that helps Apart from ServiceMonitor you also need to create following scrape config for envoy proxies
TAG : kubernetes
Date : October 12 2020, 07:00 AM , By : Nhung
Kubernetes ingress: Not creating an LB?
Kubernetes ingress: Not creating an LB?
it helps some times This would not create a LB. Ingress is just a routing rule for your ingress controller. Think of it like a location block in your nginx config. A K8S Service with Load Balancer type would create a LB in AWS. You could get more und
TAG : kubernetes
Date : October 12 2020, 06:00 AM , By : fuzuli
Traefik load balancing weight not working as per expectation
Traefik load balancing weight not working as per expectation
To fix this issue That seems to be followed by traefik issue 4494 (instead of your own issue 4940)
TAG : kubernetes
Date : October 12 2020, 02:00 AM , By : Santhosh Siva Kumar
Kubernetes secrets plugin not working with no useful logs
Kubernetes secrets plugin not working with no useful logs
I think the issue was by ths following , Ok I found my issue using the environement variable DEBUG in the drone-drone-secrets deployment. The error was :
TAG : kubernetes
Date : October 11 2020, 09:00 PM , By : Dave Hoffman
Can I add arbitrary config to a pod spec deployed with a helm chart without modifying the helm chart?
Can I add arbitrary config to a pod spec deployed with a helm chart without modifying the helm chart?
should help you out Is there a way I can add arbitrary config values to a pod spec that was deployed with a helm chart without having to modify the chart?
TAG : kubernetes
Date : October 11 2020, 07:00 PM , By : Nirvana
Is it possible to sort Kubernetes API list of ConfigMaps?
Is it possible to sort Kubernetes API list of ConfigMaps?
To fix this issue As I know, you need to sort it by yourself. k8s-api-cm-refer hasn't sort parameters.
TAG : kubernetes
Date : October 11 2020, 03:00 PM , By : Micah J. Covert
Airflow kubernetes executor: Run 2 jobs on the same pod
Airflow kubernetes executor: Run 2 jobs on the same pod
With these it helps Sorry this isn't possible - one job per pod.You are best to use task 1 to put the data in a well known location (e.g in a cloud bucket) and get it from the second task. Or just combine the two tasks.
TAG : kubernetes
Date : October 11 2020, 03:00 PM , By : Gary
One node for a GKE cluster cannot pull image from dockerhub
One node for a GKE cluster cannot pull image from dockerhub
Any of those help There was a related reported bug in Kubernetes 1.11 Make sure it is not your case
TAG : kubernetes
Date : October 11 2020, 02:00 PM , By : Tangopoint
how to communicate with daemonset pod from another pod in the same node?
how to communicate with daemonset pod from another pod in the same node?
Does that help There is a way of not using a service.You can Expose Pod Information to Containers Through Environment Variables.
TAG : kubernetes
Date : October 11 2020, 01:00 PM , By : Purplehana
Unauthorized response when using service account bearer token
Unauthorized response when using service account bearer token
wish helps you , Bearer token was not base64 decoded... Argh
TAG : kubernetes
Date : October 11 2020, 12:00 PM , By : user6031707
service "kubernetes" deleted - accidentally deleted kubernetes service
service "kubernetes" deleted - accidentally deleted kubernetes service
I wish this helpful for you A bit theory first ;) Whenever you delete kubernetes svc, you also delete endpoint and this is where Reconciler comes in. It is actually a controller manager for the core bootstrap Kubernetes controller loops, which manage
TAG : kubernetes
Date : October 11 2020, 11:00 AM , By : Joe D
How pods are able to mount the same pvc with ReadWriteOnce access mode when storageClass is with glusterfs but not with
How pods are able to mount the same pvc with ReadWriteOnce access mode when storageClass is with glusterfs but not with
around this issue Volumes are RWO per node, not per Pod. Volumes are mounted to the node and then bind mounted to containers. As long as pods are scheduled to the same node, RWO volume can be bind mounted to both containers at the same time.
TAG : kubernetes
Date : October 11 2020, 08:00 AM , By : Ethan
How to fix k8s namespace permissions in gitlab ci
How to fix k8s namespace permissions in gitlab ci
should help you out In my case I had to delete the namespace in Gitlab database, so gitlab would readd service account and namespace:On the gitlab machine or task runner enter the PostgreSQL console:
TAG : kubernetes
Date : October 11 2020, 06:00 AM , By : DSROY
How to remove kube taints from worker nodes: Taints node.kubernetes.io/unreachable:NoSchedule
How to remove kube taints from worker nodes: Taints node.kubernetes.io/unreachable:NoSchedule
To fix this issue Problem was that swap was turned on the worker nodes and thus kublet crashed exited. This was evident from syslog file under /var, thus the taint will get re-added until this is resolved. Perhaps someone can comment on the implicati
TAG : kubernetes
Date : October 11 2020, 04:00 AM , By : Vikas Kumar
How to autoscale with GKE
How to autoscale with GKE
wish helps you I don't think it's directly related to autoscaling unless some of your old nodes are being removed. The autoscaling is triggered by adding more pods but most likely, there is something with your application or connectivity to external
TAG : kubernetes
Date : October 11 2020, 01:00 AM , By : Daniela Ruiz
How to convert k8s yaml to helm chart
How to convert k8s yaml to helm chart
Hope this helps At heart a Helm chart is still just YAML so to make that a chart, just drop that file under templates/ and add a Chart.yml.
TAG : kubernetes
Date : October 11 2020, 01:00 AM , By : FISH NXY
Weird way of accessing Cloud Run on GKE services
Weird way of accessing Cloud Run on GKE services
With these it helps Most proxies that handle external traffic match requests based on the Host header. They use what's inside the Host header to decide which service send the request to. Without the Host header, they wouldn't know where to send the r
TAG : kubernetes
Date : October 10 2020, 10:00 PM , By : Piyush Vishwakarma
How to pass configuration flags to nginx-ingress in minikube?
How to pass configuration flags to nginx-ingress in minikube?
I wish this help you I don't think there is an easy way to change it. But you can always manually change the ingress controller deployment object so that it passes the arguments that you need. For example, in this repository someone has the Kubernete
TAG : kubernetes
Date : October 10 2020, 06:00 PM , By : Compte Oss
kubespray openstack terraform "Error: Module not found" error
kubespray openstack terraform "Error: Module not found" error
may help you . I was getting the same error. I resolved it by downgrading the terraform to Terraform v0.11.13Please try these steps:
TAG : kubernetes
Date : October 10 2020, 05:00 PM , By : Ragaa HuSsein
Update tls secret for Ambassador
Update tls secret for Ambassador
will be helpful for those in need You can configure Ambassador to terminate TLS with either a TLSContext or tls Module resource. To get either to simply terminate TLS using the secret you created, you can configure them liketls Module:
TAG : kubernetes
Date : October 10 2020, 05:00 PM , By : Weaam Hafez

shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk