Skip to content

Commit

Permalink
[FIX] error url in bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
ismoilovdevml committed Sep 7, 2024
1 parent 1bcd92d commit af359fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/guides/k8s/k8s-cluster-setup.en-UZ.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ Quyida meni kubernetes cluster uchun tayyorlab olgan serverlarim ro'yxati. E'tib

Amaliyotimiz uchun muhitni serverlarni sozlab olganimizdan keyin amaliyotni boshlasak bo'ladi. Biz kubernetes cluster yaratishda **kubeadm** dan foydalanamiz. Ishni ancha osonlashtirish uchun men oldinroq **kubeadm** bilan ishlab kubernetes cluster yaratadigan **bash script** yozib qo'ygandim. Ushbu amaliyotda biz bash scriptdan foydalanaib k8s cluster yaratamiz. Barcha serverlarimizga ssh orqali kirib olamiz va quyidagicha scriptni ishga tushiramiz.

**K8s installer** script ikki qismga bo'lingan yani k8s-master uchun alohida va k8s-nodelar uchun alohida. [**K8s installer**](https://github.com/ismoilovdevml/devops-tools/tree/master/k8s/Install) bash scriptni kodlari open-source githubga joylashtirilgan.
**K8s installer** script ikki qismga bo'lingan yani k8s-master uchun alohida va k8s-nodelar uchun alohida. [**K8s installer**](https://github.com/ismoilovdevml/devops-tools/tree/master/Kubernetes/k8s-installer/) bash scriptni kodlari open-source githubga joylashtirilgan.

**1->** **k8s-master** serverimizga kirib quyidagi buyruq orqali scriptni ishga tushiramiz.

```bash
curl -sSL https://raw.githubusercontent.com/ismoilovdevml/devops-tools/master/k8s/Install/k8s-master.sh | bash
curl -sSL https://raw.githubusercontent.com/ismoilovdevml/devops-tools/master/Kubernetes/k8s-installer/k8s-master.sh | bash
```

Script quyidagicha ishga tushishi kerak.
Expand All @@ -75,7 +75,7 @@ kubeadm join 10.128.0.45:6443 --token snydd0.hdwia5qbrc455aro \
**3->** k8s nodelar uchun alohida k8s nodelar uchun yozilgan bash scriptni ishga tushiramiz.

```bash
curl -sSL https://raw.githubusercontent.com/ismoilovdevml/devops-tools/master/k8s/Install/k8s-worker.sh | bash
curl -sSL https://raw.githubusercontent.com/ismoilovdevml/devops-tools/master/Kubernetes/k8s-installer/k8s-worker.sh | bash
```

Bash script quyidagicha ishga tushishi kerak.
Expand Down

0 comments on commit af359fc

Please sign in to comment.