Creating a Service

    To create a Knative service, you will need:

    Procedure

    Tip

    Create a sample service:

    Apply YAML

    1. 1. Apply the YAML file by running the command:

      Where is the name of the file you created in the previous step.

    After the service has been created, Knative performs the following tasks:

    • Performs network programming to create a route, ingress, service, and load balancer for your app.
    • Automatically scales your pods up and down based on traffic, including to zero active pods.