• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

AbstractInfrastructure/k8s-intro-tutorials: Kubernetes Intro Tutorials

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

AbstractInfrastructure/k8s-intro-tutorials

开源软件地址(OpenSource Url):

https://github.com/AbstractInfrastructure/k8s-intro-tutorials

开源编程语言(OpenSource Language):


开源软件介绍(OpenSource Introduction):

Kubernetes Tutorials

Before you begin

These tutorials accompany the presentation Introduction to Kubernetes and make use of kind. A tool that allows users to quickly spin up and run a single instance of Kubernetes locally using Docker. To install it and the other tutorial dependencies, see the Installation Guides section.

Each section assumes an instance of kind is up and running. To start kind for the first time, use the command:

kind create cluster

Tutorials have been validated against kind v0.14.0 running Kubernetes v1.24.x and kubectl 1.24.0


Tutorial Index

  • cli - Covers the basics of using kubectl to interact with a Kubernetes cluster.
  • core - Tutorial of the core concepts, or building blocks of Kubernetes.
  • workloads - Walkthrough of the different types of application workloads.
  • storage - Explores the relationship between Persistent Volumes, Persistent Volume Claims, and Volumes themselves.
  • configuration - Tutorials going over how to use the two Configuration objects ConfigMaps and Secrets.
  • Examples - Examples of full blown applications to explore after the tutorials have been completed.

Installation Guides

The Installation guides are centered around using Docker. Please ensure you have Docker installed by following their installation guide for your platform.


OSX Installation Guide

Installation on OSX is done with Homebrew, an OSX package manager. If you have not installed it previously, please see their installation guide before continuing.

Install git, kubectl, and kind

brew install git kubernetes-cli kind

Once done, verify your Install.

Optional: You can improve the general user experience of working with kubectl by installing command-completion


Windows Installation Guide

Installation on Windows is done with chocolatey, a Windows Package Manager. If you have not installed it previously, please see their installation guide before continuing.

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

Install git, kubectl, and kind.

choco install git kubernetes-cli kind

Once done, verify your Install.


Linux

Linux installation is different for each distro. General install information is linked below:

Once done, verify your Install.

Optional: You can improve the general user experience of working with kubectl by installing command-completion


Verifying Install

With the software installed you can verify it is working correctly by executing:

kind create cluster

This will take a little bit of time the first time it is run as it will download its needed dependencies and starts the container. When it completes, you can verify it is working correctly by executing:

kubectl version

You should get output similar to the following:

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.0", GitCommit:"4ce5a8954017644c5420bae81d72b09b735c21f0", GitTreeState:"clean", BuildDate:"2022-05-19T15:39:43Z", GoVersion:"go1.18.1", Compiler:"gc", Platform:"linux/amd64"}

After that you may stop the container with:

kind delete cluster

Troubleshooting Install Problems

(This tutorial has been recently updated. After running tutorials it will be updated with what we've learned!)




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap