32 lines
		
	
	
		
			619 B
		
	
	
	
		
			Markdown
		
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			619 B
		
	
	
	
		
			Markdown
		
	
	
| ---
 | |
| title: ingress
 | |
| description: 
 | |
| published: true
 | |
| date: 2023-11-07T18:15:59.927Z
 | |
| tags: 
 | |
| editor: markdown
 | |
| dateCreated: 2023-11-07T18:06:01.729Z
 | |
| ---
 | |
| 
 | |
| ```yaml
 | |
| ---
 | |
| kind: Ingress
 | |
| apiVersion: networking.k8s.io/v1
 | |
| metadata:
 | |
|   name: application
 | |
|   annotations:
 | |
|     kubernetes.io/ingress.class: "system-ingress"
 | |
|     certmanager.k8s.io/cluster-issuer: monitoring-issuer
 | |
| spec:
 | |
|   rules:
 | |
|     - host: "application.kryukov.local"
 | |
|       http:
 | |
|         paths:
 | |
|           - pathType: Prefix
 | |
|             path: /
 | |
|             backend:
 | |
|               service:
 | |
|                 name: openresty
 | |
|                 port:
 | |
|                   number: 80
 | |
| ``` |