MicroK8s presentations - Part I

Each developers, system administrators, and technology enthusiasts have a strong interest in learning Kubernetes. Kubernetes is a complex orchestration tool container, slightly more difficult for beginners. Kubernetes technology industry has been the buzzword, and indeed very popular. If you're eager to start and do not expect to use Kubernetes complexity involved, then the first blog of this series is for you to prepare. We will introduce you to use your MicroK8s deployment up and running quickly in Kubernetes. The following blog'll dive into additional components and usage.

What MicroK8s?

MicroK8s is a powerful, lightweight, reliable production Kubernetes derivative version. It is an enterprise-class Kubernetes release, has a small disk and memory footprint, while providing production-level add-ons out of the box, such as Istio, Knative, Grafana, Cilium and so on. Whether you're running a production environment is still interested in exploring K8s, MicroK8 can meet your needs.

Why MicroK8s?

MicroK8s is the smallest, fastest multi-node Kubernetes. Single package exactly the same lightweight Kubernetes, applies to 42 kinds of Linux distributions , and the use of Multipass Mac and Windows. For: developer workstation, IoT (IOT), Edge (edge calculation), CI / CD.

Try to use too Kubernetes knows must deal with the pain to set up and run deployment. On the market minimalist solution that can reduce deployment time and complexity, yet lightweight solutions at the expense of critical scalability and lack of accessories are available for the price.

If you do not want to spend time in the pit which let Kubernetes up and running, MicroK8s will let you start within 60 seconds.

  • Lightweight Gender: developers want the smallest K8s for notebook and workstation development. When you run on Ubuntu when, MicroK8s provide compatibility with Azure AKS, Amazon EKS, Google GKE independent K8s.
  • Simplification: single package to minimize installation and management operations, the package has no moving parts and to simplify the determination. It includes all components and dependencies.
  • Security: Update applies to all security problems can be immediately applied or planned maintenance periods that you want to execute.
  • Current version: MicroK8s track upstream and released the same day beta, RC and the official version, the same as the upstream K8s. You can track the latest K8s or from 1.10 began to insist any release.
  • Comprehensive: MicroK8s includes a set of common K8s for planning functions and services:
  1. Service Mesh: Istio, Linkerd
  2. Serverless: Knative
  3. Monitoring: Fluentd, Prometheus, Grafana, Metrics
  4. Ingress, DNS, Dashboard, Clustering
  5. Automatic updates to the latest Kubernetes version
  6. GPGPU bindings for AI/ML
  7. Cilum, Helm and Kubeflow!

Prepare materials:

Want to allow MicroK8s, you need a Linux computer and snap support applications, such as Ubuntu. If you are using Windows or Mac OS, you can use the Multipass to allow MicroK8s.

Start:

Now, I know what we are MicroK8s, then the installation process is very simple.

installation:

sudo snap install microk8s --classic

Start and view MicroK8s states:

sudo microk8s.start //启动MicroK8s
sudo microK8s.status //查询当前状态

I4EhQFDMOWefM9gmK5usIn5L390iB42-vrIaIQvJsdGTCr9XIVbretrft2uGjhD1CnIWA6vLD6yjvhRt2cTd-SpxxVr77C5M6ouB1yq5AHAAto3zAHZbDkKXBoNNhTV-zPctt0Ktuploading.4e448015.gifDump failed to re-upload canceled

After the implementation you can see what is shown above, you can see MicroK8s already running, it means you have been running Kubernetes.

The next step

If you manually set usually have a lot of obstacles and complexity, MicroK8s only a simple command to install. Now that you've begun to deploy Kubernetes, this is just a start. To do useful things, you need to set a more complex task to set the component according to the work. This is a handy add-ons, MicroK8s equipped with a powerful additional features, again, you use a few lines of command to avoid setting the complexity of these functions.

The next blog article will explore a use case, look at the power and magic use MicroK8s simplified K8s it!

Original articles published 0 · won praise 0 · Views 536

Guess you like

Origin blog.csdn.net/qingdao666666/article/details/104631198