remove duplicate contents and redirect

This commit is contained in:
Syam Sundar K
2020-11-25 21:41:27 +05:30
parent e45d667b4d
commit 14eac6020f
55 changed files with 124 additions and 4134 deletions

View File

@@ -7,3 +7,8 @@ menu:
main:
weight: 10
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/zh/installation/" />
Moved to https://github.com/kubernetes-sigs/cli-experimental

View File

@@ -7,14 +7,6 @@ description: >
下载编译好的二进制文件来安装 Kustomize。
---
适用于 Linux、MacOS 和 Windows 的各版本的二进制可执行文件可以在 [releases 页面] 上手动下载。
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/zh/installation/binaries/" />
下面的[脚本]会检测你的操作系统,并下载相应的 kustomize 二进制文件到你当前的工作目录中。
```bash
curl -s "https://raw.githubusercontent.com/\
kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
```
[releases 页面]: https://github.com/kubernetes-sigs/kustomize/releases
[脚本]: https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh
Moved to https://github.com/kubernetes-sigs/cli-experimental

View File

@@ -7,11 +7,6 @@ description: >
Windows 系统可以使用 Chocolatey 安装 Kustomize。
---
```
choco install kustomize
```
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/zh/installation/chocolatey/" />
有关软件包管理器 chocolatey 的使用以及对之前版本的支持,请参考以下链接:
- [Choco Package](https://chocolatey.org/packages/kustomize)
- [Package Source](https://github.com/kenmaglio/choco-kustomize)
Moved to https://github.com/kubernetes-sigs/cli-experimental

View File

@@ -7,14 +7,6 @@ description: >
MacOS 系统可以使用 Homebrew 或 MacPorts 来安装 Kustomize。
---
[Homebrew](https://brew.sh) 用户可以:
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/zh/installation/homebrew/" />
```
brew install kustomize
```
[MacPorts](https://www.macports.org) 用户可以:
```
sudo port install kustomize
```
Moved to https://github.com/kubernetes-sigs/cli-experimental

View File

@@ -7,35 +7,6 @@ description: >
使用 Go 源码安装 Kustomize。
---
需要先安装 [Go]。
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/zh/installation/source/" />
## 无需克隆源码库直接构建 kustomize CLI
```bash
GOBIN=$(pwd)/ GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v3
```
## 在本地克隆源码库构建 kustomize CLI
```bash
# 需要 go 1.13 或更高版本
unset GOPATH
# 详见 https://golang.org/doc/go1.13#modules
unset GO111MODULES
# 拉取 repo
git clone git@github.com:kubernetes-sigs/kustomize.git
# 进入目录
cd kustomize
# 如果您不想从 HEAD 开始构建, 则可以选择切换特定的标签
git checkout kustomize/v3.2.3
# 开始构建
(cd kustomize; go install .)
# 运行
~/go/bin/kustomize version
```
[Go]: https://golang.org
Moved to https://github.com/kubernetes-sigs/cli-experimental