Git Product home page Git Product logo

aspirational-manifests's Introduction

nuget-icon

Aspirate (Aspir8)

Automate deployment of a .NET Aspire AppHost to a Kubernetes Cluster


To Install as a global tool

dotnet tool install -g aspirate --prerelease

NOTE: While Aspirate is in development the package will be versioned as a preview and the --prelease option will get the latest preview.


aspirate.mp4

Generating Manifests (apply)

ContainerRegistry

You're csproj files (projects) that will be build as containers MUST contain ContainerRegistry as a minimum, or the sdk will raise a CONTAINERS1013 error. To get around this - you can either add it as required, or use the 'init' command. The init command allows you to bootstrap certain settings for an asire project that Aspir8 will use.

  • ContainerRegistry: setting this means you do not need one in your csproj, and if it isn't found - all builds will use this.
  • ContainerTag - will override the container tag used if not in your csproj - if not specified in settings, will fall-back to latest.
  • TemplatePath - this customises the path used when loading templates that get transformed to manifests, you can take the templates folder from the source, and modify to your hearts content with all your custom changes, and as long as you don't remove the placeholders, aspirate will use those instead of its built in. More on this and possible use cases (such as adding jobs to create databases etc) when we have docs....

To use the init command, you simply run:

aspirate init

from withinn your AppHost directory - and it'll ask you which settings you'd like to override.

Produce Manifests

Navigate to your Aspire project's AppHost directory, and run:

aspirate generate

Your manifests will be in the AppHost/aspirate-output directory


INFORMATION: Both the following commands will first ask you which context they would like you to operate on, and will confirm first that you wish to act.

Apply Manifests

To apply the manifests to your cluster, run:

aspirate apply

Remove Manifests

To remove the manifests from your cluster, run:

aspirate destroy

Uninstall tool

dotnet tool uninstall -g aspirate

Configuring the Windows Terminal For Unicode and Emoji Support

Windows Terminal supports Unicode and Emoji. However, the shells such as Powershell and cmd.exe do not. For the difference between the two, see What's the difference between a console, a terminal and a shell.

For PowerShell, the following command will enable Unicode and Emoji support. You can add this to your profile.ps1 file:

[console]::InputEncoding = [console]::OutputEncoding = [System.Text.UTF8Encoding]::new()

For cmd.exe, the following steps are required to enable Unicode and Emoji support.

  1. Run intl.cpl.
  2. Click the Administrative tab
  3. Click the Change system locale button.
  4. Check the "Use Unicode UTF-8 for worldwide language support" checkbox.
  5. Reboot.

You will also need to ensure that your Console application is configured to use a font that supports Unicode and Emoji, such as Cascadia Code.

aspirational-manifests's People

Contributors

prom3theu5 avatar timheuer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.