Skip to content

Commit

Permalink
timoni: update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Morejon <manuel@mmorejon.io>
  • Loading branch information
mmorejon committed Dec 10, 2023
1 parent 9f78c95 commit f19ee9d
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions docs/kubernetes-timoni.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,30 @@ kubectl cluster-info
```
</details>

## Pull Cinema bundle

The bundle [cinema](https://github.com/mmorejon/microservices-docker-go-mongodb/pkgs/container/bundles%2Fcinema) is an [OCI artifact](https://timoni.sh/bundle-distribution/) that describe the cinema deployment.

```
timoni artifact pull oci://ghcr.io/mmorejon/bundles/cinema
```

<details>
<summary>Result</summary>

```bash
7:32PM INF extracted: .
```
</details>

The OCI artifact contains a `cinema.cue` [bundle](https://timoni.sh/bundles/) file. This file is extracted in the root folder where the command was executed. From Timoni perspective, a bundle is a declarative way of managing the lifecycle of applications and their infra dependencies.

## Deploy Cinema project

The Cinema project is described as a [bundle](https://timoni.sh/bundles/). From Timoni perspective, a bundle is a declarative way of managing the lifecycle of applications and their infra dependencies.
Explore the bundle file to identify the components inside it.

```bash
cat timoni/bundles/cinema.cue
cat ./cinema.cue
```

<details>
Expand Down Expand Up @@ -173,7 +191,7 @@ All instances make reference to OCI artifacts stored in GitHub container registr
Deploy the cinema bundle:

```bash
timoni bundle apply --file timoni/bundles/cinema.cue
timoni bundle apply --file cinema.cue
```

<details>
Expand Down

0 comments on commit f19ee9d

Please sign in to comment.