feat(manifests): update ingress-nginx configuration for NodePort service type and enable metrics, serviceMonitor, and prometheusRule
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
cea95ef680
commit
da5e00bc31
@ -493,7 +493,7 @@ controller:
|
|||||||
labels: {}
|
labels: {}
|
||||||
# -- Type of the external controller service.
|
# -- Type of the external controller service.
|
||||||
# Ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
|
# Ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
|
||||||
type: LoadBalancer
|
type: NodePort
|
||||||
# -- Pre-defined cluster internal IP address of the external controller service. Take care of collisions with existing services.
|
# -- Pre-defined cluster internal IP address of the external controller service. Take care of collisions with existing services.
|
||||||
# This value is immutable. Set once, it can not be changed without deleting and re-creating the service.
|
# This value is immutable. Set once, it can not be changed without deleting and re-creating the service.
|
||||||
# Ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
|
# Ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
|
||||||
@ -559,9 +559,9 @@ controller:
|
|||||||
appProtocol: true
|
appProtocol: true
|
||||||
nodePorts:
|
nodePorts:
|
||||||
# -- Node port allocated for the external HTTP listener. If left empty, the service controller allocates one from the configured node port range.
|
# -- Node port allocated for the external HTTP listener. If left empty, the service controller allocates one from the configured node port range.
|
||||||
http: ""
|
http: "38080"
|
||||||
# -- Node port allocated for the external HTTPS listener. If left empty, the service controller allocates one from the configured node port range.
|
# -- Node port allocated for the external HTTPS listener. If left empty, the service controller allocates one from the configured node port range.
|
||||||
https: ""
|
https: "38443"
|
||||||
# -- Node port mapping for external TCP listeners. If left empty, the service controller allocates them from the configured node port range.
|
# -- Node port mapping for external TCP listeners. If left empty, the service controller allocates them from the configured node port range.
|
||||||
# Example:
|
# Example:
|
||||||
# tcp:
|
# tcp:
|
||||||
@ -845,7 +845,7 @@ controller:
|
|||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
# Use certmanager to generate webhook certs
|
# Use certmanager to generate webhook certs
|
||||||
certManager:
|
certManager:
|
||||||
enabled: false
|
enabled: true
|
||||||
# self-signed root certificate
|
# self-signed root certificate
|
||||||
rootCert:
|
rootCert:
|
||||||
# default to be 5y
|
# default to be 5y
|
||||||
@ -860,7 +860,7 @@ controller:
|
|||||||
port: 10254
|
port: 10254
|
||||||
portName: metrics
|
portName: metrics
|
||||||
# if this port is changed, change healthz-port: in extraArgs: accordingly
|
# if this port is changed, change healthz-port: in extraArgs: accordingly
|
||||||
enabled: false
|
enabled: true
|
||||||
service:
|
service:
|
||||||
# -- Enable the metrics service or not.
|
# -- Enable the metrics service or not.
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -882,13 +882,13 @@ controller:
|
|||||||
# externalTrafficPolicy: ""
|
# externalTrafficPolicy: ""
|
||||||
# nodePort: ""
|
# nodePort: ""
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: true
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
# -- Annotations to be added to the ServiceMonitor.
|
# -- Annotations to be added to the ServiceMonitor.
|
||||||
annotations: {}
|
annotations: {}
|
||||||
## The label to use to retrieve the job name from.
|
## The label to use to retrieve the job name from.
|
||||||
## jobLabel: "app.kubernetes.io/name"
|
## jobLabel: "app.kubernetes.io/name"
|
||||||
namespace: ""
|
namespace: "freeleaps-monitoring-system"
|
||||||
namespaceSelector: {}
|
namespaceSelector: {}
|
||||||
## Default: scrape .Release.Namespace or namespaceOverride only
|
## Default: scrape .Release.Namespace or namespaceOverride only
|
||||||
## To scrape all, use the following:
|
## To scrape all, use the following:
|
||||||
@ -910,11 +910,11 @@ controller:
|
|||||||
# -- Defines a limit on the number of scraped targets that will be accepted.
|
# -- Defines a limit on the number of scraped targets that will be accepted.
|
||||||
targetLimit: 0
|
targetLimit: 0
|
||||||
prometheusRule:
|
prometheusRule:
|
||||||
enabled: false
|
enabled: true
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
# -- Annotations to be added to the PrometheusRule.
|
# -- Annotations to be added to the PrometheusRule.
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# namespace: ""
|
namespace: "freeleaps-monitoring-system"
|
||||||
rules: []
|
rules: []
|
||||||
# # These are just examples rules, please adapt them to your needs
|
# # These are just examples rules, please adapt them to your needs
|
||||||
# - alert: NGINXConfigFailed
|
# - alert: NGINXConfigFailed
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user