This document provides an overview of Kubernetes including:
1) Kubernetes is an open-source platform for automating deployment, scaling, and operations of containerized applications. It provides container-centric infrastructure and allows for quickly deploying and scaling applications.
2) The main components of Kubernetes include Pods (groups of containers), Services (abstract access to pods), ReplicationControllers (maintain pod replicas), and a master node running key components like etcd, API server, scheduler, and controller manager.
3) The document demonstrates getting started with Kubernetes by enabling the master on one node and a worker on another node, then deploying and exposing a sample nginx application across the cluster.
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery called pods. Kubernetes masters manage the cluster and make scheduling decisions while nodes run the pods and containers. It uses labels and selectors to identify and group related application objects together. Services provide a single endpoint for pods, while deployments help manage replicated applications. Kubernetes provides mechanisms for storage, configuration, networking, security and other functionality to help run distributed systems reliably at scale.
The document provides an overview of Burp Suite, a tool for security testing and penetration testing. It discusses what Burp Suite is, its main features and tools, and how to install and configure it. The document outlines the different editions of Burp Suite, why it is useful for penetration testing, and how its various interconnected tools allow effective testing of web applications. It also provides brief descriptions of the Proxy tool, Intruder, Repeater, Sequencer and other common Burp Suite tools.
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...Edureka!
***** DevOps Masters Program : https://www.edureka.co/masters-progra... *****
This DevOps tutorial takes you through what is DevOps all about and basic concepts of DevOps and DevOps Tools. This DevOps tutorial is ideal for beginners to get started with DevOps. Check our complete DevOps playlist here: http://goo.gl/O2vo13
DevOps Tutorial Blog Series: https://goo.gl/P0zAfF
Kubernetes is an open-source system for managing containerized applications and services. It includes a master node that runs control plane components like the API server, scheduler, and controller manager. Worker nodes run the kubelet service and pods. Pods are the basic building blocks that can contain one or more containers. Labels are used to identify and select pods. Replication controllers ensure a specified number of pod replicas are running. Services define a logical set of pods and associated policy for access. They are exposed via cluster IP addresses or externally using load balancers.
Everything You Need To Know About Persistent Storage in KubernetesThe {code} Team
This document discusses Kubernetes persistent storage options for stateful applications. It covers common use cases that require persistence like databases, messaging systems, and content management systems. It then describes Kubernetes persistent volume (PV), persistent volume claim (PVC), and storage class objects that are used to provision and consume persistent storage. Finally, it compares deployments with statefulsets and covers other volume types like emptyDir, hostPath, daemonsets and their use cases.
Writing the Container Network Interface(CNI) plugin in golangHungWei Chiu
An introduction to Container Network Interface (CNI), including what problems it want solve and how it works.
Also contains a example about how to write a simple CNI plugin with golang
Hands-On Introduction to Kubernetes at LISA17Ryan Jarvinen
This document provides an agenda and instructions for a hands-on introduction to Kubernetes tutorial. The tutorial will cover Kubernetes basics like pods, services, deployments and replica sets. It includes steps for setting up a local Kubernetes environment using Minikube and demonstrates features like rolling updates, rollbacks and self-healing. Attendees will learn how to develop container-based applications locally with Kubernetes and deploy changes to preview them before promoting to production.
This presentation covers the basics of dockers, its security related features and how certain misconfigurations can be used to escape from container to host
This document provides an overview of Kubernetes, a container orchestration system. It begins with background on Docker containers and orchestration tools prior to Kubernetes. It then covers key Kubernetes concepts including pods, labels, replication controllers, and services. Pods are the basic deployable unit in Kubernetes, while replication controllers ensure a specified number of pods are running. Services provide discovery and load balancing for pods. The document demonstrates how Kubernetes can be used to scale, upgrade, and rollback deployments through replication controllers and services.
Kubernetes is a platform for managing containerized workloads and services that provides a container-centric management environment. It aims to provide high utilization, high availability, minimize fault recovery time, and reduce the probability of correlated failures through a declarative job specification language, name service integration, real-time job monitoring, and analyzing and simulating system behavior using APIs and dashboards. Kubernetes can manage 100,000s of jobs, 1000s of applications across multiple clusters each with 10,000s of machines.
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It was originally developed by Google based on years of experience running production workloads at scale. Kubernetes groups containers into logical units called pods and handles tasks like scheduling, health checking, scaling and rollbacks. The main components include a master node that manages the cluster and worker nodes that run application containers scheduled by the master.
Docker allows building portable software that can run anywhere by packaging an application and its dependencies in a standardized unit called a container. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Kubernetes can replicate containers, provide load balancing, coordinate updates between containers, and ensure availability. Defining applications as Kubernetes resources allows them to be deployed and updated easily across a cluster.
A Comprehensive Introduction to Kubernetes. This slide deck serves as the lecture portion of a full-day Workshop covering the architecture, concepts and components of Kubernetes. For the interactive portion, please see the tutorials here:
https://github.com/mrbobbytables/k8s-intro-tutorials
** Kubernetes Certification Training: https://www.edureka.co/kubernetes-certification **
This Edureka tutorial on "Kubernetes Architecture" will give you an introduction to popular DevOps tool - Kubernetes, and will deep dive into Kubernetes Architecture and its working. The following topics are covered in this training session:
1. What is Kubernetes
2. Features of Kubernetes
3. Kubernetes Architecture and Its Components
4. Components of Master Node and Worker Node
5. ETCD
6. Network Setup Requirements
DevOps Tutorial Blog Series: https://goo.gl/P0zAfF
A basic introductory slide set on Kubernetes: What does Kubernetes do, what does Kubernetes not do, which terms are used (Containers, Pods, Services, Replica Sets, Deployments, etc...) and how basic interaction with a Kubernetes cluster is done.
Kubernetes Security Best Practices - With tips for the CKS examAhmed AbouZaid
Agenda:
1. Introduction
2. Shift-left and DevSecOps
3. General Security Concepts
4. The 4C’s of Cloud Native Security
5. Kubernetes Security Starter Kit
6. CKS Exam Overview and Tips
Overview:
A dive into Kubernetes Security Best Practices in addition to tips for the Certified Kubernetes Security Specialist (CKS) exam.
The 1-3 sections are for everyone and they will cover the security in the container era. So it doesn’t matter what’s your title or background, they are a good start for anyone.
The 4-6 sections will dive more into Kubernetes security, so probably DevOps engineers and SREs will find that more interesting. But in general anyone interested in Kubernetes security is more than welcome.
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...Edureka!
***** Kubernetes Certification Training: https://www.edureka.co/kubernetes-certification *****
This Edureka tutorial on "What is Kubernetes" will give you an introduction to one of the most popular Devops tool in the market - Kubernetes, and its importance in today's IT processes. This tutorial is ideal for beginners who want to get started with Kubernetes & DevOps. The following topics are covered in this training session:
1. Need for Kubernetes
2. What is Kubernetes and What it's not
3. How does Kubernetes work?
4. Use-Case: Kubernetes @ Pokemon Go
5. Hands-on: Deployment with Kubernetes
DevOps Tutorial Blog Series: https://goo.gl/P0zAfF
Docker allows building, shipping, and running applications in portable containers. It packages an application with all its dependencies into a standardized unit for software development. Major cloud providers and companies support and use Docker in production. Containers are more lightweight and efficient than virtual machines, providing faster launch times and allowing thousands to run simultaneously on the same server. Docker simplifies distributing applications and ensures a consistent environment.
Kubernetes is an open source container orchestration system that automates the deployment, maintenance, and scaling of containerized applications. It groups related containers into logical units called pods and handles scheduling pods onto nodes in a compute cluster while ensuring their desired state is maintained. Kubernetes uses concepts like labels and pods to organize containers that make up an application for easy management and discovery.
A brief study on Kubernetes and its componentsRamit Surana
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.
This document provides an overview of Kubernetes basics. It introduces Kubernetes as an open source container orchestration tool developed by Google to manage the lifecycle of containers. It describes common Kubernetes concepts like pods, deployments, services, and how to install Kubernetes on local, on-premise and cloud environments. It also covers important topics for production use such as health checks, resource restrictions, logging, monitoring and alerts.
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...DevDay Da Nang
Kubernetes is a platform used to automate the management, to scale and to deploy applications in the form of containers. Kubernetes is also called Container orchestration engine.
Giới thiệu tổng quan về Docker và một số hướng dẫn thực hành cơ bảnMichaelDang49
Bài học giới thiệu tổng quan về docker. Slide trình bày các khái niệm tổng quan về docker cũng như một số ví dụ thực hành cụ thể, nhằm hỗ trợ người học dễ dàng nắm bắt được nội.
Kubernetes is an open-source system for managing containerized applications and services. It includes a master node that runs control plane components like the API server, scheduler, and controller manager. Worker nodes run the kubelet service and pods. Pods are the basic building blocks that can contain one or more containers. Labels are used to identify and select pods. Replication controllers ensure a specified number of pod replicas are running. Services define a logical set of pods and associated policy for access. They are exposed via cluster IP addresses or externally using load balancers.
Everything You Need To Know About Persistent Storage in KubernetesThe {code} Team
This document discusses Kubernetes persistent storage options for stateful applications. It covers common use cases that require persistence like databases, messaging systems, and content management systems. It then describes Kubernetes persistent volume (PV), persistent volume claim (PVC), and storage class objects that are used to provision and consume persistent storage. Finally, it compares deployments with statefulsets and covers other volume types like emptyDir, hostPath, daemonsets and their use cases.
Writing the Container Network Interface(CNI) plugin in golangHungWei Chiu
An introduction to Container Network Interface (CNI), including what problems it want solve and how it works.
Also contains a example about how to write a simple CNI plugin with golang
Hands-On Introduction to Kubernetes at LISA17Ryan Jarvinen
This document provides an agenda and instructions for a hands-on introduction to Kubernetes tutorial. The tutorial will cover Kubernetes basics like pods, services, deployments and replica sets. It includes steps for setting up a local Kubernetes environment using Minikube and demonstrates features like rolling updates, rollbacks and self-healing. Attendees will learn how to develop container-based applications locally with Kubernetes and deploy changes to preview them before promoting to production.
This presentation covers the basics of dockers, its security related features and how certain misconfigurations can be used to escape from container to host
This document provides an overview of Kubernetes, a container orchestration system. It begins with background on Docker containers and orchestration tools prior to Kubernetes. It then covers key Kubernetes concepts including pods, labels, replication controllers, and services. Pods are the basic deployable unit in Kubernetes, while replication controllers ensure a specified number of pods are running. Services provide discovery and load balancing for pods. The document demonstrates how Kubernetes can be used to scale, upgrade, and rollback deployments through replication controllers and services.
Kubernetes is a platform for managing containerized workloads and services that provides a container-centric management environment. It aims to provide high utilization, high availability, minimize fault recovery time, and reduce the probability of correlated failures through a declarative job specification language, name service integration, real-time job monitoring, and analyzing and simulating system behavior using APIs and dashboards. Kubernetes can manage 100,000s of jobs, 1000s of applications across multiple clusters each with 10,000s of machines.
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It was originally developed by Google based on years of experience running production workloads at scale. Kubernetes groups containers into logical units called pods and handles tasks like scheduling, health checking, scaling and rollbacks. The main components include a master node that manages the cluster and worker nodes that run application containers scheduled by the master.
Docker allows building portable software that can run anywhere by packaging an application and its dependencies in a standardized unit called a container. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Kubernetes can replicate containers, provide load balancing, coordinate updates between containers, and ensure availability. Defining applications as Kubernetes resources allows them to be deployed and updated easily across a cluster.
A Comprehensive Introduction to Kubernetes. This slide deck serves as the lecture portion of a full-day Workshop covering the architecture, concepts and components of Kubernetes. For the interactive portion, please see the tutorials here:
https://github.com/mrbobbytables/k8s-intro-tutorials
** Kubernetes Certification Training: https://www.edureka.co/kubernetes-certification **
This Edureka tutorial on "Kubernetes Architecture" will give you an introduction to popular DevOps tool - Kubernetes, and will deep dive into Kubernetes Architecture and its working. The following topics are covered in this training session:
1. What is Kubernetes
2. Features of Kubernetes
3. Kubernetes Architecture and Its Components
4. Components of Master Node and Worker Node
5. ETCD
6. Network Setup Requirements
DevOps Tutorial Blog Series: https://goo.gl/P0zAfF
A basic introductory slide set on Kubernetes: What does Kubernetes do, what does Kubernetes not do, which terms are used (Containers, Pods, Services, Replica Sets, Deployments, etc...) and how basic interaction with a Kubernetes cluster is done.
Kubernetes Security Best Practices - With tips for the CKS examAhmed AbouZaid
Agenda:
1. Introduction
2. Shift-left and DevSecOps
3. General Security Concepts
4. The 4C’s of Cloud Native Security
5. Kubernetes Security Starter Kit
6. CKS Exam Overview and Tips
Overview:
A dive into Kubernetes Security Best Practices in addition to tips for the Certified Kubernetes Security Specialist (CKS) exam.
The 1-3 sections are for everyone and they will cover the security in the container era. So it doesn’t matter what’s your title or background, they are a good start for anyone.
The 4-6 sections will dive more into Kubernetes security, so probably DevOps engineers and SREs will find that more interesting. But in general anyone interested in Kubernetes security is more than welcome.
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...Edureka!
***** Kubernetes Certification Training: https://www.edureka.co/kubernetes-certification *****
This Edureka tutorial on "What is Kubernetes" will give you an introduction to one of the most popular Devops tool in the market - Kubernetes, and its importance in today's IT processes. This tutorial is ideal for beginners who want to get started with Kubernetes & DevOps. The following topics are covered in this training session:
1. Need for Kubernetes
2. What is Kubernetes and What it's not
3. How does Kubernetes work?
4. Use-Case: Kubernetes @ Pokemon Go
5. Hands-on: Deployment with Kubernetes
DevOps Tutorial Blog Series: https://goo.gl/P0zAfF
Docker allows building, shipping, and running applications in portable containers. It packages an application with all its dependencies into a standardized unit for software development. Major cloud providers and companies support and use Docker in production. Containers are more lightweight and efficient than virtual machines, providing faster launch times and allowing thousands to run simultaneously on the same server. Docker simplifies distributing applications and ensures a consistent environment.
Kubernetes is an open source container orchestration system that automates the deployment, maintenance, and scaling of containerized applications. It groups related containers into logical units called pods and handles scheduling pods onto nodes in a compute cluster while ensuring their desired state is maintained. Kubernetes uses concepts like labels and pods to organize containers that make up an application for easy management and discovery.
A brief study on Kubernetes and its componentsRamit Surana
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.
This document provides an overview of Kubernetes basics. It introduces Kubernetes as an open source container orchestration tool developed by Google to manage the lifecycle of containers. It describes common Kubernetes concepts like pods, deployments, services, and how to install Kubernetes on local, on-premise and cloud environments. It also covers important topics for production use such as health checks, resource restrictions, logging, monitoring and alerts.
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...DevDay Da Nang
Kubernetes is a platform used to automate the management, to scale and to deploy applications in the form of containers. Kubernetes is also called Container orchestration engine.
Giới thiệu tổng quan về Docker và một số hướng dẫn thực hành cơ bảnMichaelDang49
Bài học giới thiệu tổng quan về docker. Slide trình bày các khái niệm tổng quan về docker cũng như một số ví dụ thực hành cụ thể, nhằm hỗ trợ người học dễ dàng nắm bắt được nội.
slideshow: https://www.slideshare.net/ssuser9b325a/docker-101-144718472
This is an introduction to docker in Vietnamese language
In this document
- Introduction to docker
- Docker network
- Demo scenario
Slide show:
https://www.slideshare.net/ssuser9b325a/docker-101-144718472
Stringee là đơn vị duy nhất tại Việt Nam cung cấp nền tảng lập trình cho giao tiếp - Cho phép các doanh nghiệp giao tiếp với khách hàng trên chính Website/Mobile app qua hotline, live chat, video call… mà không cần phải sử dụng các ứng dụng thứ ba cũng như không phải đầu tư xây dựng từ đầu một phần mềm có các tính năng này.
Stringee cũng phát triển phần mềm CSKH đa kênh StringeeX, hiện đang phục vụ hơn 1000 khách hàng doanh nghiệp trong đó có các doanh nghiệp lớn như là: PTI, Techcombank, Viettel, Mobifone, Đất Xanh Group, VNDirect,...
Hệ thống của Stringee hiện có hơn 70M+ người dùng cuối tại Việt Nam, Ấn Độ, Mỹ, Thái Lan, Philippines,... với 5B+ tổng số lượng cuộc gọi, mỗi ngày 2.5M+ cuộc gọi, 6000+ cuộc gọi đồng thời. DC Server đang được đặt tại 4 địa điểm: Hà Nội, TP Hồ Chí Minh, Mumbai (Ấn Độ), Oregon (USA).
Để đáp ứng tải lượng hệ thống lớn như vậy, Stringee đã ứng dụng công nghệ Kubernetes (K8s) vào trong quy trình phát triển phần mềm. Giải pháp này có nhiệm vụ trong việc cân bằng tải, quản lý bộ nhớ, tự động rollouts - rollbacks và đóng góp tự động các bản cập nhật phần mềm.
Chi tiết về cách triển khai và vận hành K8s cho hệ thống của Stringee được Mr. Trần Tiến - CTO Stringee chia sẻ.
-------------
Stringee Communication APIs là giải pháp cung cấp các tính năng như gọi thoại, gọi video, tin nhắn chat, SMS hay tổng đài chăm sóc khách hàng có thể tích hợp trực tiếp vào các ứng dụng/website của doanh nghiệp nhanh chóng. Bộ giải pháp này giúp tiết kiệm đến 80% thời gian và chi phí cho doanh nghiệp bởi thông thường nếu tự phát triển các tính năng này có thể mất từ 1 - 3 năm.
👉 Đăng ký dùng thử miễn phí 30 ngày tại: https://stringee.co/30days-free-trial
- Website: https://stringee.com
- Hotline: 1800 6670
- Email: [email protected]
Bài 1 Lập trình website theo mô hình MVC - Xây dựng ứng dụng webMasterCode.vn
Cách tổ chức mô hình MVC
Ưu điểm của mô hình MVC trong việc phát triển
ứng dụng web
Cách tạo và gọi hàm theo phong cách mô hình
MVC
Phân biệt khi nào nên forward hoặc chuyển
hướng yêu cầu HTTP
Giới thiệu về framework CakePHP
Giới thiệu các phương pháp và chiến lược đối ứng tải trong Web Application Server.
- WEB Server Scaleout
- Chiến lược Caching
- Tách DB (Horizontal Sharding / Vertical Sharding)
- Linux Kernel Parameters
Nghiên cứu quý 3 của công ty GMO-Z.com VietnamLab.
Chủ đề: Ứng dụng NLP vào việc xác định ý muốn người dùng (Intent Detection) và sửa lỗi chính tả trong tiếng Việt (Spell Correction)
This document provides an overview of optimizing MySQL queries. It discusses optimization at the database and hardware levels, understanding query execution plans, using EXPLAIN to analyze queries, optimizing specific query types like counts and groups, indexing strategies like covering indexes, and partitioning tables for performance. The goal is to help readers write efficient queries and properly structure databases and indexes for high performance.
This document discusses SLAM technology for surveillance applications. It provides an overview of SLAM and its uses in exploration, self-driving cars and augmented reality. It then evaluates several SLAM technologies like Wikitude, Kudan, Tango/ARCore and ORB-SLAM2 for their advantages and disadvantages. It proposes implementing SLAM on mobile devices using OpenCV, Unity and Android to save costs while allowing new algorithms. Example applications demonstrated include face recognition and a ship shooter game.
This document discusses key aspects of blockchain technology including bitcoin and ethereum blockchains, the components that make up a blockchain block, different consensus mechanisms like proof-of-work and proof-of-stake, how smart contracts work, potential industries blockchain could disrupt, initial coin offerings, decentralization, and provides links to demo code and documents. It is presented by Nguyen Sy Thanh Son, CTO at TOMO, and concludes by thanking the audience and providing contact information.
The document discusses tuning Spark parameters to optimize performance. It describes how to control Spark's resource usage through parameters like num-executors, executor-cores, and executor-memory. Advanced parameters like spark.shuffle.memoryFraction and spark.reducer.maxSizeInFlight are also covered. Dynamic allocation allows scaling resources up and down based on workload. Tips provided include tuning memory usage, choosing serialization and storage levels, setting parallelism, and avoiding operations like groupByKey. An example recommends tuning the collaborative filtering algorithm in the RW project, reducing runtime from 27 minutes to under 7 minutes.
2. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
3. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
8. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
14. HyperVisor Type 2 Docker
Virtualization Type Vitualization Machine Container
Weight of the created virtual
systems
Heavy Very lightweight
Startup time for created
machine
A few minutes A few seconds
Isolation level for created
vitural systems
Full Partial
Guaranteed Resources at
Hardware Level ?
Yes No
Can create machines with
different OS ?
Yes No
17. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
21. Kubernetes
Manage application, not machine
Kubernetes là một Platform tự động hoá việc quản lý,
scaling container
Kubernetes còn gọi là Container orchestration engine.
Kubernetes by Google dựa trên kinh nghiệm quản lý
sử dụng các container
23. Kubernetes vs Docker Swarm
https://platform9.com/blog/kubernetes-docker-swarm-compared/
24. Kubernetes làm được những gì
Việc quản lý hàng loạt docket host
Container Scheduling
Rolling update
Scaling/Auto Scaling
Monitor vòng đời và tình trạng sống chết của container.
Self-healing trong trường hợp có lỗi xãy ra. (Có khả năng phát hiện và tự correct lỗi)
Service discovery
Load balancing
Quản lý data
Quản lý work node
Quản lý log
Infrastructure as Code
Sự liên kết và mở rộng với các hệ thống khác
25. Kubernetes liên kết với hệ sinh thái
Ansible: Deploy container tới Kubernetes
Apache Ignite: Sử dụng Service Discovery của Kubernetes, tự động tạo và scaling k8s
clkuster
Fluentd: gửi log của container trong Kubernetes
Jenkins: Deploy container đến Kubernetes
OpenStack:Cấu trúc k8s liên kết với Cloud
Prometheus: Monitor Kubernetes
Spark: Thực thi native job trên Kubernetes(thay thế cho YARN)
Spinnaker:Deploy container đến Kubernetes
v.v
26. Các môi trường Kubernetes
Local Kubermetes
Công cụ hỗ trợ thiết lập môi trường Kubernetes
Quản lý Kubernetes trên public cloud
28. Công cụ hỗ trợ thiết lập môi trường Kubernetes
kubeadm
Rancher
29. Quản lý Kubernetes trên public cloud
Google Kubernetes Engine(GKE)
Azure Container Service(AKS)
Elastic Container Service for Kubernetes(EKS)
GKE AKS
31. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
36. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
42. Kubernetes Resource
Phân Loại Resource Mô tả
Workloads Resource liên quan đến thực thi container
Discovery&Load
balancer
Resource cung cấp Endpoint - cho phép truy cập
Container từ bên ngoài Cluster
Config&Storage Resources liên quan đến settings, confidential
information, persistent volumes vv
Cluster Resources liên quan đến security và quota
Metadata Resource cho việc quản lý Resource
56. container
container
container
container
container
container
Node Node Node
Pod Pod
container
container
container
Pod
container
container
container
Pod
container
container
container
Pod
container
container
container
Pod
container
container
container
Pod
Depends on each node’s resource availability
and each pod’s resource requirement
99. Cronjob = Job + schedule
schedule
same cron format
http://www.nncron.ru/help/EN/working/cron-
format.htm
Setting
concurrencyPolicy
Allow(default): Không hạn chế đối với việc thực thi
đồng thời
Forbid: Job trước đó thực hiện chưa xong thì
không tạo Job mới.(không thực hiện đồng thời)
Replace: Trong trường hợp Job cũ đang chạy, huỷ
Job cũ và tạo Job mới
1
2
3
100. Cronjob = Job + schedule
schedule
Setting
startingDeadlineSeconds
Thời gian trễ cho phép để run job
successfulJobsHistoryLimit
Số lượng Job thành công được duy trì
failedJobsHistoryLimit
Số lượng Job thất bại duy trì.
Job
1
2
3
125. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
129. Agenda
Bối cảnh
Nhắc lại về Docker
Giới thiệu Kubernetes
Kiến trúc Kubernetes
Các thành phần cơ bản trong Kubernetes
Rancher 2.0
Harbor – Docker registry
Demo
144. Đã làm được
Hiểu được tổng quan về kiến trúc và các thành phần của K8s
Workload resource (Pod, ReplicaSet, Deployment, Job…etc..)
Service (ClusterIP, NodePortIP, LoadBalancer, etc..)
Xây dựng được K8s cluster, thử nghiệm các loại resouce
Trãi nghiệm các loại môi trường K8s
Minikube, Docker for MAC
K8s with tool Rancher
GCE
Kết hợp được với các công cụ hỗ trợ cho K8s
Rancher 2.0
Harbor
Xây dựng demo kết hợp các thành phần + công cụ hỗ trợ K8s
145. Đã làm được
Hiểu sâu hơn về kiến trúc dự án GMO POINT hiện tại
Viết blog và chia sẻ
[Nhập môn Kubernetes P1] - Tại sao Kubernetes là cần thiết?
[Nhập môn Kubernetes P2] - Các môi trường Kubernetes
[Nhập môn Kubernetes P3] - Sử dụng Rancher 2.0, Cấu trúc môi trường Kubernetes
[Nhập môn Kubernetes P4] - Nền tảng Kubernetes
[Nhập môn Kubernetes P5] - Kubernetes Workloads Resource (1)
[Nhập môn Kubernetes P6] - Kubernetes Workloads Resource (2)
[Nhập môn Kubernetes P9] - Kubernetes Config&Storage Resource (1)
[Nhập môn Kubernetes P11] - Quản lý Container Images bảo mật với Harbor
146. Chưa làm được
Chưa tìm hiểu hết được các resource trong K8s
148. Chưa làm được
Chưa tìm hiểu hết được các resource trong K8s
Demo còn nhỏ, chưa thể hiện được sự phức tạp và phát huy sức mạnh của
K8s
Chưa kết hợp với Ansible để cấu trúc và deploy k8s resource
149. Hướng phát triển
Tìm hiểu về các resource còn lại
Kết hợp với Ansibe
Tìm hiểu MetalLB để Loadbalancer
Sử dụng công cụ hỗ trợ
Prometheus – Grafana: system & time series database
Elasticsearch – Fluent – Kibana: log collect and monitoring
Editor's Notes
#12: Với việc sử dụng docker, mỗi môi trường phần mềm sẽ được đóng gói lại một cách gọn nhẹ, di động, và hoạt động độc lập đồng thời chạy nhất quán trên hầu hết nền tảng phần cứng.
#13: Bằng cách sử dụng công nghệ container, vấn đề triển khai hệ thống phần mềm đã được giải quyết, giảm được độ phức tạp của việc triển khai nxm lần xuống còn n lần đóng gói phần mềm vào container.