PS C:\Users\山河已无恙> choco install octant --confirm --force Chocolatey v1.1.0 Installing the following packages: octant By installing, you accept licenses for the packages. octant v0.25.1 already installed. Forcing reinstall of version '0.25.1'. Please use upgrade if you meant to upgrade to a new version.
octant v0.25.1 (forced) [Approved] octant package files install completed. Performing other installation steps. Using system proxy server '127.0.0.1:49739'. Downloading octant 64 bit from 'https://github.com/vmware-tanzu/octant/releases/download/v0.25.1/octant_0.25.1_Windows-64bit.zip' Using system proxy server '127.0.0.1:49739'. Progress: 100% - Completed download of C:\Users\山河已无恙\AppData\Local\Temp\chocolatey\octant\0.25.1\octant_0.25.1_Windows-64bit.zip (54.37 MB). Download of octant_0.25.1_Windows-64bit.zip (54.37 MB) completed. Hashes match. Extracting C:\Users\山河已无恙\AppData\Local\Temp\chocolatey\octant\0.25.1\octant_0.25.1_Windows-64bit.zip to C:\ProgramData\chocolatey\lib\octant\tools... C:\ProgramData\chocolatey\lib\octant\tools ShimGen has successfully created a shim for octant.exe The install of octant was successful. Software installed to 'C:\ProgramData\chocolatey\lib\octant\tools'
Chocolatey installed 1/1 packages. See the logfor details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Enjoy using Chocolatey? Explore more amazing features to take your experience to the next level at https://chocolatey.org/compare PS C:\Users\山河已无恙>
启动运行
1 2 3 4 5 6
PS C:\ProgramData\chocolatey\lib\octant\tools\octant_0.25.1_Windows-64bit> .\octant.exe 2023-01-14T06:12:55.534-0500 INFO dash/dash.go:637 cannot find kube config: C:\Users\山河 已无恙\.kube\config 2023-01-14T06:12:55.534-0500 INFO dash/dash.go:134 no valid kube config found, initializing loading API 2023-01-14T06:12:55.536-0500 INFO dash/dash.go:154 waiting for kube config ... 2023-01-14T06:12:55.577-0500 INFO dash/dash.go:546 Dashboard is available at http://127.0.0.1:7777
┌──[root@vms81.liruilongs.github.io]-[~/ansible/octant] └─$octant_0.25.1_Linux-64bit/octant --help octant is a dashboard for high bandwidth cluster analysis operations
Usage: octant [flags] octant [command]
Available Commands: completion generate the autocompletion script for the specified shell help Help about any command version Show version
Flags: --context string initial context --disable-cluster-overview disable cluster overview --enable-feature-applications enable applications feature --kubeconfig string absolute path to kubeConfig file -n, --namespace string initial namespace --namespace-list strings a list of namespaces to use on start --plugin-path string plugin path -v, --verbose turn on debug logging --client-max-recv-msg-size int client max receiver message size (default 16777216) --accepted-hosts string accepted hosts list [DEV] --client-qps float32 maximum QPS for client [DEV] (default 200) --client-burst int maximum burst for client throttle [DEV] (default 400) --disable-open-browser disable automatic launching of the browser [DEV] --disable-origin-check disable cross origin resource check -c, --enable-opencensus enable open census [DEV] --klog-verbosity int klog verbosity level [DEV] --listener-addr string listener address for the octant frontend [DEV] --local-content string local content path [DEV] --proxy-frontend string url to send frontend request to [DEV] --ui-url string dashboard url [DEV] --browser-path string the browser path to open the browser on --memstats string log memory usage to this file --meminterval string interval to poll memory usage (requires --memstats), valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default "100ms") -h, --helphelpfor octant
Use "octant [command] --help"for more information about a command.
┌──[root@vms81.liruilongs.github.io]-[~/ansible/octant/octant_0.25.1_Linux-64bit] └─$./octant --kubeconfig ~/.kube/config --disable-open-browser --disable-origin-check --listener-addr 0.0.0.0:7777 2023-01-14T20:05:20.673+0800 INFO dash/watcher.go:117 watching config file {"component": "config-watcher", "config": "/root/.kube/config"} ............. 2023-01-14T20:05:20.677+0800 INFO module/manager.go:87 registering action {"component": "module-manager", "actionPath": "action.octant.dev/deleteObject", "module-name": "configuration"} 2023-01-14T20:05:20.677+0800 WARN plugin/manager.go:405 Unable to add /root/.config/octant/plugins to the plugin watcher. Error: no such file or directory
github.com/vmware-tanzu/octant/pkg/plugin.(*Manager).watchPluginFiles /__w/octant/octant/pkg/plugin/manager.go:405 2023-01-14T20:05:20.691+0800 INFO dash/dash.go:546 Dashboard is available at http://[::]:7777