Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ID translation for Scale You App tutorial
update links and katakoda embed for id k8s basic tutorial
- Loading branch information
Showing
7 changed files
with
173 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Penyekalaan Aplikasimu | ||
weight: 50 | ||
--- |
40 changes: 40 additions & 0 deletions
40
content/id/docs/tutorials/kubernetes-basics/scale/scale-interactive.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: Tutorial Interaktif - Penyekalaan Aplikasimu | ||
weight: 20 | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="id"> | ||
|
||
<body> | ||
|
||
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet"> | ||
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet"> | ||
<script src="https://katacoda.com/embed.js"></script> | ||
|
||
<div class="layout" id="top"> | ||
|
||
<main class="content katacoda-content"> | ||
|
||
<div class="katacoda"> | ||
<div class="katacoda__alert"> | ||
Untuk berinteraksi dengan Terminal, harap gunakan desktop/tablet | ||
</div> | ||
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-lang="id" data-katacoda-id="kubernetes-bootcamp/5" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;"> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<a class="btn btn-lg btn-success" href="/id/docs/tutorials/kubernetes-basics/update/update-intro/" role="button">Lanjutkan ke Modul 6<span class="btn__next">›</span></a> | ||
</div> | ||
</div> | ||
|
||
</main> | ||
|
||
<a class="scrolltop" href="#top"></a> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
121 changes: 121 additions & 0 deletions
121
content/id/docs/tutorials/kubernetes-basics/scale/scale-intro.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
--- | ||
title: Menjalankan Multipel Instans dari Aplikasimu | ||
weight: 10 | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="id"> | ||
|
||
<body> | ||
|
||
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet"> | ||
|
||
<div class="layout" id="top"> | ||
|
||
<main class="content"> | ||
|
||
<div class="row"> | ||
|
||
<div class="col-md-8"> | ||
<h3>Tujuan</h3> | ||
<ul> | ||
<li>Penyekalaan aplikasi menggunakan kubectl.</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="col-md-8"> | ||
<h3>Penyekalaan sebuah Aplikasi</h3> | ||
|
||
<p>Di modul-modul sebelumnya kita telah membuat <a href="/id/docs/concepts/workloads/controllers/deployment/">Deployment</a>, dan mengeksposnya secara publik via <a href="/id/docs/concepts/services-networking/service/">Service</a>. Deployment yang dibuat itu hanya satu Pod yang menjalankan aplikasi kita. Ketika kunjungan meningkat, kita perlu menyekalakan (<i>scale</i>) aplikasi kita untuk mengikuti tingkat permintaan pengguna.</p> | ||
|
||
<p><b>Penyekalaan</b> dapat dicapai dengan mengubah nilai replicas dalam Deployment</p> | ||
|
||
</div> | ||
<div class="col-md-4"> | ||
<div class="content__box content__box_lined"> | ||
<h3>Ringkasan:</h3> | ||
<ul> | ||
<li>Penyekalaan sebuah Deployment</li> | ||
</ul> | ||
</div> | ||
<div class="content__box content__box_fill"> | ||
<p><i> Kamu dapat dari awal memulai Deployment dengan multipel instans menggunakan parameter --replicas pada perintah kubectl create deployment</i></p> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
|
||
<div class="row"> | ||
<div class="col-md-8"> | ||
<h2 style="color: #3771e3;">Ikhtisar Penyekalaan</h2> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-1"></div> | ||
<div class="col-md-8"> | ||
<div id="myCarousel" class="carousel" data-ride="carousel" data-interval="3000"> | ||
<ol class="carousel-indicators"> | ||
<li data-target="#myCarousel" data-slide-to="0" class="active"></li> | ||
<li data-target="#myCarousel" data-slide-to="1"></li> | ||
</ol> | ||
<div class="carousel-inner" role="listbox"> | ||
<div class="item carousel-item active"> | ||
<img src="/docs/tutorials/kubernetes-basics/public/images/module_05_scaling1.svg"> | ||
</div> | ||
|
||
<div class="item carousel-item"> | ||
<img src="/docs/tutorials/kubernetes-basics/public/images/module_05_scaling2.svg"> | ||
</div> | ||
</div> | ||
|
||
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> | ||
<span class="sr-only ">Sebelumnya</span> | ||
</a> | ||
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> | ||
<span class="sr-only">Selanjutnya</span> | ||
</a> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
<br> | ||
|
||
<div class="row"> | ||
<div class="col-md-8"> | ||
|
||
<p>Perluasan skala Deployment akan memastikan Pod baru dibuat dan dijadwalkan ke Node-Node dengan sumber daya yang tersedia. Penyekalaan akan meningkatkan jumlah Pod ke keadaan yang diinginkan. Kubernetes juga mendukung <a href="/id/docs/tasks/run-application/horizontal-pod-autoscale/"><i>autoscaling</i></a> Pod, tetapi itu di luar cakupan tutorial ini. Penyekalaan ke nol juga dimungkinkan, dan tindakan ini akan mengakhiri semua Pod pada Deployment tersebut.</p> | ||
|
||
<p>Menjalankan beberapa instans dari aplikasi akan membutuhkan cara untuk mendistribusikan kunjungan ke semuanya. Service punya penyeimbang beban terintegrasi yang akan mendistribusikan kujungan jaringan ke semua Pod dari sebuah Deployment yang diekspos. Service akan terus-menerus memonitor Pod-Pod yang berjalan menggunakan Endpoints, untuk memastikan kunjungan hanya dikirim kepada Pod yang tersedia.</p> | ||
|
||
</div> | ||
<div class="col-md-4"> | ||
<div class="content__box content__box_fill"> | ||
<p><i>Penyekalaan dapat dicapai dengan mengubah jumlah replicas pada sebuah Deployment.</i></p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<br> | ||
|
||
<div class="row"> | ||
<div class="col-md-8"> | ||
<p>Sewaktu kamu punya multipel instans dari aplikasi berjalan, kamu akan dapat melakukan pembaruan bertahap tanpa perhentian. Kita akan akan membahas hal tersebut pada modul selanjutnya. Sekarang, mari kita pergi ke terminal daring dan menyekalakan aplikasi kita.</p> | ||
</div> | ||
</div> | ||
<br> | ||
|
||
<div class="row"> | ||
<div class="col-md-12"> | ||
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/scale/scale-interactive/" role="button"> Mulai Tutorial Interaktif <span class="btn__next">›</span></a> | ||
</div> | ||
</div> | ||
|
||
</main> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |