Skip to content

Latest commit

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

Deploy java-patterns

java-patterns k8s manifests:

Deploy java-patterns in the webapp namespace:

$ kubectl apply -f ./common
$ kubectl apply -f ./backend

Deploy java-patterns in the dev namespace:

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

Deploy java-patterns in the staging namespace:

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

Deploy java-patterns in the prod namespace:

$ kustomize build ./overlays/prod | kubectl apply -f-

Testing Locally Using Kind

NOTE: You can install kind from here

The following will create a new cluster called "java-patterns" 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