Exploit.cz
  • 🍕 Recepty.eu
  • 🛠️ Lidl Tools
  • 👑 Curriculum vitae 👑
  • LinkedIn Profile
  • Github Profile

k8s

A collection of 3 posts
How to solve x-real-ip 127.0.0.1 issue in Kubernetes Rancher cluster
rancher

How to solve x-real-ip 127.0.0.1 issue in Kubernetes Rancher cluster

I am using L4 Nginx Loadbalancer to Kubernetes Cluster nodes with Stream configuration in Nginx. Problem is that all Ingress resources got remote_ip from localhost * x-forwarded-for=127.0.0.1 * x-real-ip=127.0.0.1 How to fix? 1. You have to edit global ingress config in ConfigMap named
Oct 1, 2018 — 1 min read
Longhorn - Kubernetes persistent volume storage
rancher

Longhorn - Kubernetes persistent volume storage

Deploy You can deploy Longhorn persistent volume storage via kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/longhorn.yaml Destroy Destroying is not that easy. If you run kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/longhorn.yaml command, you will stuck
Aug 22, 2018 — 1 min read
Terraform: Autogenerate LoadBalancer config for Nginx
rancher

Terraform: Autogenerate LoadBalancer config for Nginx

My production stack is build on top of Kubernetes cluster running in the Hetzner Cloud powered by Rancher 2. High Availability Installation with External Load Balancer (TCP/Layer 4) needs nginx.conf with all IP addresses of all worker nodes. I dont want to hardcode IPs into this config, so
Aug 12, 2018 — 2 min read
Exploit.cz © 2023
Powered by Ghost