MicroK8s - MicroK8s with an external LMA
microk8s.io › docs › external-lmaMetrics server collects resource metrics from kubelets and exposes them in Kubernetes apiserver through the Metrics API. Metrics server is not meant for non-autoscaling purposes. To get the metrics server running in MicroK8s, run the following: microk8s enable metrics-server Visit the metric project’s docs for alternative installation methods. The focus of the metrics server is on CPU and memory as these metrics are used by the Horizontal and Vertical Pod Autoscalers.
MicroK8s - MicroK8s Add ons
https://microk8s.io/docs/addonsMicroK8s Add ons To be as lightweight as possible, MicroK8s only installs the basics of a usable Kubernetes install: api-server controller-manager scheduler kubelet cni kube-proxy While this does deliver a pure Kubernetes experience with the smallest of resource footprints, there are situations where you may require additional services.
MicroK8s - MicroK8s with an external LMA
https://microk8s.io/docs/external-lmamicrok8s enable metrics-server Visit the metric project’s docs for alternative installation methods. The focus of the metrics server is on CPU and memory as these metrics are used by the Horizontal and Vertical Pod Autoscalers. As a user you can view the metrics gathered with the microk8s kubectl top command.
MicroK8s - MicroK8s Add ons
microk8s.io › docs › addonsmetrics-server: Adds the Kubernetes Metrics Server for API access to service metrics. multus: (1.19+ tracks) Add multus for multiple network capability. openfaas: OpenFaaS, the popular serverless framework, (not available on arm64 arch). openebs: Add OpenEBS storage capability, (not available on arm64 arch).
MicroK8s - Services and ports
https://microk8s.io/docs/services-and-portsMicroK8s - Services and ports Services and ports Services can be placed in two groups based on the network interface they bind to. Services binding to the localhost interface are only available from within the host. Services binding to the default host interface are available from outside the host and thus are subject to access restrictions.
Local K8S deployment with Microk8s
sonata-nfv.github.io › Microk8s-guide-V2Local K8S deployment with Microk8s 4 1.4 Deploy Metrics Server Metrics Server is a cluster-wide aggregator of resource usage data. First, we need to clone the Metrics Server GitHub repository: $ git clone https://github.com/kubernetes-incubator/metrics-server.git We can deploy the file with the following command: