Skip to content

Commit

Permalink
feat: ✨ Ingress: Nginx ingress
Browse files Browse the repository at this point in the history
The NGINX Ingress Controller is a popular implementation of the Kubernetes Ingress concept, which provides external access to cluster services by routing incoming HTTP/HTTPS traffic to the appropriate backend services. By leveraging the power of the NGINX reverse proxy and load balancer, the Ingress Controller efficiently manages traffic and allows for custom routing rules and annotations. This enables developers to effectively expose and secure their applications within a Kubernetes cluster, while adhering to best practices for scalability and high availability
  • Loading branch information
kevencript committed Mar 21, 2023
1 parent 96097d4 commit 5b3888d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions k8s/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: myingress
annotations:
kubernetes.io/ingress.class: "nginx"
labels:
name: myingress
spec:
rules:
- host: kind-cluster.example
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: go-http-app-service
port:
number: 80


0 comments on commit 5b3888d

Please sign in to comment.