styled-quotes
k8s manifests:
Deploy styled-quotes
in the webapp
namespace:
$ kubectl apply -f ./common
$ kubectl apply -f ./backend
Deploy styled-quotes
in the dev
namespace:
$ kustomize build ./overlays/dev | kubectl apply -f-
Deploy styled-quotes
in the staging
namespace:
$ kustomize build ./overlays/staging | kubectl apply -f-
Deploy styled-quotes
in the prod
namespace:
$ kustomize build ./overlays/prod | kubectl apply -f-
NOTE: You can install kind from here
The following will create a new cluster called "styled-quotes" and configure host ports on 8000 and 8443. 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