Our great sponsors
-
vm-to-kubernetes-demo
Demo to show how to make VM talk to kubernetes services/pods using ClusterIP and PodIP
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Download or clone the demo sources from my GitHub repository,
If you do kubectl get pods --all-namespaces will show all the pods in Pending state, that's because we don't have any network plugin configured with our Kubernetes cluster. I use Calico network plugin for this demo but you can use any Kubernetes network plugin of your choice as long it has ability to define host gateway routes.
multipass
A very common scenario in an everyday Cloud Native Developer's life is to make disparate systems and services to talk to each other. A classic example How to call a Kubernetes service from service from an VM without using LoadBalancer type Kubernetes services i.e. using Cluster-IP or Pod-IP?
For this demo we will be using k3s as our Kubernetes platform. We will setup k3s on multipass Ubuntu vm. Before we create our VM and deploy k3s let us understand the settings that we will be using for the k3s Kubernetes cluster,
direnv