NodePort Service

Challenge

Use kubectl to create a namespace {yourname} and deploy the below into that namespace:

  • Deployment
    • Image = sirfragalot/docker-demo:dcus (listens on port 8080)
    • Replicas = 3
    • Service Type = NodePort

Expand here to see the solution