diff --git a/content/ja/docs/tasks/tools/install-kubectl-linux.md b/content/ja/docs/tasks/tools/install-kubectl-linux.md index 01bfc69313..eedc047495 100644 --- a/content/ja/docs/tasks/tools/install-kubectl-linux.md +++ b/content/ja/docs/tasks/tools/install-kubectl-linux.md @@ -216,11 +216,42 @@ kubectlを他のマイナーリリースにアップグレードするために この手順については[Changing The Kubernetes Package Repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/)に詳細が記載されています。 {{< /note >}} - 2. `zypper`を使用してkubectlをインストールしてください: +2. `zypper`を更新し、新しいリポジトリの追加を確認してください: + + ```bash + sudo zypper update + ``` - ```bash - sudo zypper install -y kubectl - ``` + このメッセージが表示されたら、'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 + 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 + ``` {{% /tab %}} {{< /tabs >}} @@ -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" >}}