Files
podinfo/deploy
Deavon M. McCaffery 411bce81c0 build: update e2e tests to validate secure-port
* pull out script blocks into `hack` path
* update e2e workflow to use scripts in `hack`
* install cert manager and self-signed cluster issuer in e2e
* deploy podinfo with secure port and certificate enabled
* add `hack/e2e.sh` script, which can be used to execute the github
  workflow locally
2020-11-19 03:04:36 +00:00
..
2020-10-28 11:43:11 +02:00
2020-05-16 09:53:17 +03:00
2020-10-28 11:43:11 +02:00

Deploy demo webapp

Demo webapp manifests:

Deploy the demo in webapp namespace:

kubectl apply -f ./webapp/common
kubectl apply -f ./webapp/backend
kubectl apply -f ./webapp/frontend

Deploy the demo in the dev namespace:

kustomize build ./overlays/dev | kubectl apply -f-

Deploy the demo in the staging namespace:

kustomize build ./overlays/staging | kubectl apply -f-

Deploy the demo in the production namespace:

kustomize build ./overlays/production | kubectl apply -f-

Testing Locally Using Kind

NOTE: You can install kind from here

The following will create a new cluster called "podinfo" and configure host ports on 80 and 443. You can access the endpoints on localhost. The example also deploys cert-manager within the cluster along with a self-signed cluster issuer used to generate the certificate to validate the secure port.

./kind.sh