-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemoit.html
60 lines (48 loc) · 1.67 KB
/
demoit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<h1>Local Kubernetes Cluster for Developers</h1>
<img height="100%" src ="/images/kubernetes_cluster.svg" />
---
<h1>Create a local Kubernetes Cluster</h1>
<div class="grid-container">
<div class="grid-item">
<br /><br /><br />
<img src="/images/certified-kubernetes-logo.svg" />
</div>
<div class="grid-item">
<h2><a href="https://docs.docker.com/docker-for-mac/kubernetes/">Docker for Desktop</a></h2>
<h2><a href="https://microk8s.io">Microk8s on Ubuntu</a></h2>
<h2><a href="https://github.com/kubernetes/minikube">Minkube VM</a></h2>
</div>
</div>
---
<h1>Build a container and run</h1>
<split-view>
<web-term path="docker"></web-term>
<web-browser src="http://localhost:8000/"></web-browser>
</split-view>
---
<h1>Deploy container on local cluster and expose</h1>
<split-view>
<web-term path="kubernetes"></web-term>
<web-browser src="http://localhost:8000/"></web-browser>
</split-view>
---
<h1>Using YAML to manage deployments and services on local cluster</h1>
<split-view>
<web-term path="yaml"></web-term>
<source-code folder="yaml"
files="deployment.yaml service.yaml pv-volume.yaml pv-claim.yaml"
start-lines="0"
end-lines="0">
</source-code>
</split-view>
---
<h1>Accessing your pods show logs</h1>
<split-view>
<web-term path=""></web-term>
<web-browser src="http://localhost:8000/"></web-browser>
</split-view>
---
<h1>Conclusion</h1>
<h2><strong>Easy</strong> cluster setup</h2>
<h2>Local environment is <strong>closer to production deployment</strong></h2>
<h2><strong>Access to pods and logs</strong> is simple</h2>