Skip to content

Commit

Permalink
fix: replace hardcoded GCS URIs with dl.k8s.io
Browse files Browse the repository at this point in the history
  • Loading branch information
kumiDa committed Jun 3, 2023
1 parent 6aa1f9d commit e15356a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ f017f405ff4b gcr.io/google\_containers/hyperkube-arm:v1.1.2 "/hyperkube

When that’s looking good we’re able to access the master node of the Kubernetes cluster with kubectl. Kubectl for ARM can be downloaded from googleapis storage. kubectl get nodes shows which cluster nodes are registered with its status. The master node is named 127.0.0.1.
```
$ curl -fsSL -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.1.2/bin/linux/arm/kubectl
$ curl -fsSL -o /usr/bin/kubectl https://dl.k8s.io/release/v1.1.2/bin/linux/arm/kubectl
$ kubectl get nodes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ In order to manage the Kubernetes cluster, we need to install [kubectl](https://
The recommended way to install it on Linux is to download the pre-built binary and move it to a directory under the `$PATH`.

```shell
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
curl -LO https://dl.k8s.io/release/$(curl -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl \
&& sudo install kubectl /usr/local/bin && rm kubectl
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ curl -L "https://github.com/kubernetes-sigs/cri-tools/releases/download/${CRICTL
RELEASE="$(curl -sSL https://dl.k8s.io/release/stable.txt)"
ARCH="amd64"
cd $DOWNLOAD_DIR
sudo curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE}/bin/linux/${ARCH}/{kubeadm,kubelet,kubectl}
sudo curl -L --remote-name-all https://dl.k8s.io/release/${RELEASE}/bin/linux/${ARCH}/{kubeadm,kubelet,kubectl}
sudo chmod +x {kubeadm,kubelet,kubectl}
RELEASE_VERSION="v0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion content/ko/docs/tasks/administer-cluster/certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ weight: 20
1. `easyrsa3`의 패치 버전을 다운로드하여 압축을 풀고, 초기화한다.

```shell
curl -LO https://storage.googleapis.com/kubernetes-release/easy-rsa/easy-rsa.tar.gz
curl -LO https://dl.k8s.io/easy-rsa/easy-rsa.tar.gz
tar xzf easy-rsa.tar.gz
cd easy-rsa-master/easyrsa3
./easyrsa init-pki
Expand Down

0 comments on commit e15356a

Please sign in to comment.