Quickstart
This guide will walk you through the steps to create a new project from the KSO template.
Prerequisites
- Make sure you have Scala (opens in a new tab) installed on your machine.
- You will need sbt (opens in a new tab) (Scala Build Tool) installed on your machine.
- You also need to have Kubernetes (opens in a new tab) and kubectl (opens in a new tab) installed and properly configured.
Setting Up the Project
To create a new project from the KSO template, use the following sbt
command:
sbt new do4-2022/scala-kube-operator-scaffold.g8
This command will prompt you for the properties needed to generate the project. For more information on the properties, see the Template Properties page.
Navigate to the project directory:
cd project-name
Replace project-name
with the name you provided when generating the project.