Skip to content

Commit 758c669

Browse files
committed
Command block formatting change
Signed-off-by: Marko Mudrinić <[email protected]>
1 parent fe2be44 commit 758c669

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

content/en/blog/_posts/2023-08-15-pkgs-k8s-io-introduction.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ publishing packages to the Google-hosted repository in the future.
157157

158158
3. Update the `apt` package index:
159159

160-
```shell
161-
sudo apt-get update
162-
```
160+
```shell
161+
sudo apt-get update
162+
```
163163

164164
### CentOS, Fedora, RHEL, and operating systems using `rpm`/`dnf` {#how-to-migrate-rpm}
165165

@@ -168,17 +168,17 @@ publishing packages to the Google-hosted repository in the future.
168168
Kubernetes minor version in the command below with the minor version
169169
that you're currently using:
170170

171-
```shell
172-
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
173-
[kubernetes]
174-
name=Kubernetes
175-
baseurl=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/
176-
enabled=1
177-
gpgcheck=1
178-
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/repodata/repomd.xml.key
179-
exclude=kubelet kubeadm kubectl cri-tools kubernetes-cni
180-
EOF
181-
```
171+
```shell
172+
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
173+
[kubernetes]
174+
name=Kubernetes
175+
baseurl=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/
176+
enabled=1
177+
gpgcheck=1
178+
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/repodata/repomd.xml.key
179+
exclude=kubelet kubeadm kubectl cri-tools kubernetes-cni
180+
EOF
181+
```
182182
183183
## Can I rollback to the Google-hosted repository after migrating to the Kubernetes repositories?
184184

0 commit comments

Comments
 (0)