Skip to content

Commit f19ee9d

Browse files
committed
timoni: update docs
Signed-off-by: Manuel Morejon <[email protected]>
1 parent 9f78c95 commit f19ee9d

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

docs/kubernetes-timoni.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,30 @@ kubectl cluster-info
6767
```
6868
</details>
6969

70+
## Pull Cinema bundle
71+
72+
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.
73+
74+
```
75+
timoni artifact pull oci://ghcr.io/mmorejon/bundles/cinema
76+
```
77+
78+
<details>
79+
<summary>Result</summary>
80+
81+
```bash
82+
7:32PM INF extracted: .
83+
```
84+
</details>
85+
86+
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.
87+
7088
## Deploy Cinema project
7189

72-
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.
90+
Explore the bundle file to identify the components inside it.
7391

7492
```bash
75-
cat timoni/bundles/cinema.cue
93+
cat ./cinema.cue
7694
```
7795

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

175193
```bash
176-
timoni bundle apply --file timoni/bundles/cinema.cue
194+
timoni bundle apply --file cinema.cue
177195
```
178196

179197
<details>

0 commit comments

Comments
 (0)