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)

When `docker run -it` over an `ssh` connection errors `the input device is not a TTY`, drop `-t` or invoke ssh with `-t` to allocate a TTY.

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

Checklist of timeout settings (Ingress, uWSGI, Django, nginx) to verify so slow responses don't get cut off in a Kubernetes + uWSGI stack.

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

Make `X-Forwarded-For` / `X-Real-IP` reflect the real client IP through Kubernetes nginx-ingress instead of the cluster-internal IP.

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

Deploy a locally built Docker image directly to a remote microk8s cluster via `ctr` (containerd CLI), without going through a registry.

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

Migrate a Kubernetes Ingress from `extensions/v1beta1` to `networking.k8s.io/v1`, with YAML examples. The `backend` field structure must be rewritten.

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

Bottle's SimpleTemplate basics, plus how to switch to Jinja2 / Mako templates inside Python's bottle framework.

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

Notes on using `pipenv install --system --skip-lock` to install dev versions without strict locking, and how to run without a Pipfile.lock.

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

When `kubectl rollout restart` makes Pods take too long to restart, check `terminationGracePeriodSeconds` and any preStop hooks — both are common bottlenecks.

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

Notes on porting a JAN code check-digit validation script from ASP.NET / JavaScript to PHP, with a working PHP sample.

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

Install ChromeDriver 126 on Ubuntu 22.04 and run Selenium against it — apt + manual download steps, plus matching the Chromium / Chrome version.

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"

Detect that an element does not exist with Pyppeteer — catch the `waitForSelector` timeout and return `None`.

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

Install k3s (a lightweight Kubernetes distribution) on a Raspberry Pi (Raspbian) and bring up a single-node cluster — step-by-step.

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

Open a specific 1Password item directly from the Mac terminal with `open 'onepassword://...'` — also how to get the item URL.

Categories

Archive