Merge pull request #8 from Aignosi/SIENTIAPDE-988-criar-ingestor-opc
Sientiapde 988 criar ingestor opc
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user