We have installed the IFS application with three MicroK8s VMS with a load balancer.
The application is working correctly with the following configuration in the main_config.json  file:
"LinuxUserName": Â "ifs",
        "Linuxhost": "10.20.20.6", #privateIP of loadbalancer
        "Nodes": Â
        "microk8s-01.internal.cloudapp.net",
        "microk8s-02.internal.cloudapp.net",
        "microk8s-03.internal.cloudapp.net"
        ],
However, when trying to install the monitoring component, we encounter the following error:
secret/elastic-auth created
Error from server (NotFound): namespaces "-o" not found
Error from server (NotFound): namespaces "-o" not found
You cannot call a method on a null-valued expression.
At C:\IFS\qua\ifsroot\utils\local.psm1:1111 char:5
+ Â Â $yamlObject.metadata.Remove("namespace")
+ Â Â ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo      : InvalidOperation: (:) <], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\IFS\qua\ifsroot\utils\local.psm1:1112 char:5
+ Â Â $yamlObject.metadata.Remove("resourceVersion")
+ Â Â ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo      : InvalidOperation: (:) ~], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\IFS\qua\ifsroot\utils\local.psm1:1113 char:5
+ Â Â $yamlObject.metadata.Remove("uid")
+ Â Â ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo      : InvalidOperation: (:) ~], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\IFS\qua\ifsroot\utils\local.psm1:1114 char:5
+ Â Â $yamlObject.metadata.Remove("annotations")
+ Â Â ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo      : InvalidOperation: (:) ~], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\IFS\qua\ifsroot\utils\local.psm1:1115 char:5
+ Â Â $yamlObject.metadata.Remove("creationTimestamp")
+ Â Â ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo      : InvalidOperation: (:) ], RuntimeException
  + FullyQualifiedErrorId : InvokeMethodOnNull
error: no objects passed to apply
Release "elasticsearch" does not exist. Installing it now.
Error: 1 error occurred:
    * Ingress.extensions "elasticsearch-master" is invalid: spec.rulesg0].host: Invalid value: "10.234.245.6": must be a DNS name, not an IP
Release "kibana" does not exist. Installing it now.
Error: 1 error occurred:
* Ingress.extensions "kibana" is invalid: spec.rulest0].host: Invalid value: "10.234.245.6": must be a DNS name, not an IP address
Release "ifs-monitoring-curator" does not exist. Installing it now.
Â
REVISION: 1
Release "kube-prometheus-stack" does not exist. Installing it now.
Error: 1 error occurred:
* Ingress.extensions "kube-prometheus-stack-grafana" is invalid: spec.rules 0].host: Invalid value: "10.234.245.6": must be a DNS name, not an IP address
The variable to set URL is :
 $FQDN_FOR_MONITORING_INGRESS=$envParams.Ifs.Linuxhost
Â
How can I fix the LinuxHost issue and install these components on each VM?
Â
Regards,