DEV Community

Mesrar
Mesrar

Posted on

Ingress: Effortless External Access to Your Services

Checking Ingress Details
To inspect details about Ingress resources, use the following commands:

kubectl get ingress
kubectl describe ingress <ingress-name>
Enter fullscreen mode Exit fullscreen mode

Modifying Ingress Configuration
Edit the configuration of an existing Ingress resource:


kubectl edit ingress <ingress-name>
Enter fullscreen mode Exit fullscreen mode

Applying Ingress Configuration
Apply the configuration defined in an Ingress YAML file:


kubectl apply -f <ingress.yaml>
Enter fullscreen mode Exit fullscreen mode

Setting Up Ingress

Setting up Ingress involves the following components, all residing in the same namespace:

Ingress Controller (Deployment)
: Responsible for fulfilling Ingress rules.

Node Port Ingress Service:
Enables access to the Ingress controller from outside the cluster.

Config Map:
Configures various parameters for the Ingress controller.

Ingress Controller Initialization
Unlike other controllers, Ingress controllers do not start automatically. They require manual deployment. Kubernetes supports various Ingress controllers for different cloud providers, such as AWS, GCE, and nginx.

Ingress Resource Rules
The Ingress resource, defined with the type 'ingress', resides in a different namespace from the application (deployment) and the service (for accessing the deployment). The Ingress resource specifies the rules, and the Ingress controller ensures their fulfillment.

Enhance your Kubernetes cluster with Ingress, providing a seamless way to access your services from the external world.

Happy Kuberneting!

Image of Datadog

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more