반응형

Requirement
In order to create a Kubernetes cluster locally, we need to install:
- Minikube: managing Kubernetes cluster on the local machine
- Kubectl: command line tools for Kubernetes
For Mac:
brew install kubectl
Exposing port
In order to run images locally with Kubernetes, we can expose the image port by the
port-forward
command:
kubectl port-forward pod/hello-world 8088 : 80
반응형