- Добавлен вызов manage_hosts.py после: - make k8s manifest apply - make k8s addon - make k8s helm apply - make k8s helm update - Создан тестовый манифест grafana-ingress - Автоматическое обновление /etc/hosts при любых изменениях Ingress
		
			
				
	
	
		
			20 lines
		
	
	
		
			389 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			389 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: networking.k8s.io/v1
 | |
| kind: Ingress
 | |
| metadata:
 | |
|   name: grafana-ingress
 | |
|   namespace: monitoring
 | |
|   annotations:
 | |
|     nginx.ingress.kubernetes.io/rewrite-target: /
 | |
| spec:
 | |
|   rules:
 | |
|   - host: grafana.local
 | |
|     http:
 | |
|       paths:
 | |
|       - path: /
 | |
|         pathType: Prefix
 | |
|         backend:
 | |
|           service:
 | |
|             name: monitoring-grafana
 | |
|             port:
 | |
|               number: 80
 |