https://github.com/linode/linode-k8s-e2e-tests
A collection of end-to-end test for Kubernetes running on Linode
https://github.com/linode/linode-k8s-e2e-tests
Last synced: 11 months ago
JSON representation
A collection of end-to-end test for Kubernetes running on Linode
- Host: GitHub
- URL: https://github.com/linode/linode-k8s-e2e-tests
- Owner: linode
- License: apache-2.0
- Created: 2019-04-17T04:09:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T22:08:41.000Z (over 2 years ago)
- Last Synced: 2025-06-27T23:07:15.921Z (12 months ago)
- Language: Go
- Homepage: https://linode.com/kubernetes
- Size: 45.4 MB
- Stars: 6
- Watchers: 14
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linode Kubernetes End-to-end (e2e) tests
This repository contains e2e tests for Linode Kubernetes Engine (LKE)
## How to run these tests
Install the following packages (macOS examples)
```shell
brew install terraform # >= v1.0.0
brew install golang # >= 1.17.0
brew install kubectl
brew install hg
```
Add the following environment variables to your shell rc
```
export LINODE_API_TOKEN=
export GOPATH=$HOME/go
export PATH=$HOME/go/bin:$PATH
export GO111MODULE=on
```
If you need a Linode API token visit this page:
https://cloud.linode.com/profile/tokens
Then, `go get` this repo
`go get github.com/linode/linode-k8s-e2e-tests`
That may fail, if it does, navigate to the directory that was created and run `go mod tidy`:
```
cd ~/go/src/github.com/linode/linode-k8s-e2e-tests
go mod tidy
```
By default the tests use $HOME/.ssh/id\_rsa.pub as the public key used to provision the cluster, so it needs to be added to your agent.
```
ssh-add $HOME/.ssh/id_rsa
```
Then, run the tests
```
make test
```