PKS Demo
App uses MySQL service.
$ ./mvnw spring-boot:run
- Repo - https://github.com/Pivotal-Field-Engineering/pcf-ers-demo
- docker build -f Dockerfile -t pks-demo .
- docker run -it --rm -p 80:8080 pks-demo
- docker tag pks-demo harbor.caas.pez.pivotal.io/hemanth/pks-demo
- docker push harbor.caas.pez.pivotal.io/hemanth/pks-demo
- helm lint
- helm install ins1 pks-demo --debug --dry-run > delete.yaml
- helm install ins1 pks-demo
- Create DNS for Ingress
- openssl req -x509
-nodes -newkey rsa:4096
-keyout KEY-PATH.pem
-out CERT-PATH.pem
-days 365
-subj "/CN=*.user1.caas.pez.pivotal.io" - kubectl create secret tls INGRESS-CERT --key KEY-PATH.pem --cert CERT-PATH.pem
- kubectl --namespace default port-forward ins1-pks-demo-7fcbb8c5d4-gtlts 8090:8080
- http://localhost:8090/
- fly -t caas login -c https://concourse.caas.pez.pivotal.io/