Skip to content

Latest commit

 

History

History

4-expose-services

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

4 Expose services

Load Balancer: Docker and Rancher Desktop

kubectl apply -f podinfo-loadbalancer.yaml

Load Balancer: K3D

k3d cluster create --port 80:80 --k3s-arg '--disable=traefik@servers:*'

kubectl apply -f podinfo-loadbalancer.yaml

Load Balancer: Minikube (tunnel)

Node Port: Kind

kind create cluster --config - <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
  - role: control-plane
    extraPortMappings:
      - hostPort: 80
        containerPort: 30080
EOF