Welcome to the Linux Foundation Forum!

Lab 7.1: Step 3 not quite right

bryonbakerbryonbaker Posts: 28
edited February 2019 in LFD259 Class Forum

A small update to the material for Lab 7.1...

The YAML in step 3 includes NodePort:

  - port: 80
    example: second
  type: NodePort

If you specify NodePort a random high port is being created:

NAME         TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE
kubernetes   ClusterIP        <none>        443/TCP        32d
nginx        ClusterIP    <none>        443/TCP        31d
registry     ClusterIP   <none>        5000/TCP       31d
secondapp    NodePort    <none>        80:32650/TCP   6s 

If you remove type: NodePort form the YAML then it creates the service as per the lab steps.


  • That's a good catch @bryonbaker! The source YAML file for the secondapp service on Step 3 will be revised in a future course update release.

Sign In or Register to comment.