Showing posts with label Kubernetes. Show all posts
Showing posts with label Kubernetes. Show all posts

Sunday, May 08, 2022

Allow external clients to connect to minikube service

Allow external clients to connect to minikube service

Say you have a minikube cluster, you can use this minikube start tutorial as a reference, how can external applications or clients connect to it? You can run the following to expose balanced service (for example):
$: kubectl port-forward --address 0.0.0.0 service/balanced 8080:8080

Refs:
https://stackoverflow.com/questions/64881583/how-to-access-external-service-using-the-minikube-hosts-public-ip-address
Keywords: Kubernetes k8s minikube port forward

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...