Skip to content

camaeel/chain-ingress-and-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

Install:

  • docker
  • kubectl
  • kind
  • cloud-provider-kind
  • mkcert
  • helm

Install

To install all necessary resources run:

./install.sh

Tests

Install test workload

kubectl apply test-setup/namespace.yaml && kubectl apply test-setup

Test gateway

Execute:

curl 'ingress-gw.test.home.kamilk.eu/get?show_env=1'

Test ingress

curl -v 'https://ingress.test.home.kamilk.eu/get?show_env=1' -k

Have docker, kubectl, kind, cloud-provider-kind, mkcert and helm installed Install cloud-provider-kind with brew install cloud-provider-kind and run it with sudo DOCKER_HOST=$DOCKER_HOST cloud-provider-kind. This will start cloud-provider which will create small proxy container for each LoadBalancer service in kind cluster. create kind cluster: kind create cluster

Caveats

Lima-vm

If running with cloud-provider-kind due to lima-vm/lima#4138 it may be needed to switch to SSH portForwarder before starting lima:

export LIMA_SSH_PORT_FORWARDER=true

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages