Skip to content

Commit

Permalink
(#62) Pre_Install_Check: Add additional messages to report when All o…
Browse files Browse the repository at this point in the history
…r Some Node(s) are not in READY state
  • Loading branch information
lasiva committed Jan 28, 2021
1 parent f8c5b59 commit c0d15b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pre_install_report/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $ export INGRESS_HOST=externalIP=$(kubectl -n <ingress-namespace> get service <n
$ export INGRESS_HTTP_PORT=$(kubectl -n <ingress-namespace> get service <nginx-ingress-controller-name> -o jsonpath='{.spec.ports[?(@.name=="http")].port}')
$ export INGRESS_HTTPS_PORT=$(kubectl -n <ingress-namespace> get service <nginx-ingress-controller-name> -o jsonpath='{.spec.ports[?(@.name=="https")].port}')
```
The command to determine the Ingress Host may be slightly different with Amazon EKS:
The command to determine the Ingress Host may be slightly different with Amazon Elastic Kubernetes Service(EKS):
```
$ export INGRESS_HOST=externalIP=$(kubectl -n <ingress-namespace> get service <nginx-ingress-controller-name> -o jsonpath='{.status.loadBalancer.ingress[*].hostname}')
```
Expand Down
2 changes: 1 addition & 1 deletion pre_install_report/library/pre_install_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def evaluate_nodes(self, nodes_data, global_data, cluster_info, quantity_):
alloc_memory = str(node['allocatableMemory'])
total_memory = total_memory + quantity_(str(node['memory']))
total_allocatable_memory = total_allocatable_memory + quantity_(alloc_memory)
# nodestatus = False

try:
nodeReady = str(node['Ready'])
if nodeReady == "True":
Expand Down

0 comments on commit c0d15b2

Please sign in to comment.