Kubernetes Là Gì? Vai Trò Và Các Thuật Ngữ Phổ Biến
Kubernetes (viết tắt là k8s) giúp bạn có thể cai quản lý (hoặc “điều phối”) vớ cả những khối lượng làm việc được chứa chấp trong container của quý khách, bao gồm cung cung cấp, kết nối mạng, cân bởi vận chuyển, bảo mật thông tin và mở rộng lớn quy mô. Docker rất có thể chạy độc lập mà ko cần có Kubernetes, tuy nhiên Kubernetes ko thể hoạt động và sinh hoạt mà không có công ty container như Docker. Kubernetes góp con người ta chủng loại quăng quật rất nhiều các các bước thủ công liên quan lại đến việc khai triển và mở rộng các containerized applications.
Tiêu đề video: Kubernetes and Container Orchestration 101 – Computer Stuff They Didn&39;t Teach You 11
Độ dài: 00:31:21, Ngày đăng: 2020-09-27 09:56:50
Tác giả: Scott Hanselman
Link gốc: https://www.youtube.com/watch?v=3RTvoI-A7UQ
Chúng tôi đã tìm hiểu về docker và container, chúng tôi đã thấy cách chúng có thể làm tốt một việc. Điều gì xảy ra nếu chúng được kết nối và hoạt động cùng nhau? Làm thế nào để chúng ta chuyển từ một thùng chứa sang n thùng chứa? Tại sao điều này lại hữu ích? Đoạn video rõ ràng, không cắt dài 30 phút này sẽ cung cấp cho bạn những điều bạn cần biết để bắt đầu hành trình Kubernetes của mình … hay không. 00:00 Giới thiệu 01:42 Tương tự dàn nhạc 03:18 Docker Run Demo 04:30 Chẩn đoán 09:00 Bật k8 trong Docker Desktop 10:43 Viết Yaml 13:25 Tạo nhóm 15:00 Rất nhiều nhóm 17:45 Nói chuyện với nhóm 20:00 Phơi bày Hello World 22:20 Xem tất cả Vùng chứa 24:37 Kubectl Proxy 25:51 Hello World trong trình duyệt 28:00 Chuyển tiếp cổng 29:30 Sơ đồ cuối cùng 30:48 Kết luận
Container Deployment
Container vô cùng dễ nhằm chạy, các quý khách dev hoàn toàn có thể dùng container nhằm tạo nên ra môi ngôi trường nhằm dev hoàn hảo vào vài ba giây, tuy rằng nhiên lúc dùng container ở môi ngôi trường production thì ko giản dị như vậy. Điều đó ko có tức là phiên bản thân các container không hữu ích. Các container đã trở nên trọng tâm chính của không ít công ty ham muốn tiền phong trong chuyển đổi số và có tốc độ ra đôi mắt dịch vụ mới nhất nhanh chóng.
Các bạn đang theo dõi chuyên mục công nghệ
Web site: https://sapovietnam.com
Nội dung được copy lại từ internet. Vui lòng để lại bình luận nếu muốn đóng góp/ý kiến về nội dung video.
Hey dude, new subscriber, like your Azure Fridays, thought I'd give your YouTube channel a try! Too many things to learn, but all so exciting! Tnx in advance for all the great vids I'll watch.🙂
Really nice intro to Kubernetes, Scott! I would be interested in a Nginx / Apache 101 if you plan to continue with this series.Thanks!
Hi Scott. I built a K8S cluster with 4 raspberry pi 4B's using on ubuntu server 20.x.x (latest LTS). Its been super helpful using it for doing all kinds of cool stuff. No one has talked about how to properly shut down the nodes of the cluster, like if you wanted to do maintenance. Do you know what commands (and the sequence to use) to properly shut down the nodes. So you can do maintenance on them, or move them to a different location, and then start them back up (and have them working just like before shutting them down?)
I never thought that I'd be jealous of windows users for their terminal program
"Hey friends. I'm Scott Hanselman." might be the best way to start your day.
27:08 the Ghostbusters reference. I love it! Great video!
Can you do a separate video on kubernrtes services.. it would b helpful
nice
Concept cleared. Fundamentals learnt easily. Thanks Scott!!
Thanks a lot Scott!
Yes! Do the Windows Terminal tutorial! Please
Sooo… today is Sunday. And I'm gonna be playing with Kubernetes all day
Hey Scott. Thanks for your awesome videos. In an organization as large as MSFT, who would be in charge of k8s configurations? Is there a dedicated DevOps person, or all senior engineers are responsible collectively?
The Happy Little ReplicaSet… haha its first time I am watching you… your voice… is amazing 🙂 Thank you Scott!
Thank you very much for this video 🙂
Has anything changed since Kubernetes dropped support for Docker?
Too bad you didnt show how exposing the service with nodeport is enough to reach for the service
I just needed to do find out what is the name of the node on which one pod is running :
> kubectl describe pods mynginx-7f596f64f7-5frwk | grep -C 5 node
Name: mynginx-7f596f64f7-5frwk
Namespace: default
Priority: 0
Node: node01/172.17.0.6
Start Time: Sat, 12 Dec 2020 10:26:51 +0000
Labels: app=mynginx
Here the node name is : node01
I find the node port of the NodePort service
> kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 38m
mysvc NodePort 10.100.11.239 <none> 80:31063/TCP 10m
Here: 31063
Then I only need to reach for the nginx app with
>wget
qOnode01:31063<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>
as always, best content from the boss
Scott, I was hoping to follow along like I did for your Docker tutorial where we compiled helloworld.c and tried it out with some docker images.
Can you put the code for this tutorial on Github (i.e. /myk8s) so we can code with you?
Appreciate your work as always.
Scott you are more than an IT guy you are a teacher. The stuffs you know you really know them well. Even a retarded like me can brag about Kubernetes now.
Hi Scott, Thanks for the great video. I've been searching your channel and I couldn't find a video about that Raspberry Pi stack you have there. Could you please make a video about the stack? I'am currently running IOTstack on my 8GB Raspberry PI 4 and was thinking I could set up a Azure <-> Onprem training setup using Raspberry PI 4 with VMs and containers….. I think that would be super cool.a
What is the name of this terminal app?
Now I know 🙂 Kubernetes Thanks Scott!
Conductor
Node=> Worker machine
Pod => Group /set of container{ Ip, Storage , info etc}
Container=> Unit of work
Conductor-Or manager
As always, clear, concise and very efficient explanation. Thank you for this excellent series.
I just passed the Google ACE exam. Thank you so much for sharing great content. I spent a month for the exam with resources on Udemy. For study I chose acloud guru and awslagi for exam dumps. You can search awslagi on udemy. They are providing good exam dumps. Resources for references are youtube videos and hand on labs. That all for my preparation.
FYI – Maybe it's just me but the sound seems a lot more muffled to me, compared to the docker episode.
31:00 Absolutely; great little primer on the whole Kube stack. Barely scratches the surface as he explained; rinse, repeat, apply N times, over how ever many permutations and combinations. Good stuff, SH, thank you, sir.
Scott is to computer science topics as Bob Ross was to the world of painting. You have a great presentation style, Mr. Hanselman. Appreciate it a bunch. Thank you, sir.
5:00 LOL it's not a great analogy, but will humor you from the "V1D HUMANITY VIRUS".
Hi Scott
.
This is the best video about kubernetes i found so far!
Thank you for all the work you put into it!
You're the Bob Ross of coding, 10/10
Excellent video, clear understanding of the concepts…
i struggled a lot to understand all of this , that too in connected way .. thanks will not be enough… take a bow..!!!
Scott,
Best explanation of Kubernetes I’ve heard so far. The way you are expressing tech is amazing and make it easy to understand even for a non native English speaker. Thank you for that!
Hey sir, how do you do that arrow thingy after zooming in. Is there any s/w for that??
I just found your channel and I love how you explain often complex stuff in a down to earth manner. Most times there's really no need for big words (other than to keep newbies out)
I am just watching your videos again and again to learn something useful from you and your valuable experience. Thank you man. I want to support you in some way but i don't know how? Any patreon, or join button?