3 views

docker-handson-guide: minikube on ubuntu 17.10 vm

installation We have kubectl and minikube for minikube solution. kubectl installation verify by enable shell autocompletion for kubectl by: minikube installation here you go, install docker on ubuntu There is not docker-ce on ubuntu 17.10, but can install from 17.04 repository: verify here, start minikube on ubuntu By default minikube will look for virtualbox when(…)

3 views

docker-handson-guide: minikube deployment on portabledevops

minikube setup How to setup minikube on portabledevops, please refer previous post. Assume minikube and kubectl install and run properly, cluster check version start cluster deploy app self-healing mechanism to address machine failure or maintenance, if node down or deleted, controller will replace it need to specify the container image for your app and number(…)

6 views

docker-handson-guide: minikube on portabledevops

minikube on portabledevops minikube is the solution for single node kubernetes cluster inside a VM. portabledevops is portable devops tool set on windows, I used msys64 as demo on win7 here. minikube features DNS NodePorts ConfigMaps and Secrets Dashboards Container Runtime: Docker, and rkt Enabling CNI (Container Network Interface) Ingress kubernetes concept master coordinates all(…)

2 views

Post setup for ubuntu desktop 17.04 vmware vm

vmware config 1 CPU 4G memory 100GB harddisk network: NAT test NAT Internet access ssh server on vm then you can ssh from host to vm using putty for rest CLI works. update packages hgfs share folder vmware tools not working for hgfs, only solution is to use open-vm-tools, after reboot, can see hgfs mount(…)

4 views

sudo unable to resolve host

Found sudo not working for all command and got error: ubdev is my current hostname. The sudo is still working and but taking long time. Finally the issue is on /etc/hosts, hostname mismatch with real hostname after last time I changed hostname from ubuntu to ubdev. change ubuntu to ubdev, sudo back to normal.

6 views

markdown with sublime text

markdown syntax plugin MarkdownEditing is syntax highlighting and Markdown editing plugin. install MarkdownEditing dark theme The default markdown theme is grey, I prefer dark theme so this is how to change it. Preferences/Package settings/Markdown Editing/Markdown (Standard).sublime-settings, add line you can find “Markdown (Standard).sublime-settings” in sublimetext3\Data\Packages\User or ~/.config/sublime-text-3/Packages/User. markdown live preview OmniMarkupPreviewer is web based live(…)

3 views

Google cloud hands-on guide: Monitoring Cloud with Stackdriver

Google cloud hands-on guide: Monitoring Cloud with Stackdriver qwiklabs GCP notes. Stackdriver Monitoring provides – dashboards and alerts to review performance metrics for cloud services, virtual machines, and common open source servers such as MongoDB, Apache, Nginx, Elasticsearch, and more – configure using the Stackdriver Monitoring Console create a vm create a vm my-vm1 in(…)

11 views

Google cloud hands-on guide: Network and HTTP Load Balancers

Google cloud hands-on guide: Network and HTTP Load Balancers qwiklabs GCP notes. two type of load balancer – L3 Network Load Balancer – L7 HTTP(s) Load Balancer Create multiple web server instances create start script to setup nginx on each vm then create instance template using startup script create target pool allow to have a(…)

7 views

Google cloud hands-on guide: Kubernetes

Google cloud hands-on guide: Kubernetes qwiklabs GCP notes. replicated application running on Kubernetes Hello World node.js app Kubernetes open source project kubernetes.io run on many diff env, vm or bare metal, public or private cloud tasks Create a Node.js server Create a Docker container image Create a container cluster Create a Kubernetes pod Scale up(…)

4 views

Google cloud hands-on guide: Creating a Persistent Disk

Google cloud hands-on guide: Creating a Persistent Disk qwiklabs GCP notes. what is persistent disk Google Compute Engine provides persistent disks for use as the primary storage for your virtual machine instances. – persistent disks exist independently of the rest of your machine – when vm deleted, attached persistent disk continues to retain its data,(…)