Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Tag: Ingress

Kubernetes

Kubernetes: Fix an Ingress Rule That Silently Stops Matching a Path Because Two Ingress Objects Define Overlapping Rules at Different Priorities

- 28.10.26 - ErcanOPAK comment on Kubernetes: Fix an Ingress Rule That Silently Stops Matching a Path Because Two Ingress Objects Define Overlapping Rules at Different Priorities

☸️ Fix an Ingress Rule That Silently Stops Matching a Path Because Two Ingress Objects Define Overlapping Rules at Different Priorities Two separate Ingress objects can each describe the exact same host and path and both apply without kubectl ever raising a warning – every field in both is individually valid. What isn’t written down […]

Read More
Kubernetes

Kubernetes: Fix an Ingress TLS Certificate That Silently Falls Back to a Self-Signed Cert Because the Secret Name Doesn’t Match What cert-manager Created

- 21.10.26 - ErcanOPAK comment on Kubernetes: Fix an Ingress TLS Certificate That Silently Falls Back to a Self-Signed Cert Because the Secret Name Doesn’t Match What cert-manager Created

☸️ The Padlock Icon That’s Lying to You An Ingress resource’s tls.secretName field tells the ingress controller which Kubernetes Secret holds the certificate to serve for that host – and if that name doesn’t exactly match the Secret cert-manager actually created (a typo, a naming convention mismatch between the Ingress and the Certificate resource, a […]

Read More
Kubernetes

Kubernetes: Fix an Ingress That Returns 404 for a Path That’s Clearly Defined

- 26.09.26 - ErcanOPAK comment on Kubernetes: Fix an Ingress That Returns 404 for a Path That’s Clearly Defined

☸️ The Path Is Right There in the Ingress Manifest, and It Still 404s An Ingress resource that clearly lists a path, correctly pointing at an existing, healthy Service, can still return a 404 for requests to that exact path – usually because of a path-matching detail specific to the Ingress controller in use (a […]

Read More
Kubernetes

Step-by-Step: Kubernetes Ingress with SSL/TLS and Load Balancing

- 22.08.26 - ErcanOPAK comment on Step-by-Step: Kubernetes Ingress with SSL/TLS and Load Balancing

🌐 Key Takeaways: Expose multiple services through a single entry point with SSL termination, path-based routing, and load balancing using Kubernetes Ingress. Exposing microservices individually is messy. Kubernetes Ingress provides a unified entry point. 🚀 Install Ingress Controller # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.0/deploy/static/provider/cloud/deploy.yaml # Verify kubectl get pods -n ingress-nginx kubectl […]

Read More
Kubernetes

Kubernetes: Configure Ingress Controllers for Traffic Management

- 17.08.26 - ErcanOPAK comment on Kubernetes: Configure Ingress Controllers for Traffic Management

🌐 Ingress Controllers = Traffic Management External traffic needs intelligent routing. Ingress Controllers manage HTTP/HTTPS traffic, SSL termination, and load balancing. 📝 NGINX Ingress Configuration # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml # Ingress Resource apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: web-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/ssl-redirect: true spec: ingressClassName: nginx tls: – hosts: […]

Read More
Kubernetes

Kubernetes: Configure Ingress Controllers for Traffic Management

- 25.07.26 - ErcanOPAK comment on Kubernetes: Configure Ingress Controllers for Traffic Management

🌐 Ingress Controllers = Traffic Management External traffic needs intelligent routing. Ingress Controllers manage HTTP/HTTPS traffic, SSL termination, and load balancing. 📝 NGINX Ingress Configuration # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml # Ingress Resource apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: web-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/ssl-redirect: true spec: ingressClassName: nginx tls: – hosts: […]

Read More
Kubernetes

Kubernetes: Use Ingress Controllers for HTTP Routing

- 24.07.26 - ErcanOPAK comment on Kubernetes: Use Ingress Controllers for HTTP Routing

🚪 Ingress = HTTP Routing NodePort and LoadBalancer are basic. Ingress provides advanced HTTP routing. Single entry point, multiple services, SSL. 📝 Ingress Basics # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml # Ingress Resource apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: my-ingress spec: rules: – host: app.example.com http: paths: – path: / pathType: Prefix […]

Read More
Kubernetes

Kubernetes: Use Ingress Controllers for HTTP Routing

- 18.07.26 - ErcanOPAK comment on Kubernetes: Use Ingress Controllers for HTTP Routing

🚪 Ingress = HTTP Routing NodePort and LoadBalancer are basic. Ingress provides advanced HTTP routing. Single entry point, multiple services, SSL. 📝 Ingress Basics # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml # Ingress Resource apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: my-ingress spec: rules: – host: app.example.com http: paths: – path: / pathType: Prefix […]

Read More
Kubernetes

Kubernetes: Use Ingress Controllers for HTTP Routing

- 12.07.26 - ErcanOPAK comment on Kubernetes: Use Ingress Controllers for HTTP Routing

🚪 Ingress = HTTP Routing NodePort and LoadBalancer are basic. Ingress provides advanced HTTP routing. Single entry point, multiple services. 📝 Ingress Basics # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml # Ingress Resource apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: my-ingress spec: rules: – host: app.example.com http: paths: – path: / pathType: Prefix backend: […]

Read More
Kubernetes

Kubernetes: Use Ingress Controllers for HTTP Routing

- 07.07.26 - ErcanOPAK comment on Kubernetes: Use Ingress Controllers for HTTP Routing

🚪 Ingress = HTTP Routing NodePort and LoadBalancer are basic. Ingress provides advanced HTTP routing. Single entry point, multiple services, SSL. 📝 Ingress Basics # Install NGINX Ingress Controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml # Ingress Resource apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: my-ingress spec: rules: – host: app.example.com http: paths: – path: / pathType: Prefix […]

Read More
Kubernetes

Kubernetes: Use Ingress for HTTP Load Balancing and SSL

- 13.06.26 - ErcanOPAK comment on Kubernetes: Use Ingress for HTTP Load Balancing and SSL

🌐 One IP, Multiple Services, SSL Termination NodePort exposes high ports. LoadBalancer costs money. Ingress exposes HTTP/HTTPS routes, SSL termination, name-based virtual hosting. 📝 Basic Ingress apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: myapp-ingress spec: rules: – host: myapp.example.com http: paths: – path: / pathType: Prefix backend: service: name: myapp-service port: number: 80 – path: /api […]

Read More
Kubernetes

Kubernetes Ingress: Expose Multiple Services Through One Load Balancer

- 05.02.26 - ErcanOPAK comment on Kubernetes Ingress: Expose Multiple Services Through One Load Balancer

Paying for multiple cloud load balancers? Ingress routes traffic to different services based on hostname or path. # ingress.yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: main-ingress annotations: # NGINX Ingress Controller nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/ssl-redirect: “true” nginx.ingress.kubernetes.io/proxy-body-size: “10m” # Cert-Manager for SSL cert-manager.io/cluster-issuer: “letsencrypt-prod” spec: tls: – hosts: – api.example.com – app.example.com – admin.example.com secretName: tls-secret […]

Read More
November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,055)
  • Get the User Name and Domain Name from an Email Address in SQL (981)
  • How to add default value for Entity Framework migrations for DateTime and Bool (977)
  • Get the First and Last Word from a String or Sentence in SQL (858)
  • How to select distinct rows in a datatable in C# (854)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (653)
  • Add Constraint to SQL Table to ensure email contains @ (609)
  • Average of all values in a column that are not zero in SQL (570)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (547)
  • Find numbers with more than two decimal places in SQL (475)

Recent Posts

  • C#: Fix a ConditionalWeakTable Entry Vanishing Too Soon
  • Docker: Fix a Stale COPY Layer After Editing .dockerignore
  • Photoshop: Fix a Pattern Overlay Scaling Wrong on a High-DPI File
  • SQL Server: Fix a Computed Column Index Skipped by Implicit Cast
  • HTML5: Fix a required Input Inside a Hidden Tab Blocking Submit
  • SQL Server: Fix ROW_NUMBER Ties Reordering Between Identical Runs
  • C#: Fix an Enum HasFlag Returning True for the Zero Value
  • WordPress: Fix Featured Images Vanishing After a CDN Migration
  • Photoshop: Fix Content-Aware Fill Smearing a Repeating Pattern
  • Asp.Net Core: Fix Antiforgery Tokens Rejected Behind a Reverse Proxy

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,055)
  • Get the User Name and Domain Name from an Email Address in SQL (981)
  • How to add default value for Entity Framework migrations for DateTime and Bool (977)
  • Get the First and Last Word from a String or Sentence in SQL (858)
  • How to select distinct rows in a datatable in C# (854)

Recent Posts

  • C#: Fix a ConditionalWeakTable Entry Vanishing Too Soon
  • Docker: Fix a Stale COPY Layer After Editing .dockerignore
  • Photoshop: Fix a Pattern Overlay Scaling Wrong on a High-DPI File
  • SQL Server: Fix a Computed Column Index Skipped by Implicit Cast
  • HTML5: Fix a required Input Inside a Hidden Tab Blocking Submit

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com