You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are facing issue when deploying the nsxv3-exporter.yaml and below are the errors :
kubectl logs nsxv3-exporter-7c79b454b-cnx5g -n monitoring
Traceback (most recent call last):
File "/app/collector.py", line 46, in
print(f"HTTP server started correctly on port {port}")
^^^^
NameError: name 'port' is not defined
Below are the steps we followed to breakdown docker-composer.yaml to kubernetes.
we downloaded kompose and used it to convert the your docker-compose file to Kubernetes and we got the three files
1.nsxt-default-networkpolicy.yaml
2. nsxv3-exporter-deployment.yaml
3. nsxv3-exporter-service.yaml
we are able to deploy the network and service but when deploying the deployment, we got that error.
Kindly assist.
The text was updated successfully, but these errors were encountered:
I don't have a lot of knowledges in K8S, I usually use docker. But it seems that the container can't access its config file.
*I think that you will just have to mount a volume with the config file
*Check that you have a valid config file
*Check that the config file is accessible from the container
*You can open a shell into the container and check if you see the config file in /app/config/
we are facing issue when deploying the nsxv3-exporter.yaml and below are the errors :
kubectl logs nsxv3-exporter-7c79b454b-cnx5g -n monitoring
Traceback (most recent call last):
File "/app/collector.py", line 46, in
print(f"HTTP server started correctly on port {port}")
^^^^
NameError: name 'port' is not defined
Below are the steps we followed to breakdown docker-composer.yaml to kubernetes.
we downloaded kompose and used it to convert the your docker-compose file to Kubernetes and we got the three files
1.nsxt-default-networkpolicy.yaml
2. nsxv3-exporter-deployment.yaml
3. nsxv3-exporter-service.yaml
we are able to deploy the network and service but when deploying the deployment, we got that error.
Kindly assist.
The text was updated successfully, but these errors were encountered: