mirror of
				https://github.com/optim-enterprises-bv/homelab.git
				synced 2025-10-31 09:57:59 +00:00 
			
		
		
		
	chore: enable Cilium Hubble
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| apiVersion: gateway.networking.k8s.io/v1 | apiVersion: gateway.networking.k8s.io/v1 | ||||||
| kind: HTTPRoute | kind: HTTPRoute | ||||||
| metadata: | metadata: | ||||||
|   name: http-route-euclid |   name: argocd | ||||||
|   namespace: argocd |   namespace: argocd | ||||||
| spec: | spec: | ||||||
|   parentRefs: |   parentRefs: | ||||||
|   | |||||||
							
								
								
									
										34
									
								
								remodel/k8s/infra/monitoring/application-set.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								remodel/k8s/infra/monitoring/application-set.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | |||||||
|  | apiVersion: argoproj.io/v1alpha1 | ||||||
|  | kind: ApplicationSet | ||||||
|  | metadata: | ||||||
|  |   name: monitoring | ||||||
|  |   namespace: argocd | ||||||
|  |   labels: | ||||||
|  |     dev.stonegarden: monitoring | ||||||
|  | spec: | ||||||
|  |   generators: | ||||||
|  |     - git: | ||||||
|  |         repoURL: https://github.com/vehagn/homelab | ||||||
|  |         revision: remodel | ||||||
|  |         directories: | ||||||
|  |           - path: remodel/k8s/infra/monitoring/* | ||||||
|  |   template: | ||||||
|  |     metadata: | ||||||
|  |       name: '{{ path.basename }}' | ||||||
|  |       labels: | ||||||
|  |         dev.stonegarden: controllers | ||||||
|  |     spec: | ||||||
|  |       project: monitoring | ||||||
|  |       source: | ||||||
|  |         plugin: | ||||||
|  |           name: kustomize-build-with-helm | ||||||
|  |         repoURL: https://github.com/vehagn/homelab | ||||||
|  |         targetRevision: remodel | ||||||
|  |         path: '{{ path }}' | ||||||
|  |       destination: | ||||||
|  |         name: in-cluster | ||||||
|  |         namespace: argocd | ||||||
|  |       syncPolicy: | ||||||
|  |         automated: | ||||||
|  |           selfHeal: true | ||||||
|  |           prune: true | ||||||
							
								
								
									
										19
									
								
								remodel/k8s/infra/monitoring/hubble/http-route.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								remodel/k8s/infra/monitoring/hubble/http-route.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | apiVersion: gateway.networking.k8s.io/v1 | ||||||
|  | kind: HTTPRoute | ||||||
|  | metadata: | ||||||
|  |   name: hubble | ||||||
|  |   namespace: kube-system | ||||||
|  | spec: | ||||||
|  |   parentRefs: | ||||||
|  |     - name: stonegarden | ||||||
|  |       namespace: gateway | ||||||
|  |   hostnames: | ||||||
|  |     - "hubble.stonegarden.dev" | ||||||
|  |   rules: | ||||||
|  |     - matches: | ||||||
|  |         - path: | ||||||
|  |             type: PathPrefix | ||||||
|  |             value: / | ||||||
|  |       backendRefs: | ||||||
|  |         - name: hubble-ui | ||||||
|  |           port: 80 | ||||||
							
								
								
									
										5
									
								
								remodel/k8s/infra/monitoring/hubble/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								remodel/k8s/infra/monitoring/hubble/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
|  | kind: Kustomization | ||||||
|  |  | ||||||
|  | resources: | ||||||
|  |   - http-route.yaml | ||||||
							
								
								
									
										9
									
								
								remodel/k8s/infra/monitoring/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								remodel/k8s/infra/monitoring/kustomization.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
|  | kind: Kustomization | ||||||
|  | commonLabels: | ||||||
|  |   dev.stonegarden: monitoring | ||||||
|  |   app.kubernetes.io/managed-by: argocd | ||||||
|  |  | ||||||
|  | resources: | ||||||
|  |   - project.yaml | ||||||
|  |   - application-set.yaml | ||||||
							
								
								
									
										16
									
								
								remodel/k8s/infra/monitoring/project.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								remodel/k8s/infra/monitoring/project.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | |||||||
|  | apiVersion: argoproj.io/v1alpha1 | ||||||
|  | kind: AppProject | ||||||
|  | metadata: | ||||||
|  |   name: monitoring | ||||||
|  |   namespace: argocd | ||||||
|  | spec: | ||||||
|  |   sourceRepos: | ||||||
|  |     - 'https://github.com/vehagn/homelab' | ||||||
|  |   destinations: | ||||||
|  |     - namespace: 'argocd' | ||||||
|  |       server: '*' | ||||||
|  |     - namespace: 'kube-system' | ||||||
|  |       server: '*' | ||||||
|  |   clusterResourceWhitelist: | ||||||
|  |     - group: '*' | ||||||
|  |       kind: '*' | ||||||
| @@ -61,12 +61,12 @@ gatewayAPI: | |||||||
|   enabled: true |   enabled: true | ||||||
|  |  | ||||||
| hubble: | hubble: | ||||||
|   enabled: false |   enabled: true | ||||||
|   relay: |   relay: | ||||||
|     enabled: false |     enabled: true | ||||||
|     rollOutPods: true |     rollOutPods: true | ||||||
|   ui: |   ui: | ||||||
|     enabled: false |     enabled: true | ||||||
|     rollOutPods: true |     rollOutPods: true | ||||||
|  |  | ||||||
| ingressController: | ingressController: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Vegard Hagen
					Vegard Hagen