Category Archives: Uncategorized

Kubernetes #3 – MetalLB and Dashboard

” Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters. It allows users to manage applications running in the cluster and troubleshoot them, as well as manage the cluster itself. “ Install and setup MetalLB For installing the Dashboard we need the installed Metrics server. Additionaly we need a load balancer. In cloud… Read More: Kubernetes #3 – MetalLB and Dashboard »

Kubernetes #2 – Metrics Server

Note: This post was updated to actual (0.3.6) version of Kubernetes Metrics Server at 2020.06.10. For using kubectl top command we need metrics server, formally called Heapster. You can find the Kubernetes Metrics server at github: https://github.com/kubernetes-sigs/metrics-serverDocumentation: https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline You can check the versions at https://github.com/kubernetes-sigs/metrics-server/releases . To innstall the version 0.3.6 execute the following command:… Read More: Kubernetes #2 – Metrics Server »

Kubernetes #1 – Basic install

This is a first attempt to create a clustered/cloud application on virtual machines running on bare metal(s). Host machine may be any Linux distribution which supports KVM. I used Linux Mint 18 in this case as KVM host. You can use more physical machines with oVirt or other virtualization technology. On virtual machines (VMs) was… Read More: Kubernetes #1 – Basic install »

Tricks in command line

Serve current directory tree at http://$HOSTNAME:8000/ $ python -m SimpleHTTPServer Currently mounted filesystems in nice layout $ mount | column -t Get your external IP address / host / user agent / port from http://ifconfig.me/ $ curl ifconfig.meor$ curl ifconfig.me/ip$ curl ifconfig.me/host$ curl ifconfig.me/ua$ curl ifconfig.me/port Execute a command at one, given time $ echo… Read More: Tricks in command line »

Save file to your Nextcloud from bash

Sometimes you need to upload from command line to you Nextcloud storage. You can do it with a simple curl command. At first you have to create a shared directory in your Nextcloud with “Allow upload and editing” share option. You will get a share link for example: https://nextcloud.myserver.com/index.php/s/gz8BS7mtxGbwkQB The string “gz8BS7mtxGbwkQB” will be used… Read More: Save file to your Nextcloud from bash »