Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prabaprakash/kubernetes-with-serivce-mesh
Setup the Kube environment with few Web apps
https://github.com/prabaprakash/kubernetes-with-serivce-mesh
docker kubernetes kubernetes-cluster microservice nginx
Last synced: 3 days ago
JSON representation
Setup the Kube environment with few Web apps
- Host: GitHub
- URL: https://github.com/prabaprakash/kubernetes-with-serivce-mesh
- Owner: prabaprakash
- Created: 2019-10-07T15:10:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T09:06:42.000Z (over 5 years ago)
- Last Synced: 2024-11-14T15:45:00.812Z (2 months ago)
- Topics: docker, kubernetes, kubernetes-cluster, microservice, nginx
- Language: Shell
- Size: 210 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Be ready with Digitial Ocean Kubernetes with 1 master and 1 node
[![React Json Dynamic Forms](https://raw.githubusercontent.com/prabaprakash/Kubernetes-With-Serivce-Mesh/master/service_mesh.png)](https://youtu.be/vRhaYKEewHI)
# 0. Installing Nginx Ingress
`$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.24.1/deploy/mandatory.yaml`
`$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.24.1/deploy/provider/cloud-generic.yaml`
`$ kubectl get svc --namespace=ingress-nginx`
TLS
`kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.8/deploy/manifests/00-crds.yaml`
`kubectl label namespace kube-system certmanager.k8s.io/disable-validation="true"`
`helm repo add jetstack https://charts.jetstack.io`
`helm install --name cert-manager --namespace kube-system jetstack/cert-manager --version v0.8.0`
for more checkout https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-with-cert-manager-on-digitalocean-kubernetes
# 1. Echo APP
`$ cd 1. Echo APP`
`$ kubectl apply -f deployment.yaml`
`$ kubectl apply -f service.yaml`
`$ kubectl apply -f ingress.yaml`
# 2. Node APP
`$ cd 2. Node APP`
`$ kubectl apply -f deployment.yaml`
`$ kubectl apply -f service.yaml`
`$ kubectl apply -f ingress.yaml`
# 3. Cloud Torrent
`$ cd 3. Cloud Torrent`
`$ cd volume`
`$ kubectl apply -f 1.pod.yaml`
`$ kubectl apply -f 2.service.yaml`
`$ kubectl apply -f 3.persistantVolume.yaml`
`$ kubectl apply -f 4.persistantVolumeClaim`
`$ cd ..`
`$ kubectl apply -f deployment.yaml`
`$ kubectl apply -f service.yaml`
`$ kubectl apply -f ingress.yaml`
# Kubectl Get Nodes
`kubectl --kubeconfig="k8s-cluster-kubeconfig.yaml" get nodes`
# Kubectl Delete All
`kubectl delete daemonsets,replicasets,services,deployments,pods,rc --all`
`kubectl delete configmaps --all`
`kubectl delete crds kubectl get crds | grep 'istio.io' | awk '{print $1, $8}`
`kubectl delete ingress --all`
`kubectl delete pvc pv --all`