Merge pull request #8 from Aignosi/SIENTIAPDE-988-criar-ingestor-opc

Sientiapde 988 criar ingestor opc
This commit is contained in:
Bruno Domingues
2025-06-10 11:14:31 -03:00
committed by GitHub
3 changed files with 2 additions and 3 deletions

View File

@@ -339,7 +339,6 @@ class IngestorManager():
Returns: Returns:
None None
""" """
for lease_id in ids: for lease_id in ids:
self.resource_manager.drop_tag_lease(lease_id) self.resource_manager.drop_tag_lease(lease_id)
metrics.SLOTS_RELEASED.labels(pod_id=self.pod_id).inc() metrics.SLOTS_RELEASED.labels(pod_id=self.pod_id).inc()

View File

@@ -155,7 +155,7 @@ class OpcManager():
for node, config in self.nodes.items(): for node, config in self.nodes.items():
self.nodes[node]['cycle_rule'] = { self.nodes[node]['cycle_rule'] = {
'cycle_increment': collect_period*1000/config['frequency'], 'cycle_increment': collect_period*1000/float(config['frequency']),
'cycle_count': 0 'cycle_count': 0
} }

View File

@@ -11,7 +11,7 @@ image:
# This sets the pull policy for images. # This sets the pull policy for images.
pullPolicy: Always pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "0.0.8" tag: "0.1.0"
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ # This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: imagePullSecrets: