Category: Life
-
K8s metrics server
To get the metrics of nodes $ kubectl top nodes error: Metrics API not available We should install metrics-server https://github.com/kubernetes-sigs/metrics-server https://github.com/kubernetes-sigs/metrics-server/issues/1025 E0502 00:40:51.819552 1 scraper.go:140] “Failed to scrape node” err=”Get \”https://192.168.49.2:10250/metrics/resource\”: x509: cannot validate certificate for 192.168.49.2 because it doesn’t contain any IP SANs” node=”minikube” 192.168.49.2 is the node ip
-
Fix chrome Managed by your organization
Problem statement: It shows my chrome in my personal computer, I need to find out how to fix it. open chrome://management, I got `Your administrator can change your browser setup remotely. Activity on this device may also be managed outside of Chrome. Learn more` operations: 1. clean up LaunchAgents command + shift + G /Library/LaunchAgents…
-
HTTP OPTIONS
HTTP 的 OPTIONS 方法 用于获取目的资源所支持的通信选项。客户端可以对特定的 URL 使用 OPTIONS 方法,也可以对整站(通过将 URL 设置为“*”)使用该方法。 https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/OPTIONS https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
-
tests-always-included mo
mo templating library for bash curl -sSL https://git.io/get-mo https://github.com/tests-always-included/mo