Skip to content
Merged
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
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
This repo is for creating container and virtual machine images using Packer.
This repo contains useful tools used in CI workflows at Zepben.

# Local K8s

Local Kind cluster tooling used for development as well as shared helm repos. See [README](local-k8s/README.md).

# Pipelines

Creating container and virtual machine images using Packer.

#### Tools needed
1. [Packer](https://www.packer.io/downloads.html)
Expand Down
29 changes: 28 additions & 1 deletion local-k8s/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
# Local K8s

Reusable kubernetes cluster for development. Requires kind installed https://kind.sigs.k8s.io/docs/user/quick-start/.
Reusable kubernetes cluster for development and CI. Requires kind installed https://kind.sigs.k8s.io/docs/user/quick-start/.

## Required Files

The tool requires two files:

* kind-cluster.yaml - configures kind. See [example](examples/kind-cluster.yaml).
* components.yaml - configures dependencies to be installed via helm when creating the kind cluster.

## Development

The Makefile in the root of the project contains some targets for interacting with the the tool. Simply run:

```shell
make check-local-k8s test-local-k8s
```

To execute the linters and tests.

To create a local kind cluster, you can run:
```shell
make setup-k8s
```

Be sure to set the env so kubectl and friends operate as expected:

```shell
export KUBECONFIG=/tmp/kind-k8s-conf.yaml
```