You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sgoudham 70cc755fde
feat: add k8s config
Co-authored-by: winston <hey@winston.sh>
2 years ago
..
README.md feat: add k8s config 2 years ago
deployment.yaml feat: add k8s config 2 years ago
ingress.yaml feat: add k8s config 2 years ago
service.yaml feat: add k8s config 2 years ago

README.md

Setup

  1. kubectl create namespace website
  2. kubectl create deployment website --image sgoudham/website:latest --port 3000
  3. kubectl expose deployment website --port 3000
  4. kubectl create ingress website --rule=goudham.com/\*=website:3000,tls
  5. kubectl get deployment.apps website -o yaml > deployment.yaml
  6. kubectl get services website -o yaml > service.yaml
  7. kubectl get ingress website -o yaml > ingress.yaml