Skip to content

Commit

Permalink
revert pulumi state to pulumi cloud svc, add issue for future user ch…
Browse files Browse the repository at this point in the history
…oice after mvp
  • Loading branch information
usrbinkat committed Mar 9, 2024
1 parent fd5a682 commit 43cff8a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 28 deletions.
7 changes: 4 additions & 3 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
##################################################################################
# Aliases
alias k=kubectl

##################################################################################
Expand All @@ -17,6 +19,5 @@ export PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK=true
# Optional Pulumi Environment Variables
# Useful for CI testing
# Uncomment to use local backend instead of Pulumi Cloud
export PULUMI_BACKEND_URL=${PULUMI_BACKEND_URL:-file://${PWD}/.pulumi}
export PULUMI_CONFIG_PASSPHRASE=${PULUMI_CONFIG_PASSPHRASE:-foobarbaz}

#export PULUMI_BACKEND_URL=${PULUMI_BACKEND_URL:-file://${PWD}/.pulumi}
#export PULUMI_CONFIG_PASSPHRASE=${PULUMI_CONFIG_PASSPHRASE:-foobarbaz}
58 changes: 33 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ For more information, see the [Kargo Project FAQ](FAQ.md).

### Goals

* Eliminate the barrier to entry for learning Kubernetes and Cloud Native technologies
* Provide a common platform for the community to collaborate and share knowledge
* Enable anyone to experience the power of owning a local cloud platform
* Accelerate the time-to-achievement for new projects and ideas
* Develop a community library of sharable middleware and application IaC for use on Kargo
* Select enterprise grade technologies and practices to build a valuable learning platform
* Be the best hypervisor and container platform for the Homelab community
- Eliminate the barrier to entry for learning Kubernetes and Cloud Native technologies
- Provide a common platform for the community to collaborate and share knowledge
- Enable anyone to experience the power of owning a local cloud platform
- Accelerate the time-to-achievement for new projects and ideas
- Develop a community library of sharable middleware and application IaC for use on Kargo
- Select enterprise grade technologies and practices to build a valuable learning platform
- Be the best hypervisor and container platform for the Homelab community

### Non-Goals

* Kargo is not a production platform
* Kargo will not try to be everything for everyone
- Kargo is not a production platform
- Kargo will not try to be everything for everyone

## Getting Started

Expand All @@ -45,9 +45,11 @@ If running in Github Codespaces, all you need is a browser and a Github account!

If running locally on your own machine, you will need the following:

* [Visual Studio Code](https://code.visualstudio.com/)
* [Visual Studio Code Remote - Containers Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
* [Docker Desktop](https://www.docker.com/products/docker-desktop)
- [Visual Studio Code](https://code.visualstudio.com/)
- [Visual Studio Code Remote - Containers Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
- [Pulumi Cloud Login & Access Token from app.pulumi.com](https://app.pulumi.com/)
- [Pulumi Cloud PAT Docs](https://www.pulumi.com/docs/pulumi-cloud/access-management/access-tokens/)

#### Server Side Dependencies

Expand All @@ -72,31 +74,37 @@ The Talos documentation and deployment automation is still a work in progress un
1. Clone the Kargo repository to your local machine
2. Open the Kargo repository in VSCode
3. When prompted, click "Reopen in Container" to open the Kargo repository in the Konductor devcontainer
4. Once the devcontainer is open, run the following command to start Kargo on Kind:
4. Login to Pulumi and configure a new pulumi stack for Kargo

> NOTE: substitute your kubecontext name for `kind-kargo` if you are using a different kubecontext.
```bash
# Setup Pulumi CLI
pulumi login
pulumi install
pulumi stack select --create kind-kargo

# Configure Kargo Stack
pulumi config set kubernetes kind
pulumi config set kubecontext kind-kargo
```
5. Start a local Kind cluster
```bash
make kind
```
5. Once the Kind cluster is running, you can validate access the Kubernetes API with the following command:
6. Once the Kind cluster is running, you can validate access the Kubernetes API with the following command:
```bash
kubectl cluster-info
```
6. Deploy the Kargo platform to the Kind cluster with the following commands:

> NOTE: substitute your kubecontext name for `kind-kargo` if you are using a different kubecontext.
7. Deploy the Kargo platform to the Kind cluster with the following commands:
```bash
# Setup Pulumi CLI
pulumi login
pulumi install
pulumi stack select --create kind-kargo

# Configure & Deploy Kargo
pulumi config set kubernetes kind
pulumi config set kubecontext kind-kargo
# Deploy Kargo
pulumi up
```
Expand Down

0 comments on commit 43cff8a

Please sign in to comment.