Guide for installing ale locally and deploying an application to a local K8s cluster.
ale
.Docker Desktop
Apply & restart
at the bottom.OrbStack
Apply
at the bottom.kind
Enter the following commands to install the `ale-run` package:
Run the following commands to install the Nginx Ingress Controller:
Run the following command to install the Metrics Server:
Enter the following command to run ale in development mode:
Select the cluster where you want to deploy services using ale. The cluster list is retrieved from the contexts registered in `~/.kube/config`.
GitHub Integration for Local Environment
After logging into GitHub, go to Settings > Developer Settings > GitHub Apps and click New GitHub App.1-1. Provide Basic Information
Enter the following information to create your GitHub App:
http://localhost:9001
Add Callback URL
)
http://localhost:9009/oauth/github/callback
http://localhost:9009/oauth/github/connect/callback
ale
.http
instead of https, and localhost:9009
is ale
’s API endpoint address.Uncheck Active in the Webhook section to disable it.1-3. Grant Permissions and Create APP
Grant the following permissions in the Permission section and click Create GitHub App
to create your APP:
Repository permissions (9)
Organization permissions (2)
Account permissions (1)
To add GitHub OAuth to ale
, you’ll need 4 ID/Key values in addition to the GitHub App Name:
After creating the App with the granted permissions, you can view the App ID and Client ID.2-2. Client Secret
On the same screen, click Generate a new client secret
to create and view the Client Secret.
2-3. Private Key
Click Generate a private key
at the bottom of the screen to download the pem file.
3. Integrate GitHub App in aleEnterhttp://localhost:9001
in your browser’s address bar to access the operation system, then go to Settings > Authentication > GitHub dropdown. Enter the values obtained from the previous steps into each field and clickApply
.
Go tohttp://localhost:9001
. On first access, you’ll be connected to the default@dev
space.
Accessing the operations system
You can access the operation system by clicking the space name in the top left of the dashboard and selecting the operation system.
On the dashboard, click or ⌘ + K
to open the deployment modal, then select the HTTPBin template.
Without changing any settings, click Deploy
at the bottom.
Once deployment is complete, you can access the preview page.
ale
, refer to the Deploying with ale page.