Skip to content

Commit 51ad4a3

Browse files
committed
[vi] Replace deprecated fullversion shortcode
1 parent ac84414 commit 51ad4a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/vi/docs/tasks/tools/install-kubectl.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Bạn cần phải sử dụng phiên bản kubectl sai lệch không quá một
3333
3434
Để tải về phiên bản cụ thể, hãy thay thế phần `$(curl -LS https://dl.k8s.io/release/stable.txt)` trong câu lệnh với một phiên bản cụ thể.
3535
36-
Ví dụ như, để tải về phiên bản {{< param "fullversion" >}} trên Linux, hãy nhập như sau:
36+
Ví dụ như, để tải về phiên bản {{< skew currentPatchVersion >}} trên Linux, hãy nhập như sau:
3737
3838
```
39-
curl -LO https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/linux/amd64/kubectl
39+
curl -LO https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/linux/amd64/kubectl
4040
```
4141
4242
2. Tạo kubectl binary thực thi.
@@ -108,10 +108,10 @@ Nếu bạn đang sử dụng Ubuntu hoặc distro Linux khác hỗ trợ trình
108108
109109
Để tải về phiên bản cụ thể, hãy thay thế phần `$(curl -LS https://dl.k8s.io/release/stable.txt)` trong câu lệnh với phiên bản cụ thể.
110110
111-
Ví dụ, để tải về phiên bản {{< param "fullversion" >}} trên macOS, gõ:
111+
Ví dụ, để tải về phiên bản {{< skew currentPatchVersion >}} trên macOS, gõ:
112112
113113
```
114-
curl -LO https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/darwin/amd64/kubectl
114+
curl -LO https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/darwin/amd64/kubectl
115115
```
116116
117117
2. Tạo kubectl binary thực thi.
@@ -173,12 +173,12 @@ Nếu bạn đang trên macOS và sử dụng trình quản lý gói [Macports](
173173
174174
### Cài đặt kubectl binary với curl trên Windows
175175
176-
1. Tải về phiên bản mới nhất {{< param "fullversion" >}} từ [đường dẫn này](https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe).
176+
1. Tải về phiên bản mới nhất {{< skew currentPatchVersion >}} từ [đường dẫn này](https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/windows/amd64/kubectl.exe).
177177
178178
Hoặc nếu bạn đã cài đặt `curl`, hãy sử dụng câu lệnh sau:
179179
180180
```
181-
curl -LO https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe
181+
curl -LO https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/windows/amd64/kubectl.exe
182182
```
183183
184184
Để tìm ra phiên bản ổn định mới nhất, hãy xem [https://dl.k8s.io/release/stable.txt](https://dl.k8s.io/release/stable.txt).

0 commit comments

Comments
 (0)