k8s config files for the projects:
Related docker images:
Will be used with k8s π’ and argocd setup π¦.
Project structure:
argocd
contains config files for setting up argo cd:
kubectl apply -f argocd/application-via-helm.yaml
kubectl apply -f argocd/application.yaml
kubernetes-tiny-api
contains k8s config files for tiny-api deployment (with ingress
)kubernetes-tiny-api-with-lb-svc
contains k8s config files for tiny-api deployment (with service of type LoadBalancer)kubernetes-tiny-web-client
contains k8s config files for tiny-api web client (vue/vuetify web app) deployment (with ingress
)kubernetes-tiny-web-client-with-lb-svc
contains k8s config files for tiny-api web client (vue/vuetify web app) deployment (with service of type LoadBalancer)kubernetes-dashboard
contains some config files for k8s dashboard with necessary permissions for dash to be able to have full access to the clustercharts
contains packaged helm chartstiny-api-chart
contains helm chart project for tiny-api
./tiny-api-chart/Chart.yaml
helm package tiny-api-chart
./charts
folder (e.g. mv tiny-api-chart*.tgz charts
)helm repo index . --url https://2beens.github.io/tiny-api-k8s/
index.yaml
required config for the helm repo that is served via github pages ...
source:
repoURL: https://github.com/2beens/tiny-api-k8s.git
targetRevision: HEAD
path: tiny-api-chart
helm:
valueFiles:
- values.yaml
...
π¨ does not work
Experiment with:
To achieve that, create another tiny service, which communicates with this one via GRPc. This one will send it some data (via GRPc), which the tiny service will store into DB (mongo) (basically CRUD operations on some data). Some data will be simple stock exchange data (stocks and updates of their price).