Skip to content

Commit

Permalink
Move build and smoke test to the bottom of README
Browse files Browse the repository at this point in the history
building and smoke testing should probably in a separate document, but
keep it at the bottom for now.

Signed-off-by: Natanael Copa <ncopa@mirantis.com>
  • Loading branch information
ncopa committed Nov 16, 2020
1 parent 0910dec commit 753ca56
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,38 +77,6 @@ While some Kubernetes distros package everything and the kitchen sink in, k0s tr

With strong enough arguments we might take in new addons but in general those should be something that are essential for the "core" of k0s.

## Build

`k0s` can be built in 3 different ways:

Fetch official binaries (except `kine` and `konnectivity-server`, which are built from source):
```
make EMBEDDED_BINS_BUILDMODE=fetch
```

Build Kubernetes components from source as static binaries (requires docker):
```
make EMBEDDED_BINS_BUILDMODE=docker
```

Build k0s without any embedded binaries (requires that Kubernetes
binaries are pre-installed on the runtime system):
```
make EMBEDDED_BINS_BUILDMODE=none
```

Builds can be done in parallel:
```
make -j$(nproc)
```

## Smoke test

To run a smoke test after build:
```
make check-basic
```

## Cluster bootstrapping

Move the built `k0s` binary to each of the nodes.
Expand Down Expand Up @@ -149,3 +117,35 @@ Just grab the kubeconfig with `docker exec k0s-controller cat /var/lib/k0s/pki/a

Read more details at [running k0s in Docker](docs/k0s-in-docker.md).

## Build

`k0s` can be built in 3 different ways:

Fetch official binaries (except `kine` and `konnectivity-server`, which are built from source):
```
make EMBEDDED_BINS_BUILDMODE=fetch
```

Build Kubernetes components from source as static binaries (requires docker):
```
make EMBEDDED_BINS_BUILDMODE=docker
```

Build k0s without any embedded binaries (requires that Kubernetes
binaries are pre-installed on the runtime system):
```
make EMBEDDED_BINS_BUILDMODE=none
```

Builds can be done in parallel:
```
make -j$(nproc)
```

## Smoke test

To run a smoke test after build:
```
make check-basic
```

0 comments on commit 753ca56

Please sign in to comment.