Edit Configurations->Environment Variables
- DB_HOST: localhost:3306
- DB_NAME: "your db name"
- username: "your username"
- password: "your password"
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Data JPA
- ng build
FROM nginx:alpine COPY /dist/angular-k8s-deployment /usr/share/nginx/html
- docker build -t angular_k8s_deployment:1.0 .
-
kubectl apply -f ng-deployment.yaml
-
kubectl get pods
-
kubectl get deployment
-
kubectl get services
-
kubectl get nodes -o wide (get internal-ip)
- kubectl delete pods --all
- kubectl delete deployment --all
- kubectl delete services --all