Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabriziocafolla/microk8s-base-microservices
https://github.com/fabriziocafolla/microk8s-base-microservices
kubernetes microk8s microk8s-demo microservice service-mesh
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabriziocafolla/microk8s-base-microservices
- Owner: FabrizioCafolla
- Created: 2022-07-06T16:08:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T16:09:29.000Z (over 2 years ago)
- Last Synced: 2024-11-02T22:42:18.322Z (about 2 months ago)
- Topics: kubernetes, microk8s, microk8s-demo, microservice, service-mesh
- Language: Smarty
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Requirements
- Ubuntu / Linux distro
- microk8s# Start local env
### Setup cluster
sudo snap install microk8s --classic
microk8s status --wait-ready
microk8s enable dashboard dns registry istio helm3 storage ingress### Host
Add **127.0.0.1 app.local** to /etc/hosts
### Create Cert
microk8s helm3 repo add jetstack https://charts.jetstack.io
microk8s helm3 repo update
microk8s kubectl create namespace cert-manager
microk8s kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.2/cert-manager.crds.yaml
microk8s kubectl apply -f ca.yml -n microservices
openssl genrsa -out ca.key 2048 ; openssl req -x509 -new -nodes -days 365 -key ca.key -out ca.crt -subj "/CN=app.local" -addext "subjectAltName = DNS:app.local"
microk8s kubectl create secret tls default-tls-secret -n microservices --key ca.key --cert ca.crt### Up
microk8s helm3 install one -n microservices base/ --values values.yml --debug
microk8s helm3 install two -n microservices base/ --values values.yml --debug
microk8s helm3 install three -n microservices base/ --values values.yml --debug
microk8s kubectl apply -f ingress.yml -n microservices### Monitoring
microk8s dashboard-proxy