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.rules[0].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.rules[0].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,