Skip to content

threefish/Rancher-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

English | 简体中文

rancher plugin

https://plugins.jetbrains.com/plugin/19316-rancher

Basic environment configuration

The first step is to download the rancher-cli file

rancher-cli distribution download address

The second step is to download the kubectl file

installation tool | Kubernetes

The third step configures environment variables

Configure rancher and kubectl to the environment variable Path

For example, under the window
  • rancher file path: C:\userbin\rancher.exe
  • kubectl file path: C:\userbin\kubectl.exe
  • The environment variables are set as follows

Path=C:\userbin\

For example, under the linux
For example,under the macos
mkdir -p /usr/local/bin
cd /usr/local/bin

# Add /usr/local/bin to the path ,you can see https://stackoverflow.com/questions/11025980/how-to-add-usr-local-bin-in-path-on-mac

# 删除旧文件,请自己备份.Delete old files and back them up yourself
rm -rf  rancher
rm -rf  kubectl


curl -LO https://github.com/rancher/cli/releases/download/v2.6.11/rancher-darwin-amd64-v2.6.11.tar.gz
tar zxvf rancher-darwin-amd64-v2.6.11.tar.gz
cp rancher-v2.6.11/rancher ./
rm -rf rancher-darwin-amd64-v2.6.11.tar.gz

##  for MACOS intel CPU
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"
## for Apple Silicon CPU
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl"

## 重启一下
reboot

Operation screenshot

image-20220623101953105

image-20220623101928285

Click the Detect button in the configuration before adding the account information

image-20220623101159975

image-20220623102727662

File upload and download

image-download image-upload image-upload_dirs

Releases

No releases published

Packages

No packages published