Bare Metal Kubernetes Cluster
Installed Nginx Ingress Controller
A Kubernetes cluster running on bare metal has the Nginx Ingress Controller installed and maintained by the Nginx team. This controller provides an interface for managing and configuring ingress resources for the cluster. It uses manifests and can be configured using the "ingressClassName" annotation.
Using the Nginx Ingress Controller
To use the Nginx Ingress Controller, you can deploy an application and specify the ingress class name in the deployment manifest. For example:
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
labels:
app: my-app
spec:
replicas: 3
selector:
matchLabels:
app: my-app
template:
metadata:
annotations:
kubernetes.io/ingress.class: nginx
spec:
containers:
- name: my-app
image: my-app:latest
- Kubernetes cluster on bare metal
- Nginx Ingress Controller installed and maintained by Nginx team
- Configure ingress resources using manifests and "ingressClassName" annotation
- Example deployment manifest with Nginx Ingress Controller
References
- Books:
- Kubernetes: Up and Running by Brendan Burns, Joe Beda, and Kelsey Hightower
- Articles:
- Ingress - Kubernetes documentation
- Deploying a Production-Grade Ingress Controller on Kubernetes - Nginx Ingress Controller documentation
- Online Resources: