Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pages/guides/caddy2.7-go1.21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/caddy2.7-go1.21/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/caddy2.7-go1.21/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/caddy2.7-go1.21/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/debian-ssh.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/debian-ssh` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/debian-ssh/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/debian-ssh/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/dragonflydb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/dragonflydb/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/dragonflydb/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/dragonflydb/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/duckdb-go1.21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/duckdb-go1.21/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/duckdb-go1.21/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/duckdb-go1.21/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/github-webhook-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/github-webhook-node/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/github-webhook-node/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/github-webhook-node/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/grafana.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ To run it, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/grafana/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/grafana/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/grafana/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/haproxy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/haproxy/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/haproxy/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/haproxy/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-boost1.74-gpp13.2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-boost1.74-gpp13.2/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-boost1.74-gpp13.2/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-boost1.74-gpp13.2/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-bun.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-bun` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-bun/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-bun/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-c-debug.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-c-debug` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-c-debug/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-c-debug/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-dotnet10.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-dotnet10.0/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-dotnet10.0/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-dotnet10.0/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-elixir1.16.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-elixir1.16/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-elixir1.16/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-elixir1.16/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-erlang26.2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-erlang26.2/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-erlang26.2/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-erlang26.2/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-expressjs4.18-node21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-expressjs4.18-node21` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-expressjs4.18-node21/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-expressjs4.18-node21/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-flask-redis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-flask-redis` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-flask-redis/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-flask-redis/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-gcc13.2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-gcc13.2` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-gcc13.2/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-gcc13.2/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-go1.21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-go1.21/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-go1.21/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-go1.21/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
27 changes: 13 additions & 14 deletions pages/guides/httpserver-go1.22-redis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-go1.22-redis` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-go1.22-redis/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-go1.22-redis/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand All @@ -46,7 +46,7 @@ export UKC_METRO=fra

</CodeTabs>

## Deploy Redis
## Redis

First, deploy the Redis instance.
Redis is an internal service (not publicly accessible), reached via the `go122-redis.internal` domain.
Expand Down Expand Up @@ -115,7 +115,7 @@ scale-to-zero:

</CodeTabs>

## Deploy Go HTTP Server
## Go HTTP Server

Next, deploy the Go HTTP server.
It connects to Redis using the `REDIS_ADDR` and `REDIS_PASS` environment variables:
Expand Down Expand Up @@ -224,15 +224,15 @@ kraft cloud instance list
<CodeTabs syncKey="cli">

```ansi title="unikraft"
METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED
fra httpserver-go-122-redis-app-bnnnc standby <my-org>/httpserver-go-122-redis-app 256MiB 1 frosty-cherry-32qs6na2.fra.unikraft.app 4 minutes ago
fra httpserver-go-122-redis-db-2xc9u standby <my-org>/httpserver-go-122-redis-db 256MiB 1 go122-redis.internal 5 minutes ago
METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED
fra httpserver-go-122-redis-app-bnnnc standby <my-org>/httpserver-go-122-redis-app 256MiB 1 frosty-cherry-32qs6na2.fra.unikraft.app 4 minutes ago
fra httpserver-go-122-redis-db-2xc9u standby <my-org>/httpserver-go-122-redis-db 256MiB 1 go122-redis.internal 5 minutes ago
```

```ansi title="kraft"
NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME
httpserver-go-122-redis-app-bnnnc frosty-cherry-32qs6na2.fra.unikraft.app running since 3secs oci://unikraft.io/<my-org>/httpserver-go-122-redis-a... 256 MiB 1 968.01 ms
httpserver-go-122-redis-db-2xc9u go122-redis.internal running since 35secs oci://unikraft.io/<my-org>/httpserver-go-122-redis-... 256 MiB 1 1707.20 ms
NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME
httpserver-go-122-redis-app-bnnnc frosty-cherry-32qs6na2.fra.unikraft.app running since 3secs oci://unikraft.io/<my-org>/httpserver-go-122-redis-a... 256 MiB 1 968.01 ms
httpserver-go-122-redis-db-2xc9u go122-redis.internal running since 35secs oci://unikraft.io/<my-org>/httpserver-go-122-redis-... 256 MiB 1 1707.20 ms
```

</CodeTabs>
Expand All @@ -248,8 +248,7 @@ unikraft instances delete httpserver-go-122-redis-db-2xc9u httpserver-go-122-red
```

```bash title="kraft"
kraft cloud instance remove httpserver-go-122-redis-db-2xc9u
kraft cloud instance remove httpserver-go-122-redis-app-bnnnc
kraft cloud instance remove httpserver-go-122-redis-db-2xc9u httpserver-go-122-redis-app-bnnnc
```

</CodeTabs>
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-gpp13.2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-gpp13.2/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-gpp13.2/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-gpp13.2/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-java17-spring-petclinic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-java17-spring-petclinic/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-java17-spring-petclinic/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-java17-spring-petclinic/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-java17-springboot3.5.x.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-java17-springboot3.5.x/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-java17-springboot3.5.x/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-java17-springboot3.5.x/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-java21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-java21` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-java21/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-java21/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
8 changes: 4 additions & 4 deletions pages/guides/httpserver-lua5.1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ To run this example, follow these steps:

2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-lua5.1/` directory:

```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-lua5.1/
```
```bash
git clone https://github.com/unikraft-cloud/examples
cd examples/httpserver-lua5.1/
```

Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you.
This guide uses `fra` (Frankfurt, 🇩🇪):
Expand Down
Loading
Loading