Create and expose a Knative service with Otomi
In his tutorial, we are going to create a Knative service with Otomi Console and publicly expose it.
- Go to the Apps section under Platform in the side menu and Drag and Drop Knative from the Disabled apps to the Enabled apps and Deploy changes
- In the top bar in Otomi Console, select team demo
- In the side menu under the Team demo, click
Services
then click onCreate Service
- Fill in the form with these values:
- Name: hello-otomi
- Service type: New Knative service
- In the
Security context
block, fill in1001
in theRun As User
field - In the
Container image
block, fill in the name of the image you previously pushed to Harbor in theRepository
field and fill inlatest
in theTag
field - In the
Container resources
block, fill in theLimits
andRequests
(use the provided values: 50m and 64Mi) - Exposure: Public
- Click on
Submit
- Click on
Deploy Changes
(the Deploy Changes button in the left panel will light-up after you click on submit)
Deploying changes in Otomi usually takes just a couple of minutes.
Go to https://hello-otomi.team-demo.<your-ip>.nip.io/
to see the app.