Category: kubernetes

kubernetes
2024-02-23 03:38 (2 years ago)
Return Custom Response Headers with Kubernetes Ingress

How to Return Custom Response Headers with Nginx Ingress in Kubernetes This method is useful when you have multiple Ingresses and want to confirm which one is responding.

kubernetes
2023-09-28 00:31 (2 years ago)
対応策 for "no matches for kind 'CronJob' in version 'batch/v1beta1'" when Registering a Kubernetes CronJob

If you encounter the error "no matches for kind 'CronJob' in version 'batch/v1beta1'" when registering a Kubernetes CronJob, you can resolve it by changing batch/v1beta1 to batch/v1.

kubernetes
2023-07-03 02:04 (2 years ago)
I reinstalled the DNS plugin because name resolution stopped working in Kubernetes (Microk8s)

I was using MicroK8s and found that the Pods were unable to communicate with the external network. Reinstalling the DNS plugin (reconfiguring the DNS server) in MicroK8s resolved the issue.

kubernetes
2022-08-19 10:51 (3 years ago)
Items to Check to Prevent Timeout for Slow Responses in Kubernetes Ingress + Uwsgi Configuration

This article provides key points to check the configuration in cases where you are using the Nginx Ingress Controller with Kubernetes and Uwsgi for the application server within the Pod, to prevent slow response services from timing out. If these configurations are not extended, it could result in 502 or 504 errors.

kubernetes
2022-06-19 14:42 (3 years ago)
How We Managed to Retrieve Remote IP Addresses via Kubernetes Ingress

I attempted to retrieve the source global IP address from HTTP requests through Kubernetes Ingress, but I ended up obtaining the IP address of Kubernetes' local network, which did not work as intended. After switching Kubernetes to MicroK8s and using its built-in Ingress controller, I was able to successfully retrieve the global remote IP address. This is a note on that experience.

kubernetes
2022-06-19 11:51 (3 years ago)
How to Load a Local Docker Image into the MicroK8s Repository on a Remote Server

When using MicroK8s on a server, a separate image repository for ctr is created apart from the server's Docker image repository. Since MicroK8s uses this ctr, Docker-loaded images cannot be used directly. It is necessary to import the images using `microk8s ctr image import`.

kubernetes
2022-06-19 11:32 (3 years ago)
Updating Kubernetes Ingress from extensions/v1beta1 to networking.k8s.io/v1

In the latest version of Kubernetes (around 1.25?), "apiVersion: extensions/v1beta1" is no longer supported. If you have written Ingress configurations using "extensions/v1beta1", applying them with "kubectl apply" will result in the error: error: unable to recognize "ingress.yml": no matches for kind "Ingress" in version "extensions/v1beta1" To resolve this issue, you need to update the "apiVersion" to "networking.k8s.io/v1".

kubernetes
2022-04-22 13:24 (3 years ago)
Writing Host Aliases in Kubernetes Manifests

How to write a simple host-to-IP address translation table, equivalent to the /etc/hosts file in an OS, in a Kubernetes manifest file.

kubernetes
2022-01-26 03:43 (4 years ago)
Setting Timeout Period for Kubernetes Nginx Ingress

Sure, I'd be happy to help. Could you please provide the Japanese blog article summary that you would like translated into English?

kubernetes
2021-12-11 13:28 (4 years ago)
Easily Rolling Restart Kubernetes Pod (Pod Deletion Command)

When operating a container with the tag set to "latest" and the imagePullPolicy set to "Always" within a Pod's Deployment in Kubernetes, you need to run `kubectl delete pod` to reflect the latest code. By staggering the deletion of pods, you can avoid downtime.

kubernetes
2021-02-16 06:53 (5 years ago)
Starting Elasticsearch and Kibana on Kubernetes with analysis-icu Installation

You can achieve this by writing the installation script in the args section of deployment.yml.

kubernetes
2021-02-11 14:11 (5 years ago)
If Pods Do Not Start from Deployment in EKS, Warning FailedScheduling May Indicate Resource Insufficiency

After using a large Kubernetes cluster within the company, I overlooked something when switching to a small EKS cluster for testing. When I checked the deployment to try to start the alb-ingress-controller, I found that the READY status was 0.

kubernetes
2021-01-15 14:38 (5 years ago)
What to Do When Your Kubernetes Node Shows "The node was low on resource: ephemeral-storage"

Pod exits with the error: "The node was low on resource: ephemeral-storage." Storage usage of the node is at 85% There is an unusually heavy process running in Kubernetes, causing the load average to be abnormally high (like 100) In this case, it is a storage shortage.

Raspberry-Pikubernetes
2020-11-23 07:58 (5 years ago)
Installing k3s Kubernetes on Raspberry Pi (Raspbian)

Here's a summary of the Japanese blog article in English: --- The article discusses installing k3s Kubernetes on a Raspberry Pi running Raspbian. It mentions that k3s will be installed in Docker mode. According to the Docker website, it is recommended to use the convenience script for Raspbian, so the article follows this recommendation.

kubernetes
2020-01-14 06:34 (6 years ago)
HTTP 413 Error When Uploading Files in Kubernetes Environment

When uploading a file to a web application running under Kubernetes Ingress, you might encounter a 413 Payload Too Large error. In such cases, you need to modify the Ingress settings.

Categories

Archive