Merge pull request #51267 from TatsuyaHayashino/update_tool_install_ja

[ja] Update content/ja/docs/tasks/tools/install-kubectl-linux.md
pull/51275/head
Kubernetes Prow Robot 2025-06-15 06:24:56 -07:00 committed by GitHub
commit a91af78d7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 39 additions and 4 deletions

View File

@ -216,7 +216,38 @@ kubectlを他のマイナーリリースにアップグレードするために
この手順については[Changing The Kubernetes Package Repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/)に詳細が記載されています。
{{< /note >}}
2. `zypper`を使用してkubectlをインストールしてください:
2. `zypper`を更新し、新しいリポジトリの追加を確認してください:
```bash
sudo zypper update
```
このメッセージが表示されたら、't' または 'a' を押してください:
```
New repository or package signing key received:
Repository: Kubernetes
Key Fingerprint: 1111 2222 3333 4444 5555 6666 7777 8888 9999 AAAA
Key Name: isv:kubernetes OBS Project <isv:kubernetes@build.opensuse.org>
Key Algorithm: RSA 2048
Key Created: Thu 25 Aug 2022 01:21:11 PM -03
Key Expires: Sat 02 Nov 2024 01:21:11 PM -03 (expires in 85 days)
Rpm Name: gpg-pubkey-9a296436-6307a177
Note: Signing data enables the recipient to verify that no modifications occurred after the data
were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
and in extreme cases even to a system compromise.
Note: A GPG pubkey is clearly identified by its fingerprint. Do not rely on the key's name. If
you are not sure whether the presented key is authentic, ask the repository provider or check
their web site. Many providers maintain a web page showing the fingerprints of the GPG keys they
are using.
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
```
3. `zypper`を使用してkubectlをインストールしてください:
```bash
sudo zypper install -y kubectl
@ -269,6 +300,10 @@ kubectlはBash、Zsh、Fish、PowerShellの自動補完を提供しています
{{< tab name="Zsh" include="included/optional-kubectl-configs-zsh.md" />}}
{{< /tabs >}}
### kubercを設定する
詳細については、[kuberc](/docs/reference/kubectl/kuberc)を参照してください。
### `kubectl convert`プラグインをインストールする
{{< include "included/kubectl-convert-overview.md" >}}