Skip to main content

Git repository

Install a Helm chart you keep in a GitHub repository. You point at the branch or tag and the chart's folder; AstroPulse installs it and keeps the cluster matching the branch, so a push reaches the cluster without a redeploy. Use it for your own charts, private ones included. No chart yet? Ask Nova to write one for your service, then push it to the repository.

Before you start​

  • A cluster with an application profile. The wizard picks or creates one for you.
  • The repository connected through the GitHub integration, under Integrations > GitHub. Private repositories work the same as public ones once connected.
  • A folder in the repository that holds the chart's Chart.yaml.

In the console​

  1. Open Workloads > Applications > Deploy application. Enter the Application name and pick the Target Cluster.

  2. On Profile, keep the profile picked for the cluster, or select Create New.

  3. On Source, select Repository. Enter the Repository URL, for example https://github.com/astropulseinc/latency-app.git. Browse beside it opens your connected repositories on the GitHub page in a new tab.

  4. Enter the Branch / Tag, for example v1.1.0. A tag pins the chart; a branch follows every push.

  5. Under Path to Helm Chart, enter or Browse to the folder that holds Chart.yaml, for example charts/latency, then select Validate: it checks the chart exists at that path. Optional: set the Helm Chart Release Name under Advanced Configuration; it cannot change after the first deploy.

    Open zoom view

    The Source step with Repository: a GitHub repository, its tag and the chart path

    The Source step with Repository: a GitHub repository, its tag and the chart pathThe Source step with Repository: a GitHub repository, its tag and the chart path
  6. Optional: on Values, add values files from the same repository, for example values-prod.yaml. Paths are relative to the chart's folder.

  7. Select Review, run the dry run, then Deploy.

You should see​

The application's page in Workloads > Applications shows Running once the chart's resources are up, with its running configuration, events and logs.

Open zoom view

An application's Overview with its running configuration

An application's Overview with its running configurationAn application's Overview with its running configuration

If it does not start, its Events and Logs tabs say why: Troubleshoot.

How changes reach the cluster​

With Sync Type Automatic (the default, on the Options step), AstroPulse keeps the cluster matching the branch: a push that changes the chart or its values files reaches the cluster on its own, within 3 to 5 minutes. A tag or a commit SHA never moves, so nothing changes until you point the application at a new one from its Update tab. A synced push is not a version: AstroPulse records a version only when it applies the application, such as an apply from the Update tab, and only versions can be rolled back to. History lists those versions, with drift, self-heal and failed syncs shown without a version number.

When a change removes a resource from what the chart renders, AstroPulse removes it from the cluster.

Values files​

Values files are merged in the order you list them, over the chart's own values.yaml; a later file wins. Keep one file per environment, for example values/staging.yaml and values/production.yaml, and deploy one application per environment.

Reaching the application​

A Helm application is reached the way its chart exposes it: the chart's own Ingress or Service, set in its values. The Access step and Custom domain apply to image and model applications.

Other ways in​

  • Nova: ask it to deploy the chart from your repository, or to write a chart for your service.
  • SDK and API: the same manifest: Deploy an application.

With astroctl​

application.yaml
apiVersion: platform.astropulse.io/v1
kind: Application
spec:
name: latency-chart
profileName: default-profile
source:
type: Repository
repository:
repo:
repoURL: https://github.com/astropulseinc/latency-app.git
targetRevision: v1.1.0
path: charts/latency
values:
type: Files
files:
- values-prod.yaml
Terminal
astroctl app apply -f application.yaml --dry-run
astroctl app apply -f application.yaml

See the astroctl reference.

Settings​

The settings every source shares (name, profile, namespace, sync) are on Sources. These are specific to a Git repository:

Repository URLsource.repository.repo.repoURLRequired

The GitHub repository, connected through the GitHub integration.

Branch / Tagsource.repository.repo.targetRevisionRequired

The branch, tag or commit SHA to install. A branch follows every push; a tag or SHA stays fixed.

Path to Helm Chartsource.repository.repo.pathRequired

The folder that holds the chart's Chart.yaml, relative to the repository root.

Values Files Selectionsource.repository.values

Values files from the repository, relative to the chart's folder, in files with type: Files. Or overrides inline in object with type: Object.

Accepts
Files ending in .yaml or .yml.
Helm Chart Release Namesource.repository.repo.releaseName

The Helm release name. Fixed once the application exists.

Default
The application's name.

If it's refused​

"GitHub integration required. Set up GitHub integration first."
Cause
No GitHub account is connected to the organization.
Fix
Connect one under Integrations > GitHub, then pick the repository again.
"Path should be the directory containing Chart.yaml, not the Chart.yaml file itself"
Cause
The path ends in Chart.yaml.
Fix
Remove the file name, for example charts/latency.
"Directory not found in repository. Check the file path."
Cause
The folder does not exist on that branch or tag.
Fix
Pick it with Browse, or check the Branch / Tag.
"Values files must have .yaml or .yml extension"
Cause
A values file has another extension.
Fix
Rename it, or pick a .yaml or .yml file.

Next​