Skip to content

Commit

Permalink
Merge pull request #43444 from steve-hardman/fix-issue43431-layout
Browse files Browse the repository at this point in the history
Fix broken page layout for "Install and Set Up kubectl on Linux"
  • Loading branch information
k8s-ci-robot authored Oct 15, 2023
2 parents 3c8ff35 + 298d7cd commit 7d1095b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions content/en/docs/tasks/tools/install-kubectl-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,17 +210,19 @@ To upgrade kubectl to another minor release, you'll need to bump the version in
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/rpm/repodata/repomd.xml.key
EOF
```
{{< note >}}
To upgrade kubectl to another minor release, you'll need to bump the version in `/etc/zypp/repos.d/kubernetes.repo`
before running `zypper update`. This procedure is described in more detail in
[Changing The Kubernetes Package Repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/).
{{< /note >}}
{{< note >}}
To upgrade kubectl to another minor release, you'll need to bump the version in `/etc/zypp/repos.d/kubernetes.repo`
before running `zypper update`. This procedure is described in more detail in
[Changing The Kubernetes Package Repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/).
{{< /note >}}
1. Install kubectl using `zypper`:
2. Install kubectl using `zypper`:
```bash
sudo zypper install -y kubectl
```bash
sudo zypper install -y kubectl
```
{{% /tab %}}
{{< /tabs >}}
Expand Down

0 comments on commit 7d1095b

Please sign in to comment.