add health checks
This commit is contained in:
		@@ -100,8 +100,7 @@ hull:
 | 
				
			|||||||
        data:
 | 
					        data:
 | 
				
			||||||
          config.yaml:
 | 
					          config.yaml:
 | 
				
			||||||
            serialization: toYaml
 | 
					            serialization: toYaml
 | 
				
			||||||
            inline:
 | 
					            inline: _HT*hull.config.appConfig
 | 
				
			||||||
              _HT*hull.config.appConfig
 | 
					 | 
				
			||||||
      environment:
 | 
					      environment:
 | 
				
			||||||
        data:
 | 
					        data:
 | 
				
			||||||
          OTEL_EXPORTER_OTLP_ENDPOINT:
 | 
					          OTEL_EXPORTER_OTLP_ENDPOINT:
 | 
				
			||||||
@@ -145,6 +144,21 @@ hull:
 | 
				
			|||||||
                main:
 | 
					                main:
 | 
				
			||||||
                  configMapRef:
 | 
					                  configMapRef:
 | 
				
			||||||
                    name: environment
 | 
					                    name: environment
 | 
				
			||||||
 | 
					              resources: _HT*hull.config.settings.resources
 | 
				
			||||||
 | 
					              readinessProbe:
 | 
				
			||||||
 | 
					                httpGet:
 | 
				
			||||||
 | 
					                  path: /health
 | 
				
			||||||
 | 
					                  port: 8080
 | 
				
			||||||
 | 
					                  scheme: HTTP
 | 
				
			||||||
 | 
					                periodSeconds: 10
 | 
				
			||||||
 | 
					                failureThreshold: 2
 | 
				
			||||||
 | 
					              livenessProbe:
 | 
				
			||||||
 | 
					                httpGet:
 | 
				
			||||||
 | 
					                  path: /health
 | 
				
			||||||
 | 
					                  port: 8080
 | 
				
			||||||
 | 
					                  scheme: HTTP
 | 
				
			||||||
 | 
					                periodSeconds: 10
 | 
				
			||||||
 | 
					                failureThreshold: 2
 | 
				
			||||||
              volumeMounts:
 | 
					              volumeMounts:
 | 
				
			||||||
                config:
 | 
					                config:
 | 
				
			||||||
                  name: config
 | 
					                  name: config
 | 
				
			||||||
@@ -175,29 +189,29 @@ hull:
 | 
				
			|||||||
        enabled: _HT*hull.config.settings.httproute.enabled
 | 
					        enabled: _HT*hull.config.settings.httproute.enabled
 | 
				
			||||||
        hostnames: _HT*hull.config.settings.httproute.hostnames
 | 
					        hostnames: _HT*hull.config.settings.httproute.hostnames
 | 
				
			||||||
        parentRefs:
 | 
					        parentRefs:
 | 
				
			||||||
        - group: gateway.networking.k8s.io
 | 
					          - group: gateway.networking.k8s.io
 | 
				
			||||||
          kind: Gateway
 | 
					            kind: Gateway
 | 
				
			||||||
          name: _HT*hull.config.settings.httproute.gatewayName
 | 
					            name: _HT*hull.config.settings.httproute.gatewayName
 | 
				
			||||||
          namespace: _HT*hull.config.settings.httproute.gatewayNamespace
 | 
					            namespace: _HT*hull.config.settings.httproute.gatewayNamespace
 | 
				
			||||||
        rules:
 | 
					        rules:
 | 
				
			||||||
        - backendRefs:
 | 
					          - backendRefs:
 | 
				
			||||||
          - group: ""
 | 
					              - group: ""
 | 
				
			||||||
            kind: Service
 | 
					                kind: Service
 | 
				
			||||||
            name: _HT^main
 | 
					                name: _HT^main
 | 
				
			||||||
            port: _HT*hull.config.settings.httpPort
 | 
					                port: _HT*hull.config.settings.httpPort
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    grpcroute:
 | 
					    grpcroute:
 | 
				
			||||||
      main:
 | 
					      main:
 | 
				
			||||||
        enabled: _HT*hull.config.settings.grpcroute.enabled
 | 
					        enabled: _HT*hull.config.settings.grpcroute.enabled
 | 
				
			||||||
        hostnames: _HT*hull.config.settings.grpcroute.hostnames
 | 
					        hostnames: _HT*hull.config.settings.grpcroute.hostnames
 | 
				
			||||||
        parentRefs:
 | 
					        parentRefs:
 | 
				
			||||||
        - group: gateway.networking.k8s.io
 | 
					          - group: gateway.networking.k8s.io
 | 
				
			||||||
          kind: Gateway
 | 
					            kind: Gateway
 | 
				
			||||||
          name: _HT*hull.config.settings.grpcroute.gatewayName
 | 
					            name: _HT*hull.config.settings.grpcroute.gatewayName
 | 
				
			||||||
          namespace: _HT*hull.config.settings.grpcroute.gatewayNamespace
 | 
					            namespace: _HT*hull.config.settings.grpcroute.gatewayNamespace
 | 
				
			||||||
        rules:
 | 
					        rules:
 | 
				
			||||||
        - backendRefs:
 | 
					          - backendRefs:
 | 
				
			||||||
          - group: ""
 | 
					              - group: ""
 | 
				
			||||||
            kind: Service
 | 
					                kind: Service
 | 
				
			||||||
            name: _HT^main
 | 
					                name: _HT^main
 | 
				
			||||||
            port: _HT*hull.config.settings.grpcPort
 | 
					                port: _HT*hull.config.settings.grpcPort
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user