在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):gravitational/workshop开源软件地址(OpenSource Url):https://github.com/gravitational/workshop开源编程语言(OpenSource Language):Go 51.1%开源软件介绍(OpenSource Introduction):Gravitational WorkshopsOpen source series of workshops delivered by Gravitational services team.
InstallationRequirementsYou will need a Linux or macOS box with at least DockerFor Linux: follow instructions provided here. If you have macOS (Yosemite or newer), please download Docker for Mac here. Older docker package for OSes older than Yosemite -- Docker Toolbox located here. HypervisorHyperKit [macOS only]HyperKit is a lightweight macOS hypervisor which minikube supports out of the box and which should be already installed on your machine if you have Docker for Desktop installed. More information: https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/. Alternatively, install VirtualBox like described below. KVM2 [Linux only]Follow the instructions here: https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/. Alternatively, install VirtualBox like described below. VirtualBox [both macOS and Linux]Let’s install VirtualBox. Get latest stable version from https://www.virtualbox.org/wiki/Downloads. Note: When using Ubuntu you may need to disable Secure Boot. For an alternative approach to installing with Secure Boot enabled, follow the guide here. KubectlFor macOS:
For Linux:
MinikubeFor macOS:
For Linux:
Also, you can install drivers for various VM providers to optimize your minikube VM performance. Instructions can be found here: https://github.com/kubernetes/minikube/blob/master/docs/drivers.md. Xcode and local toolsXcode will install essential console utilities for us. You can install it from the App Store. Set up cluster using minikubeTo run cluster: macOS # starts minikube
$ minikube start --kubernetes-version=v1.16.2
# this command should work
$ kubectl get nodes
# use docker from minikube
$ eval $(minikube docker-env)
# this command to check connectivity
$ docker ps Linux # starts minikube
$ minikube start --kubernetes-version=v1.16.2 --vm-driver=kvm2
# this command should work
$ kubectl get nodes
# use docker from minikube
$ eval $(minikube docker-env)
# this command to check connectivity
$ docker ps Clone the Workshop repository$ git clone https://github.com/gravitational/workshop.git
$ cd workshop Configure registry
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论