Skip to content

Files

Latest commit

author
Alexander Rogalskiy
Sep 7, 2021
6d1c49e · Sep 7, 2021

History

History

k8s

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 7, 2021
Aug 11, 2021
Aug 11, 2021
Aug 11, 2021
Aug 11, 2021
Aug 11, 2021

Deploy android-patterns

android-patterns k8s manifests:

Deploy android-patterns in the webapp namespace:

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

Deploy android-patterns in the dev namespace:

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

Deploy android-patterns in the staging namespace:

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

Deploy android-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 "android-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