Welcome to my page!
DevOps engineer from New Delhi 🇮🇳
credly.com/dguyhasnoname
CKAD-TheHardWay | Site | ||||
k8s-day2-ops | Site | ||||
k8s-cluster-checker | Site | ||||
kube-wrench | Site |
A utility tool to analyse kubernetes configuration.
License: Apache License 2.0
Welcome to my page!
DevOps engineer from New Delhi 🇮🇳
credly.com/dguyhasnoname
CKAD-TheHardWay | Site | ||||
k8s-day2-ops | Site | ||||
k8s-cluster-checker | Site | ||||
kube-wrench | Site |
Environmental Information:
1、K8S_VERSION:v1.18.3
2、DOCKER_VERSION:19.3.12
3、Python3 version:Python 3.7.2
4、OS system: CentOS Linux release 7.6.1810 (Core)
Whether I use docker or Python3,I get the following error:
#################################
Cluster name: kubernetes
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
[INFO] Fetching nodes data...
Node details:
TOTAL_NODES K8S_VERSION TOTAL_CPU TOTAL_MEM_GB OS_NAME DOCKER_VERSION VOLUMES_IN_USE
total: 5
[INFO] Checking for latest and installed versions...
Traceback (most recent call last):
File "objects/cluster.py", line 158, in
main()
File "objects/cluster.py", line 153, in main
call_all(options[1], options[3])
File "objects/cluster.py", line 136, in call_all
Cluster.get_node_data(v, l)
File "objects/cluster.py", line 35, in get_node_data
node._Nodes.get_nodes_details(v, l)
File "/root/k8s-cluster-checker/objects/nodes.py", line 100, in get_nodes_details
docker_version, item.status.node_info.kubelet_version, l)
File "/root/k8s-cluster-checker/objects/modules/process.py", line 854, in node_version_check
Nodes.get_latest_os_version(current_os_version)
File "/root/k8s-cluster-checker/objects/modules/process.py", line 836, in get_latest_os_version
return version_check.append(['OS', latest_os_version, current_os_version, status])
UnboundLocalError: local variable 'status' referenced before assignment
#################################
Can you help to see what the cause is?
TKS very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.