Category: kubernetes
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.
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.
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".
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.
Recent Posts
- Skill + CLI over MCP: Replacing Sentry MCP with a multi-profile CLI wrapper
- Turning Raspberry Pi into a Signage Display with Playwright and Chromium Kiosk Mode
- Docker 29 breaks docker push to ECR with 403 Forbidden on GitHub Actions
- How to Add "Copy Full File Path to Clipboard" to Finder's Services Menu
- How to turn Orange Pi Zero 2W into a Web Signage Display
Recent Deliverables
Categories
- Django (66)
- Python (49)
- mac (22)
- Linux (17)
- kubernetes (15)
- iOS (11)
- MySQL (10)
- Raspberry-Pi (8)
- AWS (7)
- PHP (6)
- Javascript (5)
- PC/Etc (5)
- Docker (5)
- Android (4)
- Bicycle (4)
- (4)
- nuxt (3)
- css (3)
- nginx (3)
- Bootstrap (3)
- Flutter (3)
- Shellscript(Bash/Zsh) (3)
- Making (2)
- Windows (2)
- HTML (2)
- (1)
- Ebook (1)
- Rails (1)
- Microcontrollers (1)
- less (1)
- Ansible (1)
- (1)
- (1)